Пример #1
0
 private void UseItem(Obj_AI_Base Target, bool IsFarm = false)
 {
     if (Bilgewater.IsReady() && !IsFarm)
     {
         Bilgewater.Cast(Target);
     }
     if (BladeRuined.IsReady() && !IsFarm)
     {
         BladeRuined.Cast(Target);
     }
     if (Tiamat.IsReady() && IsFarm ? Player.Distance3D(Target) <= Tiamat.Range : Player.CountEnemysInRange((int)Tiamat.Range) >= 1)
     {
         Tiamat.Cast();
     }
     if (Hydra.IsReady() && IsFarm ? Player.Distance3D(Target) <= Hydra.Range : (Player.CountEnemysInRange((int)Hydra.Range) >= 2 || (Player.GetAutoAttackDamage(Target, true) < Target.Health && Player.CountEnemysInRange((int)Hydra.Range) == 1)))
     {
         Hydra.Cast();
     }
     if (RanduinOmen.IsReady() && Player.CountEnemysInRange((int)RanduinOmen.Range) >= 1 && !IsFarm)
     {
         RanduinOmen.Cast();
     }
     if (Youmuu.IsReady() && Player.CountEnemysInRange((int)Orbwalk.GetAutoAttackRange()) >= 1 && !IsFarm)
     {
         Youmuu.Cast();
     }
 }
Пример #2
0
 private void UseItem(Obj_AI_Base Target)
 {
     if (Bilgewater.IsReady())
     {
         Bilgewater.Cast(Target);
     }
     if (BladeRuined.IsReady())
     {
         BladeRuined.Cast(Target);
     }
     if (RanduinOmen.IsReady() && Player.CountEnemysInRange((int)RanduinOmen.Range) >= 1)
     {
         RanduinOmen.Cast();
     }
 }
Пример #3
0
 private void UseItem(Obj_AI_Base Target)
 {
     if (Bilgewater.IsReady())
     {
         Bilgewater.Cast(Target);
     }
     if (BladeRuined.IsReady())
     {
         BladeRuined.Cast(Target);
     }
     if (Youmuu.IsReady() && Player.CountEnemysInRange((int)Orbwalk.GetAutoAttackRange()) >= 1)
     {
         Youmuu.Cast();
     }
 }
Пример #4
0
 private void UseItem(Obj_AI_Base Target)
 {
     if (Deathfire.IsReady())
     {
         Deathfire.Cast(targetObj);
     }
     if (Blackfire.IsReady())
     {
         Blackfire.Cast(targetObj);
     }
     if (Bilgewater.IsReady())
     {
         Bilgewater.Cast(Target);
     }
     if (HexGun.IsReady())
     {
         HexGun.Cast(Target);
     }
     if (BladeRuined.IsReady())
     {
         BladeRuined.Cast(Target);
     }
 }