Пример #1
0
        public static void Execute()
        {
            if (MyTargetSelector.Target != null && MyTargetSelector.Target.IsInEnemyTurret() && Util.MyHero.IsInEnemyTurret())
            {
                Champion.DisableFishBones();
                return;
            }
            var t = AttackableUnits.GetBestFishBonesTarget();

            if ((t.List.Count > 1 && t.CanAutoAttack()) || (Champion.ManualSwitch && t.List.Count > 0))
            {
                Champion.EnableFishBones(t.Target);
            }
            else
            {
                if (Orbwalker.LastHitMinion == null && !Orbwalker.ShouldWait && MyTargetSelector.Target != null && Util.MyHero.Distance(Util.MousePos, true) >= Util.MousePos.Distance(MyTargetSelector.Target, true) && Util.MyHero.IsInRange(MyTargetSelector.Target, MyTargetSelector.AaRange) && ModeManager.CanUseQ)
                {
                    Champion.EnableFishBones(MyTargetSelector.FishBonesTarget);
                }
                else
                {
                    Champion.DisableFishBones();
                }
            }
        }
Пример #2
0
 public static void Execute()
 {
     if (MenuManager.Menu.GetCheckBoxValue("Farming.Q"))
     {
         if (!Combo.CanUseQ || (MyTargetSelector.Target.IsInEnemyTurret() && Util.MyHero.IsInEnemyTurret()))
         {
             Champion.DisableFishBones();
             return;
         }
         var t = LastHit.AttackableUnits.GetBestFishBonesTarget();
         if (t.List.Count > 1)
         {
             Champion.EnableFishBones(t.Target);
         }
         else
         {
             t = AttackableUnits.GetBestFishBonesTarget();
             if (t.List.Count > 2 && t.CanAutoAttack())
             {
                 Champion.EnableFishBones(t.Target);
             }
             else
             {
                 Champion.DisableFishBones();
             }
         }
     }
     else
     {
         Orbwalker.ForcedTarget = null;
     }
 }
Пример #3
0
 public static void Execute()
 {
     if (Menu.Slider("LaneClear.Q") > 0)
     {
         if (!Combo.CanUseQ || (MyTargetSelector.Target.IsInEnemyTurret() && Util.MyHero.IsInEnemyTurret()))
         {
             Champion.DisableFishBones();
             return;
         }
         var t = LastHit.AttackableUnits.GetBestFishBonesTarget();
         if (t.List.Count >= Menu.Slider("LastHit.Q"))
         {
             Champion.EnableFishBones(t.Target);
         }
         else
         {
             t = AttackableUnits.GetBestFishBonesTarget();
             if (t.List.Count >= Menu.Slider("LaneClear.Q") && t.CanAutoAttack())
             {
                 Champion.EnableFishBones(t.Target);
             }
             else
             {
                 Champion.DisableFishBones();
             }
         }
     }
     else
     {
         Orbwalker.ForcedTarget = null;
     }
 }
Пример #4
0
        public static void Execute()
        {
            var isValidTarget = MyTargetSelector.Target != null;

            if (isValidTarget)
            {
                CanUseQ = Util.MyHero.Mana >= SpellSlot.W.Mana() + (SpellSlot.E.IsLearned() ? SpellSlot.E.Mana() : 0f) + (SpellSlot.R.IsLearned() ? SpellSlot.R.Mana() : 0f);
                CanUseW = Util.MyHero.Mana >= (SpellSlot.W.Mana() + (SpellSlot.R.IsLearned() ? SpellSlot.R.Mana() : 0f) + 20);
                CanUseE = Util.MyHero.Mana >= SpellSlot.E.Mana() + (SpellSlot.R.IsLearned() ? SpellSlot.R.Mana() : 0f);
                if (MyTargetSelector.PowPowTarget == null && CanUseW && Menu.CheckBox("W"))
                {
                    SpellManager.CastW(MyTargetSelector.Target);
                }
                if (CanUseE)
                {
                    if (Menu.CheckBox("E"))
                    {
                        SpellManager.CastESlowed(MyTargetSelector.Target);
                    }
                    if (Menu.Slider("E.Aoe") > 0)
                    {
                        SpellManager.CastAoeE(Menu.Slider("E.Aoe"));
                    }
                }
                ItemManager.UseOffensiveItems(MyTargetSelector.FishBonesTarget);
            }
            if (!isValidTarget)
            {
                Champion.DisableFishBones();
                return;
            }
            var t = HeroesInFishBonesRange.GetBestFishBonesTarget();

            if (t.List.Count >= Menu.Slider("Q.Aoe") && t.CanAutoAttack())
            {
                Champion.EnableFishBones(t.Target);
            }
            else
            {
                //if (!MyTargetSelector.Target.IdEquals(MyTargetSelector.PowPowTarget) || Champion.PowPowBuffCount == 3)
                if (!MyTargetSelector.Target.IdEquals(MyTargetSelector.PowPowTarget) && Menu.CheckBox("Q") && CanUseQ)
                {
                    Champion.EnableFishBones(MyTargetSelector.FishBonesTarget);
                }
                else
                {
                    Champion.DisableFishBones();
                }
            }
        }
Пример #5
0
        public static void Execute()
        {
            var isValidTarget = MyTargetSelector.Target != null;

            if (isValidTarget)
            {
                if (MyTargetSelector.PowPowTarget == null && ModeManager.CanUseW && Menu.CheckBox("W"))
                {
                    SpellManager.CastW(MyTargetSelector.Target);
                }
                if (ModeManager.CanUseE)
                {
                    if (Menu.CheckBox("E"))
                    {
                        SpellManager.CastESlowed(MyTargetSelector.Target);
                    }
                    if (Menu.Slider("E.Aoe") > 0)
                    {
                        SpellManager.CastAoeE(Menu.Slider("E.Aoe"));
                    }
                }
                ItemManager.UseOffensiveItems(MyTargetSelector.FishBonesTarget);
            }
            if (!isValidTarget && !Champion.ManualSwitch)
            {
                Champion.DisableFishBones();
                return;
            }
            var t = HeroesInFishBonesRange.GetBestFishBonesTarget();

            if ((t.List.Count >= Menu.Slider("Q.Aoe") && t.CanAutoAttack()) || (Champion.ManualSwitch && t.List.Count > 0))
            {
                Champion.EnableFishBones(t.Target);
            }
            else
            {
                //if (!MyTargetSelector.Target.IdEquals(MyTargetSelector.PowPowTarget) || Champion.PowPowBuffCount == 3)
                if (!MyTargetSelector.Target.IdEquals(MyTargetSelector.PowPowTarget) && Menu.CheckBox("Q") && ModeManager.CanUseQ)
                {
                    Champion.EnableFishBones(MyTargetSelector.FishBonesTarget);
                }
                else
                {
                    Champion.DisableFishBones();
                }
            }
        }
Пример #6
0
 public static void Execute()
 {
     RKillableBases.Clear();
     RHittableBases.Clear();
     RDamageOnEnemies.Clear();
     UsingQ = false;
     if (SpellSlot.R.IsReady() && Util.MyHero.Mana >= SpellSlot.R.Mana())
     {
         foreach (var killableEnemy in MyTargetSelector.ValidEnemies)
         {
             SpellManager.CheckRKillable(killableEnemy);
         }
         var validBases = RHittableBases.Where(v => !(Core.GameTickCount - SpellManager.WLastCastTime <= 600 || Core.GameTickCount - SpellManager.WCastSpellTime < 100 ||
                                                      (SpellManager.WMissile != null &&
                                                       Util.MyHero.Distance(SpellManager.WMissile, true) <= Util.MyHero.Distance(v, true)))).ToList();
         if (validBases.Any())
         {
             var bestKillable = validBases.OrderBy(h => Util.MyHero.Distance(h, true)).FirstOrDefault();
             SpellManager.R.Cast(bestKillable);
         }
     }
     if (MenuManager.Menu.GetCheckBoxValue("KillSteal"))
     {
         foreach (var enemy in MyTargetSelector.ValidEnemiesInRange.Where(m => m.HealthPercent < 40))
         {
             var result = enemy.GetBestCombo();
             if (result.IsKillable)
             {
                 if (result.CanKillWith(SpellSlot.Q) && enemy.IsInFishBonesRange())
                 {
                     UsingQ = true;
                     Champion.EnableFishBones(enemy);
                 }
                 else if (result.CanKillWith(SpellSlot.W))
                 {
                     SpellManager.CastW(enemy);
                 }
                 if (result.CanKillWith(SpellSlot.E))
                 {
                     SpellManager.CastESlowed(enemy);
                 }
             }
         }
     }
 }
Пример #7
0
 public static void Execute()
 {
     if (Menu.Slider("LastHit.Q") > 0)
     {
         if ((!ModeManager.CanUseQ || (MyTargetSelector.Target.IsInEnemyTurret() && Util.MyHero.IsInEnemyTurret())) && !Champion.ManualSwitch)
         {
             Champion.DisableFishBones();
             return;
         }
         var t = AttackableUnits.GetBestFishBonesTarget();
         if ((t.List.Count >= Menu.Slider("LastHit.Q") && t.CanAutoAttack()) || (Champion.ManualSwitch && t.List.Count > 0))
         {
             Champion.EnableFishBones(t.Target);
         }
         else
         {
             Champion.DisableFishBones();
         }
     }
     else
     {
         Orbwalker.ForcedTarget = null;
     }
 }
Пример #8
0
 public static void Execute()
 {
     if (MenuManager.Menu.GetCheckBoxValue("Farming.Q"))
     {
         if (!Combo.CanUseQ)
         {
             Champion.DisableFishBones();
             return;
         }
         var t = Minions.GetBestFishBonesTarget();
         if (t.List.Count > 1)
         {
             Champion.EnableFishBones(t.Target);
         }
         else
         {
             Champion.DisableFishBones();
         }
     }
     else
     {
         Orbwalker.ForcedTarget = null;
     }
 }
Пример #9
0
 public static void Execute()
 {
     if (Menu.Slider("JungleClear.Q") > 0)
     {
         if (!Combo.CanUseQ)
         {
             Champion.DisableFishBones();
             return;
         }
         var t = Minions.GetBestFishBonesTarget();
         if (t.List.Count >= Menu.Slider("JungleClear.Q"))
         {
             Champion.EnableFishBones(t.Target);
         }
         else
         {
             Champion.DisableFishBones();
         }
     }
     else
     {
         Orbwalker.ForcedTarget = null;
     }
 }
 public static void Execute()
 {
     if (Menu.Slider("JungleClear.Q") > 0)
     {
         if (!ModeManager.CanUseQ && !Champion.ManualSwitch)
         {
             Champion.DisableFishBones();
             return;
         }
         var t = Minions.GetBestFishBonesTarget();
         if (t.List.Count >= Menu.Slider("JungleClear.Q") || (Champion.ManualSwitch && t.List.Count > 0))
         {
             Champion.EnableFishBones(t.Target);
         }
         else
         {
             Champion.DisableFishBones();
         }
     }
     else
     {
         Orbwalker.ForcedTarget = null;
     }
 }