🐛 fix const effect with wisdom

This commit is contained in:
WEBXOSS 2017-08-21 03:25:17 +08:00
parent c537571c71
commit 04566e53c5

View file

@ -8,6 +8,7 @@ function ConstEffect (constEffectManager,cfg) {
this.destroyTimmings = concat(cfg.destroyTimming || []);
// this.triggerTimmings = concat(cfg.triggerTimming || []);
this.cross = cfg.cross;
this.wisdom = cfg.wisdom;
this.condition = cfg.condition;
this.action = cfg.action;
this.fixed = !!cfg.fixed; // 表示只进行一次计算,此后不发生变化