예제 #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 (Menu.Slider("LaneClear.Q") > 0)
     {
         if ((!ModeManager.CanUseQ || (MyTargetSelector.Target.IsInEnemyTurret() && Util.MyHero.IsInEnemyTurret())) && !Champion.ManualSwitch)
         {
             Champion.DisableFishBones();
             return;
         }
         var t = LastHit.AttackableUnits.GetBestFishBonesTarget();
         if (t.List.Count >= Menu.Slider("LastHit.Q") || (Champion.ManualSwitch && t.List.Count > 0))
         {
             Champion.EnableFishBones(t.Target);
         }
         else
         {
             t = AttackableUnits.GetBestFishBonesTarget();
             if ((t.List.Count >= Menu.Slider("LaneClear.Q") && t.CanAutoAttack()) || (Champion.ManualSwitch && t.List.Count > 0))
             {
                 Champion.EnableFishBones(t.Target);
             }
             else
             {
                 Champion.DisableFishBones();
             }
         }
     }
     else
     {
         Orbwalker.ForcedTarget = null;
     }
 }
예제 #3
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();
                }
            }
        }
예제 #4
0
 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;
     }
 }