예제 #1
0
        internal static void Jungle()
        {
            foreach (
                var minion in
                ObjectManager.Get <Obj_AI_Minion>()
                .Where(x => ES.MinionList.Any(y => x.Name.StartsWith(y) && !x.Name.Contains("Mini"))))
            {
                if (minion.IsValidTarget(850))
                {
                    CM.CastJavelin(minion, "jg");
                    CM.CastBushwack(minion, "jg");
                    CM.CastTakedown(minion, "jg");
                    CM.CastPounce(minion, "jg");
                    CM.CastSwipe(minion, "jg");
                    CM.SwitchForm(minion, "jg");
                    return;
                }
            }

            foreach (var minion in ObjectManager.Get <Obj_AI_Minion>().Where(x => !x.IsMinion))
            {
                if (minion.IsValidTarget(850))
                {
                    CM.CastJavelin(minion, "jg");
                    CM.CastBushwack(minion, "jg");
                    CM.CastTakedown(minion, "jg");
                    CM.CastPounce(minion, "jg");
                    CM.CastSwipe(minion, "jg");
                    CM.SwitchForm(minion, "jg");
                }
            }
        }
예제 #2
0
 internal static void Combo()
 {
     CM.CastJavelin(TargetSelector.GetTarget(ES.Spells["Javelin"].Range, TargetSelector.DamageType.Magical), "co");
     CM.CastBushwack(TargetSelector.GetTarget(ES.Spells["Bushwhack"].Range, TargetSelector.DamageType.Magical), "co");
     CM.CastTakedown(TargetSelector.GetTarget(ES.Spells["Takedown"].Range, TargetSelector.DamageType.Magical), "co");
     CM.CastPounce(TargetSelector.GetTarget(ES.Spells["ExPounce"].Range, TargetSelector.DamageType.Magical), "co");
     CM.CastSwipe(TargetSelector.GetTarget(ES.Spells["Swipe"].Range, TargetSelector.DamageType.Magical), "co");
     CM.SwitchForm(TargetSelector.GetTarget(ES.Spells["Javelin"].Range, TargetSelector.DamageType.Magical), "co");
 }
예제 #3
0
 internal static void WaveClear()
 {
     foreach (
         var minion in
         ES.MinionCache.Values.Where(
             x => x.IsMinion && x.IsValid && x.Distance(Player.ServerPosition) <= 850))
     {
         CM.CastJavelin(minion, "wc");
         CM.CastBushwack(minion, "wc");
         CM.CastTakedown(minion, "wc");
         CM.CastPounce(minion, "wc");
         CM.CastSwipe(minion, "wc");
         CM.SwitchForm(minion, "wc");
     }
 }