1
0
mirror of https://github.com/exane/not-gwent-online synced 2024-11-23 19:36:53 +00:00

fix weather bug

This commit is contained in:
exane 2015-06-26 08:29:01 +02:00
parent c93b5985d9
commit 83c44a18d2
3 changed files with 11 additions and 19 deletions

View File

@ -64,24 +64,15 @@ var Battle = (function(){
this.p1.draw(10); this.p1.draw(10);
this.p2.draw(10); this.p2.draw(10);
/*this.p1.hand.add(Card("poor_fucking_infantry")); /* this.p1.hand.add(Card("impenetrable_fog"));
this.p2.hand.add(Card("poor_fucking_infantry")); this.p2.hand.add(Card("impenetrable_fog"));
this.p1.hand.add(Card("poor_fucking_infantry")); this.p1.hand.add(Card("biting_frost"));
this.p2.hand.add(Card("poor_fucking_infantry")); this.p2.hand.add(Card("biting_frost"));
this.p1.hand.add(Card("poor_fucking_infantry")); this.p1.hand.add(Card("torrential_rain"));
this.p2.hand.add(Card("poor_fucking_infantry")); this.p2.hand.add(Card("torrential_rain"));
this.p1.hand.add(Card("poor_fucking_infantry")); this.p1.hand.add(Card("clear_weather"));
this.p2.hand.add(Card("poor_fucking_infantry")); this.p2.hand.add(Card("clear_weather"));*/
this.p1.hand.add(Card("poor_fucking_infantry"));
this.p2.hand.add(Card("poor_fucking_infantry"));
this.p1.hand.add(Card("poor_fucking_infantry"));
this.p2.hand.add(Card("poor_fucking_infantry"));
this.p1.hand.add(Card("poor_fucking_infantry"));
this.p2.hand.add(Card("poor_fucking_infantry"));
this.p1.hand.add(Card("poor_fucking_infantry"));
this.p2.hand.add(Card("poor_fucking_infantry"));
this.p1.hand.add(Card("poor_fucking_infantry"));
this.p2.hand.add(Card("poor_fucking_infantry"));*/
this.update(); this.update();

View File

@ -567,6 +567,7 @@ Battleside = (function(){
r.resetNewRound = function(){ r.resetNewRound = function(){
this.clearMainFields(); this.clearMainFields();
this.setWeather(5); //clear weather
this.setPassing(false); this.setPassing(false);
} }