Beispiel #1
0
        private static void Harass()
        {
            if (Target == null || !Target.IsValidTarget(Spells.E.Range))
            {
                return;
            }

            if (Dmg.Stacks(Target) >= MenuConfig.HarassE && Target.Distance(Player) >= Player.AttackRange + 50)
            {
                E.Cast();
            }

            if (!MenuConfig.HarassW || !Spells.W.IsReady())
            {
                return;
            }

            W.Cast(Target.Position);
        }
Beispiel #2
0
        private static void Harass()
        {
            if (Target == null || Target.IsInvulnerable || !Target.LSIsValidTarget())
            {
                return;
            }

            if (Dmg.Stacks(Target) >= MenuConfig.HarassE && Target.Distance(Player) >= Player.AttackRange + 50)
            {
                E.Cast();
            }

            if (!MenuConfig.HarassW)
            {
                return;
            }

            var wPred = W.GetPrediction(Target).CastPosition;

            W.Cast(wPred);
        }
Beispiel #3
0
        public static void Update(EventArgs args)
        {
            if (!MenuConfig.EBeforeDeath)
            {
                return;
            }
            if (!Spells.E.IsReady())
            {
                return;
            }

            var target = GameObjects.EnemyHeroes.FirstOrDefault(x => x.LSIsValidTarget(1200) && Dmg.Stacks(x) > 0 && !x.IsDead && !x.IsInvulnerable);

            if (target == null)
            {
                return;
            }

            if (GameObjects.Player.HealthPercent <= 8)
            {
                Spells.E.Cast();
            }
        }