Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        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;
        }
Exemplo n.º 4
0
        public override void ResolveReduplication(Creature target, Performable effect)
        {
            TimedEffect tE = effect as TimedEffect;

            this.timeToEnd += tE.duration;
        }