public virtual void ResolveReduplication(Creature target, Performable performable) { BasicEffect effect = performable as BasicEffect; basicEffect.EndEffectAction(target); this.valueAfterProtections += EffectController.instance.ApplyProtections(target, effect); basicEffect.ApplyEffectAction(target, valueAfterProtections); }
public virtual void ResolveReduplication(Creature target, Performable performable) { Protection prot = performable as Protection; this.value += prot.baseValue; if ((value) > 100) { this.value = 100; } }
public override void ResolveReduplication(Creature target, Performable performable) { TimedProtection tp = performable as TimedProtection; this.timeToEnd += tp.duration; }
public override void ResolveReduplication(Creature target, Performable effect) { TimedEffect tE = effect as TimedEffect; this.timeToEnd += tE.duration; }