mirror of
https://github.com/exane/not-gwent-online
synced 2024-10-31 10:36:53 +00:00
fix weather bug
This commit is contained in:
parent
c93b5985d9
commit
83c44a18d2
@ -308,7 +308,7 @@ let BattleView = Backbone.View.extend({
|
|||||||
if(this.user.get("waiting")) return;
|
if(this.user.get("waiting")) return;
|
||||||
this.user.set("passing", true);
|
this.user.set("passing", true);
|
||||||
this.user.get("app").send("set:passing");
|
this.user.get("app").send("set:passing");
|
||||||
},
|
},
|
||||||
onClick: function(e){
|
onClick: function(e){
|
||||||
if(!!this.user.get("waiting")) return;
|
if(!!this.user.get("waiting")) return;
|
||||||
if(!!this.user.get("passing")) return;
|
if(!!this.user.get("passing")) return;
|
||||||
|
@ -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();
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user