private void OnUpdate(EventArgs args) { if (!CheckGuardians() || Minion == null || Menu.Item("Xerath.Lane.W.Mana").GetValue <Slider>().Value > ObjectManager.Player.ManaPercent || (Menu.Item("Xerath.Lane.W.Enemies").GetValue <bool>() && ObjectManager.Player.CountEnemiesInRange(1400) >= 1)) { return; } var pred = spell.Spell.GetCircularFarmLocation((List <Obj_AI_Base>)Minion); if (pred.MinionsHit < Menu.Item("Xerath.Lane.W.Count").GetValue <Slider>().Value) { return; } foreach (var m in Minion) { if (m.Health > spell.GetDamage(m) && Menu.Item("Xerath.Lane.W.Killable").GetValue <bool>()) { continue; } spell.Spell.Cast(pred.Position); } }
public float GetComboDamage(Obj_AI_Base target) { if (target == null) { return(0); } float comboDmg = 0; if (qSpell.Spell.IsReady()) { comboDmg += qSpell.GetDamage(target); } //if (eSpell.Spell.IsReady()) //{ // comboDmg += eSpell.Spell.GetDamage(target); //} if (eSpell.WStack(target)) { comboDmg += wSpell.GetDamage(target); } comboDmg += (float)ObjectManager.Player.GetAutoAttackDamage(target, true); return(comboDmg); }
public float GetComboDamage(AIHeroClient target) { if (target == null) { return(0); } float comboDmg = 0; if (qSpell.Spell.IsReady()) { comboDmg += qSpell.GetDamage(target); } if (wSpell.Spell.IsReady() || ObjectManager.Player.HasBuff("DrunkenRage")) { comboDmg += wSpell.GetDamage(target) + (float)ObjectManager.Player.GetAutoAttackDamage(target, true); } if (eSpell.Spell.IsReady()) { comboDmg += eSpell.Spell.GetDamage(target); } if (rSpell.Spell.IsReady()) { comboDmg += rSpell.Spell.GetDamage(target); } return(comboDmg); }
public float GetComboDamage(AIHeroClient target) { if (target == null) { return(0); } float comboDmg = 0; if (qSpell.Spell.IsReady()) { comboDmg += qSpell.GetDamage(target); } if (wSpell.Spell.IsReady()) { comboDmg += wSpell.GetDamage(target); } if (eSpell.Spell.IsReady()) { comboDmg += eSpell.Spell.GetDamage(target); } if (rSpell.Spell.IsReady()) { comboDmg += rSpell.Spell.GetDamage(target); } return(comboDmg); }
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.W.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 > wSpell.GetDamage(Target) || !CheckGuardians()) { return; } var qPred = wSpell.Spell.GetPrediction(Target, true); if (qPred.Hitchance > HitChance.Medium) { wSpell.Spell.Cast(Target); } }
private void OnUpdate(EventArgs args) { if (!CheckGuardians() || Mob == null || Menu.Item("Ziggs.Jungle.W.Mana").GetValue <Slider>().Value > ObjectManager.Player.ManaPercent) { return; } if (Mob.Health > spell.GetDamage(Mob) && Menu.Item("Ziggs.Jungle.W.Killable").GetValue <bool>()) { return; } spell.Spell.Cast(Mob); }
private void OnUpdate(EventArgs args) { if (Target == null || Target.Health > wSpell.GetDamage(Target) || !CheckGuardians()) { return; } if (Target.Distance(ObjectManager.Player) <= wSpell.Spell.Range) { var wPred = wSpell.Spell.GetPrediction(Target, true); if (wPred.Hitchance > HitChance.Medium) { wSpell.Spell.Cast(Target); } } }
public float GetComboDamage(AIHeroClient target) { if (target == null) { return(0); } float comboDmg = 0; if (qSpell.Spell.IsReady()) { comboDmg += qSpell.GetDamage(target); } if (wSpell.Spell.IsReady()) { comboDmg += wSpell.GetDamage(target); } if (eSpell.Spell.IsReady()) { comboDmg += eSpell.Spell.GetDamage(target); } if (rSpell.Spell.IsReady()) { comboDmg += rSpell.Spell.GetDamage(target); } if (!ObjectManager.Player.Spellbook.IsAutoAttacking) { comboDmg += (float)ObjectManager.Player.GetAutoAttackDamage(target); } return(comboDmg); }