Exemple #1
0
 public static void KillStealMode()
 {
     if (Manager.killstealQ)
     {
         var target = Target.GetChampionTarget(Spells.Q.Range, DamageType.Magical, false, true, Spells.QDamage());
         if (target != null)
         {
             Spells.CastQ(target);
         }
     }
     if (Manager.killstealW)
     {
         var target = Target.GetChampionTarget(Spells.W.Range, DamageType.Magical, false, false, Spells.WDamage());
         if (target != null)
         {
             Spells.CastW(target);
         }
     }
     if (Manager.killstealE)
     {
         var target = Target.GetChampionTarget(Spells.W.Range, DamageType.Magical, false, false, Spells.WDamage());
         if (target != null)
         {
             Spells.CastE(target);
         }
     }
     if (Manager.killstealR && Champion.CountEnemiesInRange(Spells.R.Range) >= Manager.killsteallimitR && !Champion.IsUnderTurret())
     {
         var target = Target.GetChampionTarget(Spells.R.Range, DamageType.Magical, false, false, Spells.RDamage());
         if (target != null)
         {
             Spells.CastR(target);
         }
     }
 }