1
0
Fork 0

🐛 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.destroyTimmings = concat(cfg.destroyTimming || []);
// this.triggerTimmings = concat(cfg.triggerTimming || []); // this.triggerTimmings = concat(cfg.triggerTimming || []);
this.cross = cfg.cross; this.cross = cfg.cross;
this.wisdom = cfg.wisdom;
this.condition = cfg.condition; this.condition = cfg.condition;
this.action = cfg.action; this.action = cfg.action;
this.fixed = !!cfg.fixed; // 表示只进行一次计算,此后不发生变化 this.fixed = !!cfg.fixed; // 表示只进行一次计算,此后不发生变化