1
0
mirror of https://github.com/exane/not-gwent-online synced 2025-12-11 18:23:07 +00:00

change notification layout

This commit is contained in:
exane
2015-06-30 14:47:09 +02:00
parent 521116027e
commit 6a4ea0ba0e
5 changed files with 41 additions and 17 deletions

View File

@@ -62,6 +62,25 @@ var Battle = (function(){
this.p2.draw(10);
/*this.p1.placeCard("ves");
this.p2.placeCard("ves");
this.p1.placeCard("yarpen_zigrin");
this.p2.placeCard("yarpen_zigrin");
this.p1.hand.add(this.p1.createCard("scorch"));
this.p2.hand.add(this.p2.createCard("scorch"));
this.p1.hand.add(this.p1.createCard("villentretenmerth"));
this.p2.hand.add(this.p2.createCard("villentretenmerth"));
this.p1.hand.add(this.p1.createCard("impenetrable_fog"));
this.p2.hand.add(this.p2.createCard("impenetrable_fog"));
this.p1.hand.add(this.p1.createCard("biting_frost"));
this.p2.hand.add(this.p2.createCard("biting_frost"));
this.p1.hand.add(this.p1.createCard("torrential_rain"));
this.p2.hand.add(this.p2.createCard("torrential_rain"));
this.p1.hand.add(this.p1.createCard("clear_weather"));
this.p2.hand.add(this.p2.createCard("clear_weather"));
*/
this.update();

View File

@@ -594,10 +594,10 @@ Battleside = (function(){
this.battle.sendNotification(this.getName() + " played " + card.getName());
var txt = "Scorch destroyed:\n";
var txt = "Scorch destroyed:";
for (var i = 0; i < removeCards.length; i++) {
var c = removeCards[i];
txt += c.getName() + "\n";
txt += "\n" + c.getName();
}
this.battle.sendNotification(txt);