Пример #1
0
 public override void OnReapply(Targetable target)
 {
     if (target.AlreadyAffected(this, _maxStacks))
     {
         target.AddEffect(this);
     }
 }
Пример #2
0
 public override void ApplyOnTarget(Targetable target)
 {
     if (IsValidTarget(target))
     {
         if (target.AlreadyAffected(this))
         {
             AppliedTime = 0f;
             target.AddEffect(this);
         }
         else
         {
             OnReapply(target);
         }
     }
 }