Example #1
0
 public override void Execute(Obj_AI_Hero target)
 {
     if (_q.OnCooldown() && (!target.IsPoisoned() && !Provider.IsMarked(target)))
     {
         Cast(target);
     }
 }
Example #2
0
 public override void Execute(Obj_AI_Hero target)
 {
     if ((Provider.IsMarked(target) || target.IsPoisoned() && target.GetPoisonedTime() > Delay || (IsKillable(target) && (!OnlyKillNonPIn1V1 || ObjectManager.Player.CountEnemiesInRange(1500) == 1))) && !target.HasSpellShield() && !target.IsBehindWindWall())
     {
         Cast(target);
     }
 }