diff --git a/assets/data/abilities.js b/assets/data/abilities.js index ee4197d..632831b 100644 --- a/assets/data/abilities.js +++ b/assets/data/abilities.js @@ -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": {} } \ No newline at end of file diff --git a/server/Card.js b/server/Card.js index f1c1575..46a6481 100644 --- a/server/Card.js +++ b/server/Card.js @@ -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; }