private void OnUpdate(EventArgs args) { if (!CheckGuardians() || Minion == null || Menu.Item("Example.Lane.E.Mana").GetValue <Slider>().Value > ObjectManager.Player.ManaPercent || (Menu.Item("Example.Lane.E.Enemies").GetValue <bool>() && ObjectManager.Player.CountEnemiesInRange(1400) >= 1)) { return; } var pred = spell.Spell.GetCircularFarmLocation((List <Obj_AI_Base>)Minion); if (pred.MinionsHit < Menu.Item("Example.Lane.E.Count").GetValue <Slider>().Value) { return; } foreach (var m in Minion) { if (m.Health > spell.GetDamage(m) && Menu.Item("Example.Lane.E.Killable").GetValue <bool>()) { continue; } spell.Spell.Cast(pred.Position); } }
private void OnUpdate(EventArgs args) { if (Target == null || Target.Health > spell.GetDamage(Target) || !CheckGuardians()) { return; } spell.Spell.Cast(Target); }
public float GetComboDamage(AIHeroClient target) { if (target == null) { return(0); } return(qSpell.GetDamage(target) + wSpell.GetDamage(target) + eSpell.GetDamage(target) + rSpell.GetDamage(target)); }
private void OnUpdate(EventArgs args) { if (!CheckGuardians() || Target == null || Target.Health > spell.GetDamage(Target) || spell.Prediction(Target).Hitchance < HitChance.High || Menu.Item("Example.Killsteal.E.Mana").GetValue <Slider>().Value > ObjectManager.Player.ManaPercent) { return; } spell.Spell.Cast(spell.Prediction(Target).CastPosition); }
private void OnUpdate(EventArgs args) { if (Target == null || Target.Health > eSpell.GetDamage(Target) || !CheckGuardians()) { return; } var qPred = eSpell.Spell.GetPrediction(Target); if (qPred.Hitchance > HitChance.Medium) { eSpell.Spell.Cast(Target); } }
private void OnUpdate(EventArgs args) { if (Target == null || Target.Health + 45 > spell.GetDamage(Target) * .85 || Menu.Item("Vayne.Killsteal.E.Mana").GetValue <Slider>().Value > ObjectManager.Player.ManaPercent || (Menu.Item("Vayne.Killsteal.E.Proc").GetValue <bool>() && !spell.WStack(Target)) || !CheckGuardians()) { return; } spell.Spell.Cast(Target); }
private void OnUpdate(EventArgs args) { if (!CheckGuardians() || Minion == null || !spell.E1 || (Menu.Item("LeeSin.Lane.E.Enemies").GetValue <bool>() && ObjectManager.Player.CountEnemiesInRange(1400) >= 1) || (Minion.Health > spell.GetDamage(Minion) && spell.E1)) { return; } spell.CastItem(); spell.Spell.Cast(Minion); }
private void OnUpdate(EventArgs args) { if (!CheckGuardians() || Mob == null || Menu.Item("Ziggs.Jungle.E.Mana").GetValue <Slider>().Value > ObjectManager.Player.ManaPercent) { return; } if (Mob.Health > spell.GetDamage(Mob) && Menu.Item("Ziggs.Jungle.E.Killable").GetValue <bool>()) { return; } spell.Spell.Cast(Mob); }
private void OnUpdate(EventArgs args) { if (!CheckGuardians() || Minion == null || Menu.Item("Brand.Lane.E.Mana").GetValue <Slider>().Value > ObjectManager.Player.ManaPercent || (Menu.Item("Brand.Lane.E.Enemies").GetValue <bool>() && ObjectManager.Player.CountEnemiesInRange(1400) >= 1)) { return; } foreach (var m in Minion) { if (m.Health > spell.GetDamage(m) && Menu.Item("Brand.Lane.E.Killable").GetValue <bool>()) { continue; } spell.Spell.Cast(m); } }
private void OnSpellCast(Obj_AI_Base sender, GameObjectProcessSpellCastEventArgs args) { if (!CheckGuardians() || Mob == null || !sender.IsMe || !args.SData.IsAutoAttack()) { return; } foreach (var m in Mob) { if ((Menu.Item("LeeSin.Jungle.E.Killable").GetValue <bool>() && m.Health < spell.GetDamage(m)) || !wSpell.Spell.IsReady() || !spell.E1 && (spell.ShouldE2(m) || spell.PassiveStacks <= 1)) { spell.CastItem(); spell.Spell.Cast(m); } } }