Esempio n. 1
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;
     }
 }
        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();
                }
            }
        }
Esempio n. 3
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;
     }
 }
Esempio n. 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();
                }
            }
        }
        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();
                }
            }
        }
Esempio n. 6
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;
     }
 }
Esempio n. 7
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;
     }
 }
Esempio n. 8
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;
     }
 }