mirror of
https://github.com/exane/not-gwent-online
synced 2024-10-31 10:36:53 +00:00
add dummy event code to prevent crashes
This commit is contained in:
parent
730e8f714a
commit
bb055e0c60
@ -31,7 +31,6 @@ module.exports = {
|
||||
}
|
||||
},
|
||||
"morale_boost": {
|
||||
|
||||
onEachCardPlace: function(card){
|
||||
var field = this.field[card.getType()];
|
||||
var id = card.getID();
|
||||
@ -174,13 +173,37 @@ module.exports = {
|
||||
this.placeCard(card);
|
||||
}
|
||||
},
|
||||
"francesca_leader1": {},
|
||||
"francesca_leader2": {},
|
||||
"francesca_leader3": {},
|
||||
"francesca_leader4": {},
|
||||
"eredin_leader1": {},
|
||||
"eredin_leader2": {},
|
||||
"eredin_leader3": {},
|
||||
"eredin_leader4": {},
|
||||
"francesca_leader1": {
|
||||
onActivate: function(){
|
||||
}
|
||||
},
|
||||
"francesca_leader2": {
|
||||
onActivate: function(){
|
||||
}
|
||||
},
|
||||
"francesca_leader3": {
|
||||
onActivate: function(){
|
||||
}
|
||||
},
|
||||
"francesca_leader4": {
|
||||
onActivate: function(){
|
||||
}
|
||||
},
|
||||
"eredin_leader1": {
|
||||
onActivate: function(){
|
||||
}
|
||||
},
|
||||
"eredin_leader2": {
|
||||
onActivate: function(){
|
||||
}
|
||||
},
|
||||
"eredin_leader3": {
|
||||
onActivate: function(){
|
||||
}
|
||||
},
|
||||
"eredin_leader4": {
|
||||
onActivate: function(){
|
||||
}
|
||||
},
|
||||
"hero": {}
|
||||
}
|
@ -66,13 +66,6 @@ var Card = (function(){
|
||||
r.getRawPower = function(){
|
||||
return this._data.power;
|
||||
}
|
||||
/*r.calculateBoost = function(){
|
||||
this._boost = 0;
|
||||
for(var key in this._boosts) {
|
||||
var boost = this._boosts[key];
|
||||
this.boost(boost.getPower());
|
||||
}
|
||||
}*/
|
||||
r.setForcedPower = function(nr){
|
||||
this._forcedPower = nr;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user