Exemple #1
0
 public override void Remove()
 {
     if (Source.CurHP > 0 || !isPermanent)
     {
         Target.curDmg -= dmgValue;
         if (doubleEdged)
         {
             Source.AddEffect(new DrainingDamage(Source, Target, multiplier, Duration));
             Target.AddEffect(new DamageDrained(Source, Target, multiplier, Duration));
         }
     }
     base.Remove();
 }
Exemple #2
0
 public virtual void Apply()
 {
     Target.AddEffect(EffectData);
     IsEnded = false;
 }
 public override void Effect()
 {
     Target.SetDamage(Damage);
     Target.AddEffect(_effect);
 }