private void Harass() { if (targetObj == null) { return; } if (Config.Item(Name + "useHarW").GetValue <bool>() && SkillW.IsReady()) { if (Config.Item(Name + "useHarQ").GetValue <bool>() && SkillQ.InRange(targetObj.Position) && SkillQ.IsReady()) { SkillW.Cast(PacketCast); } } if (Config.Item(Name + "useHarE").GetValue <bool>() && SkillE.IsReady()) { if (!Player.HasBuff("JaxCounterStrike", true)) { if ((Config.Item(Name + "useHarQ").GetValue <bool>() && SkillQ.InRange(targetObj.Position) && SkillQ.IsReady()) || SkillE.InRange(targetObj.Position)) { SkillE.Cast(PacketCast); } } else if (SkillE.InRange(targetObj.Position) && !targetObj.IsValidTarget(SkillE.Range - 3.5f)) { SkillE.Cast(PacketCast); } } if (Config.Item(Name + "useHarQ").GetValue <bool>() && SkillQ.IsReady() && SkillQ.InRange(targetObj.Position) && Player.Health * 100 / Player.MaxHealth >= Config.Item(Name + "harMode").GetValue <Slider>().Value) { if ((Config.Item(Name + "useHarE").GetValue <bool>() && SkillE.IsReady() && Player.HasBuff("JaxCounterStrike", true) && !SkillE.InRange(targetObj.Position)) || (!LXOrbwalker.InAutoAttackRange(targetObj) && Player.Distance(targetObj) > 425)) { SkillQ.CastOnUnit(targetObj, PacketCast); } } }
private void NormalCombo(string Mode) { if (targetObj == null) { return; } if (ItemBool(Mode, "W") && SkillW.IsReady() && SkillW.InRange(targetObj.Position) && (Mode == "Combo" || Player.Distance3D(targetObj) <= Orbwalk.GetAutoAttackRange() + 100)) { SkillW.CastOnUnit(targetObj, PacketCast()); } if (ItemBool(Mode, "E") && SkillE.IsReady() && SkillE.InRange(targetObj.Position) && (Mode == "Combo" || Player.Distance3D(targetObj) <= Orbwalk.GetAutoAttackRange() + 100)) { SkillE.Cast(targetObj.Position, PacketCast()); } if (ItemBool(Mode, "Q") && SkillQ.IsReady() && Player.Distance3D(targetObj) <= Orbwalk.GetAutoAttackRange() + 50) { var DmgAA = Player.GetAutoAttackDamage(targetObj) * Math.Floor(SkillQ.Instance.Cooldown / (1 / (Player.PercentMultiplicativeAttackSpeedMod * 0.638))); if (SkillQ.GetHealthPrediction(targetObj) + 5 <= GetBonusDmg(targetObj) || SkillQ.GetHealthPrediction(targetObj) + 5 > DmgAA + GetBonusDmg(targetObj)) { Orbwalk.SetAttack(false); Player.IssueOrder(GameObjectOrder.AttackUnit, targetObj); Orbwalk.SetAttack(true); } } if (ItemBool(Mode, "Item") && Mode == "Combo" && Items.CanUseItem(Randuin) && Player.CountEnemysInRange(450) >= 1) { Items.UseItem(Randuin); } if (ItemBool(Mode, "Ignite") && Mode == "Combo") { CastIgnite(targetObj); } }
private void LaneJungClear() { var minionObj = MinionManager.GetMinions(Player.Position, SkillQ.Range, MinionTypes.All, MinionTeam.NotAlly).FirstOrDefault(); if (minionObj == null) { return; } if (Config.Item(Name + "useClearE").GetValue <bool>() && SkillE.IsReady()) { if (!Player.HasBuff("JaxCounterStrike", true)) { if ((Config.Item(Name + "useClearQ").GetValue <bool>() && SkillQ.InRange(minionObj.Position) && SkillQ.IsReady()) || SkillE.InRange(minionObj.Position)) { SkillE.Cast(PacketCast); } } else if (SkillE.InRange(minionObj.Position) && !minionObj.IsValidTarget(SkillE.Range - 3.5f)) { SkillE.Cast(PacketCast); } } if (Config.Item(Name + "useClearQ").GetValue <bool>() && SkillQ.IsReady() && SkillQ.InRange(minionObj.Position)) { if ((Config.Item(Name + "useClearE").GetValue <bool>() && SkillE.IsReady() && Player.HasBuff("JaxCounterStrike", true) && !SkillE.InRange(minionObj.Position)) || (!LXOrbwalker.InAutoAttackRange(minionObj) && Player.Distance(minionObj) > 425)) { SkillQ.CastOnUnit(minionObj, PacketCast); } } }
private void Harass() { if (targetObj == null) { return; } if (ItemBool("Harass", "W") && SkillW.IsReady() && ItemBool("Harass", "Q") && SkillQ.IsReady() && SkillQ.InRange(targetObj.Position)) { SkillW.Cast(PacketCast()); } if (ItemBool("Harass", "E") && SkillE.IsReady()) { if (!Player.HasBuff("JaxCounterStrike", true)) { if ((ItemBool("Harass", "Q") && SkillQ.IsReady() && SkillQ.InRange(targetObj.Position)) || SkillE.InRange(targetObj.Position)) { SkillE.Cast(PacketCast()); } } else if (SkillE.InRange(targetObj.Position) && !IsValid(targetObj, SkillE.Range - 3.5f)) { SkillE.Cast(PacketCast()); } } if (ItemBool("Harass", "Q") && SkillQ.IsReady() && SkillQ.InRange(targetObj.Position) && Player.Health * 100 / Player.MaxHealth >= ItemList("Harass", "QAbove")) { if ((ItemBool("Harass", "E") && SkillE.IsReady() && Player.HasBuff("JaxCounterStrike", true) && !SkillE.InRange(targetObj.Position)) || (!Orbwalk.InAutoAttackRange(targetObj) && Player.Distance3D(targetObj) > 450)) { SkillQ.CastOnUnit(targetObj, PacketCast()); } } }
private void LaneJungClear() { foreach (var Obj in ObjectManager.Get <Obj_AI_Minion>().Where(i => IsValid(i, SkillQ.Range)).OrderBy(i => i.Health)) { if (SmiteReady() && Obj.Team == GameObjectTeam.Neutral) { if ((ItemBool("SmiteMob", "Baron") && Obj.Name.StartsWith("SRU_Baron")) || (ItemBool("SmiteMob", "Dragon") && Obj.Name.StartsWith("SRU_Dragon")) || (!Obj.Name.Contains("Mini") && ( (ItemBool("SmiteMob", "Red") && Obj.Name.StartsWith("SRU_Red")) || (ItemBool("SmiteMob", "Blue") && Obj.Name.StartsWith("SRU_Blue")) || (ItemBool("SmiteMob", "Krug") && Obj.Name.StartsWith("SRU_Krug")) || (ItemBool("SmiteMob", "Gromp") && Obj.Name.StartsWith("SRU_Gromp")) || (ItemBool("SmiteMob", "Raptor") && Obj.Name.StartsWith("SRU_Razorbeak")) || (ItemBool("SmiteMob", "Wolf") && Obj.Name.StartsWith("SRU_Murkwolf"))))) { CastSmite(Obj); } } if (ItemBool("Clear", "E") && SkillE.IsReady()) { if (!Player.HasBuff("JaxCounterStrike", true)) { if ((ItemBool("Clear", "Q") && SkillQ.IsReady()) || SkillE.InRange(Obj.Position)) { SkillE.Cast(PacketCast()); } } else if (SkillE.InRange(Obj.Position) && !ECasted) { SkillE.Cast(PacketCast()); } } if (ItemBool("Clear", "Q") && SkillQ.IsReady() && ((ItemBool("Clear", "E") && SkillE.IsReady() && Player.HasBuff("JaxCounterStrike", true) && !SkillE.InRange(Obj.Position)) || (!Orbwalk.InAutoAttackRange(Obj) && Player.Distance3D(Obj) > 450))) { SkillQ.CastOnUnit(Obj, PacketCast()); } } }
private void NormalCombo() { if (targetObj == null) { return; } if (Config.Item("rusage").GetValue <bool>() && Config.Item("ult" + targetObj.ChampionName).GetValue <bool>() && SkillR.IsReady() && SkillR.InRange(targetObj.Position)) { if (CanKill(targetObj, SkillR)) { SkillR.Cast(PacketCast()); } else if (targetObj.Health - SkillR.GetDamage(targetObj) <= SkillE.GetDamage(targetObj) + Player.GetAutoAttackDamage(targetObj) + SkillQ.GetDamage(targetObj) * 3 && Config.Item("eusage").GetValue <bool>() && SkillE.IsReady() && Config.Item("qusage").GetValue <bool>() && SkillQ.IsReady()) { SkillR.Cast(PacketCast()); } } if (Config.Item("eusage").GetValue <bool>() && SkillE.IsReady() && SkillE.InRange(targetObj.Position) && (Player.Distance(targetObj) > 450 || CanKill(targetObj, SkillE))) { SkillE.CastOnUnit(targetObj, PacketCast()); } if (Config.Item("wusage").GetValue <bool>() && SkillW.IsReady() && Orbwalk.InAutoAttackRange(targetObj)) { SkillW.Cast(PacketCast()); } if (Config.Item("iusage").GetValue <bool>()) { UseItem(targetObj); } if (Config.Item("ignite").GetValue <bool>()) { CastIgnite(targetObj); } }
private void NormalCombo(string Mode) { if (targetObj == null) { return; } if (ItemBool(Mode, "R") && ItemBool("Ultimate", targetObj.ChampionName) && Mode == "Combo" && SkillR.IsReady() && SkillR.InRange(targetObj.Position)) { if (CanKill(targetObj, SkillR)) { SkillR.Cast(PacketCast()); } else if (SkillR.GetHealthPrediction(targetObj) - SkillR.GetDamage(targetObj) + 5 <= SkillE.GetDamage(targetObj) + Player.GetAutoAttackDamage(targetObj, true) + ((ItemBool(Mode, "Q") && SkillQ.IsReady()) ? SkillQ.GetDamage(targetObj) * 3 : 0) && ItemBool(Mode, "E") && SkillE.IsReady() && Player.Mana >= SkillR.Instance.ManaCost + SkillE.Instance.ManaCost + ((ItemBool(Mode, "Q") && SkillQ.IsReady()) ? SkillQ.Instance.ManaCost : 0)) { SkillR.Cast(PacketCast()); } } if (ItemBool(Mode, "E") && SkillE.IsReady() && SkillE.InRange(targetObj.Position) && (CanKill(targetObj, SkillE) || Player.Distance3D(targetObj) > Orbwalk.GetAutoAttackRange() + 50 || (Mode == "Combo" && Player.HealthPercentage() < targetObj.HealthPercentage()))) { SkillE.CastOnUnit(targetObj, PacketCast()); } if (ItemBool(Mode, "W") && SkillW.IsReady() && Orbwalk.InAutoAttackRange(targetObj)) { SkillW.Cast(PacketCast()); } if (ItemBool(Mode, "Item") && Mode == "Combo") { UseItem(targetObj); } if (ItemBool(Mode, "Ignite") && Mode == "Combo") { CastIgnite(targetObj); } }
private void LaneJungClear() { foreach (var minionObj in MinionManager.GetMinions(Player.Position, 1300, MinionTypes.All, MinionTeam.NotAlly)) { var Passive = Player.HasBuff("blindmonkpassive_cosmetic", true); if (Config.Item(Name + "useClearQ").GetValue <bool>() && SkillQ.IsReady()) { if (SkillQ.Instance.Name == "BlindMonkQOne") { if (!Passive) { SkillQ.CastIfHitchanceEquals(minionObj, HitChance.VeryHigh, PacketCast); } } else if ((minionObj.HasBuff("BlindMonkQOne", true) || minionObj.HasBuff("blindmonkqonechaos", true)) && (CanKill(minionObj, SkillQ, 1) || !QCasted || Player.Distance(minionObj) > 450 || !Passive)) { SkillQ.Cast(PacketCast); } } if (Config.Item(Name + "useClearE").GetValue <bool>() && SkillE.IsReady()) { if (SkillE.Instance.Name == "BlindMonkEOne" && SkillE.InRange(minionObj.Position)) { if (!Passive) { SkillE.Cast(PacketCast); } } else if (minionObj.HasBuff("BlindMonkEOne", true) && minionObj.IsValidTarget(575) && (!ECasted || !Passive)) { SkillE.Cast(PacketCast); } } if (Config.Item(Name + "useClearW").GetValue <bool>() && SkillW.IsReady() && LXOrbwalker.InAutoAttackRange(minionObj) && !WCasted && !Passive) { if (SkillW.Instance.Name == "BlindMonkWOne") { SkillW.Cast(PacketCast); WCasted = true; Utility.DelayAction.Add(300, () => WCasted = false); } else { SkillW.Cast(PacketCast); } } if (Config.Item(Name + "useClearI").GetValue <bool>() && Player.Distance(minionObj) <= 350) { if (Items.CanUseItem(Tiamat)) { Items.UseItem(Tiamat); } if (Items.CanUseItem(Hydra)) { Items.UseItem(Hydra); } } } }
private void NormalCombo() { if (targetObj == null) { return; } if (Config.Item(Name + "eusage").GetValue <bool>() && SkillE.IsReady()) { if (!Player.HasBuff("JaxCounterStrike", true)) { if ((Config.Item(Name + "qusage").GetValue <bool>() && SkillQ.InRange(targetObj.Position) && SkillQ.IsReady()) || SkillE.InRange(targetObj.Position)) { SkillE.Cast(PacketCast); } } else if (SkillE.InRange(targetObj.Position) && !targetObj.IsValidTarget(SkillE.Range - 3.5f)) { SkillE.Cast(PacketCast); } } if (Config.Item(Name + "qusage").GetValue <bool>() && SkillQ.IsReady() && SkillQ.InRange(targetObj.Position)) { if ((Config.Item(Name + "eusage").GetValue <bool>() && SkillE.IsReady() && Player.HasBuff("JaxCounterStrike", true) && !SkillE.InRange(targetObj.Position)) || (!LXOrbwalker.InAutoAttackRange(targetObj) && Player.Distance(targetObj) > 425)) { SkillQ.CastOnUnit(targetObj, PacketCast); } } if (Config.Item(Name + "rusage").GetValue <bool>() && SkillR.IsReady()) { switch (Config.Item(Name + "ruseMode").GetValue <StringList>().SelectedIndex) { case 0: if (Player.Health * 100 / Player.MaxHealth < Config.Item(Name + "ruseHp").GetValue <Slider>().Value) { SkillR.Cast(PacketCast); } break; case 1: if (Player.CountEnemysInRange(600) >= Config.Item(Name + "ruseEnemy").GetValue <Slider>().Value) { SkillR.Cast(PacketCast); } break; } } if (Config.Item(Name + "iusage").GetValue <bool>()) { UseItem(targetObj); } if (Config.Item(Name + "ignite").GetValue <bool>()) { CastIgnite(targetObj); } }
private void NormalCombo() { if (targetObj == null) { return; } if (ItemBool("Combo", "E") && SkillE.IsReady()) { if (!Player.HasBuff("JaxCounterStrike", true)) { if ((ItemBool("Combo", "Q") && SkillQ.IsReady() && SkillQ.InRange(targetObj.Position)) || SkillE.InRange(targetObj.Position)) { SkillE.Cast(PacketCast()); } } else if (SkillE.InRange(targetObj.Position) && !IsValid(targetObj, SkillE.Range - 3.5f)) { SkillE.Cast(PacketCast()); } } if (ItemBool("Combo", "Q") && SkillQ.IsReady() && SkillQ.InRange(targetObj.Position)) { if ((ItemBool("Combo", "E") && SkillE.IsReady() && Player.HasBuff("JaxCounterStrike", true) && !SkillE.InRange(targetObj.Position)) || (!Orbwalk.InAutoAttackRange(targetObj) && Player.Distance3D(targetObj) > 450)) { SkillQ.CastOnUnit(targetObj, PacketCast()); } } if (ItemBool("Combo", "R") && SkillR.IsReady()) { switch (ItemList("Combo", "RMode")) { case 0: if (Player.Health * 100 / Player.MaxHealth <= ItemSlider("Combo", "RUnder")) { SkillR.Cast(PacketCast()); } break; case 1: if (Player.CountEnemysInRange((int)SkillQ.Range) >= ItemSlider("Combo", "RCount")) { SkillR.Cast(PacketCast()); } break; } } if (ItemBool("Combo", "Item")) { UseItem(targetObj); } if (ItemBool("Combo", "Ignite")) { CastIgnite(targetObj); } }
private void LaneJungClear() { var minionObj = ObjectManager.Get <Obj_AI_Minion>().Where(i => IsValid(i, SkillQ.Range)).OrderBy(i => i.Health); if (minionObj.Count() == 0 && ItemBool("Clear", "W") && SkillW.IsReady() && Player.HasBuff("AuraofDespair", true)) { SkillW.Cast(PacketCast()); } foreach (var Obj in minionObj) { if (SmiteReady() && Obj.Team == GameObjectTeam.Neutral) { if ((ItemBool("SmiteMob", "Baron") && Obj.Name.StartsWith("SRU_Baron")) || (ItemBool("SmiteMob", "Dragon") && Obj.Name.StartsWith("SRU_Dragon")) || (!Obj.Name.Contains("Mini") && ( (ItemBool("SmiteMob", "Red") && Obj.Name.StartsWith("SRU_Red")) || (ItemBool("SmiteMob", "Blue") && Obj.Name.StartsWith("SRU_Blue")) || (ItemBool("SmiteMob", "Krug") && Obj.Name.StartsWith("SRU_Krug")) || (ItemBool("SmiteMob", "Gromp") && Obj.Name.StartsWith("SRU_Gromp")) || (ItemBool("SmiteMob", "Raptor") && Obj.Name.StartsWith("SRU_Razorbeak")) || (ItemBool("SmiteMob", "Wolf") && Obj.Name.StartsWith("SRU_Murkwolf"))))) { CastSmite(Obj); } } if (ItemBool("Clear", "E") && SkillE.IsReady() && SkillE.InRange(Obj.Position)) { SkillE.Cast(PacketCast()); } if (ItemBool("Clear", "W") && SkillW.IsReady()) { if (Player.Mana * 100 / Player.MaxMana >= ItemSlider("Clear", "WAbove")) { if (minionObj.Count(i => Player.Distance3D(i) <= SkillW.Range + 35) >= 2 || (Obj.MaxHealth >= 1200 && Player.Distance3D(Obj) <= SkillW.Range + 35)) { if (!Player.HasBuff("AuraofDespair", true)) { SkillW.Cast(PacketCast()); } } else if (Player.HasBuff("AuraofDespair", true)) { SkillW.Cast(PacketCast()); } } else if (Player.HasBuff("AuraofDespair", true)) { SkillW.Cast(PacketCast()); } } if (ItemBool("Clear", "Q") && SkillQ.IsReady() && (!Orbwalk.InAutoAttackRange(Obj) || CanKill(Obj, SkillQ))) { SkillQ.CastIfHitchanceEquals(Obj, HitChance.Medium, PacketCast()); } } }
private void StarCombo() { CustomOrbwalk(targetObj); if (targetObj == null) { return; } UseItem(targetObj); if (SkillE.IsReady()) { if (SkillE.Instance.Name == "BlindMonkEOne" && SkillE.InRange(targetObj.Position)) { SkillE.Cast(PacketCast()); } else if (targetObj.HasBuff("BlindMonkEOne", true) && IsValid(targetObj, 575) && (Player.Distance3D(targetObj) > 450 || !ECasted)) { SkillE.Cast(PacketCast()); } } if (SkillQ.IsReady()) { if (SkillQ.Instance.Name == "BlindMonkQOne" && SkillQ.InRange(targetObj.Position)) { if (ItemBool("Misc", "SmiteCol")) { if (!SmiteCollision(targetObj, SkillQ)) { SkillQ.CastIfHitchanceEquals(targetObj, HitChance.VeryHigh, PacketCast()); } } else { SkillQ.CastIfHitchanceEquals(targetObj, HitChance.VeryHigh, PacketCast()); } } else if ((targetObj.HasBuff("BlindMonkQOne", true) || targetObj.HasBuff("blindmonkqonechaos", true)) && IsValid(targetObj, 1300) && (CanKill(targetObj, SkillQ, 1) || (!SkillR.IsReady() && !RCasted && KickCasted) || (!SkillR.IsReady() && !RCasted && !KickCasted && !QCasted))) { SkillQ.Cast(PacketCast()); } } if (SkillR.IsReady() && SkillQ.IsReady() && (targetObj.HasBuff("BlindMonkQOne", true) || targetObj.HasBuff("blindmonkqonechaos", true)) && !SkillR.InRange(targetObj.Position) && IsValid(targetObj, 1300) && Player.Distance3D(targetObj) < SkillW.Range + SkillR.Range - 170 && SkillW.IsReady() && SkillW.Instance.Name == "BlindMonkWOne") { WardJump(targetObj.Position); } if (SkillR.IsReady() && SkillQ.IsReady() && (targetObj.HasBuff("BlindMonkQOne", true) || targetObj.HasBuff("blindmonkqonechaos", true)) && SkillR.InRange(targetObj.Position)) { SkillR.CastOnUnit(targetObj, PacketCast()); } }
private void OnPossibleToInterrupt(Obj_AI_Base unit, InterruptableSpell spell) { if (!Config.Item(Name + "useInterE").GetValue <bool>()) { return; } if (SkillQ.IsReady() && SkillE.IsReady() && !SkillE.InRange(unit.Position) && unit.IsValidTarget(SkillQ.Range)) { SkillQ.CastOnUnit(unit, PacketCast); } if (unit.IsValidTarget(SkillE.Range) && SkillE.IsReady()) { SkillE.Cast(PacketCast); } }
private void StarCombo() { Orbwalk(targetObj); if (targetObj == null) { return; } UseItem(targetObj); if (SkillE.IsReady() && SkillE.Instance.Name == "BlindMonkEOne" && SkillE.InRange(targetObj.Position)) { SkillE.Cast(PacketCast); } if (SkillQ.IsReady()) { if (SkillQ.Instance.Name == "BlindMonkQOne" && SkillQ.InRange(targetObj.Position)) { if (Config.Item(Name + "smite").GetValue <bool>() && SkillQ.GetPrediction(targetObj).Hitchance == HitChance.Collision) { if (!SmiteCollision(targetObj, SkillQ)) { SkillQ.CastIfHitchanceEquals(targetObj, HitChance.VeryHigh, PacketCast); } } else { SkillQ.CastIfHitchanceEquals(targetObj, HitChance.VeryHigh, PacketCast); } } else if (targetObj.IsValidTarget(1300) && (targetObj.HasBuff("BlindMonkQOne", true) || targetObj.HasBuff("blindmonkqonechaos", true)) && (CanKill(targetObj, SkillQ, 1) || (!SkillR.IsReady() && !RCasted && KickCasted) || (!SkillR.IsReady() && !RCasted && !KickCasted && !QCasted))) { SkillQ.Cast(PacketCast); } } if (SkillE.IsReady() && targetObj.IsValidTarget(575) && targetObj.HasBuff("BlindMonkEOne", true) && (Player.Distance(targetObj) > 450 || !ECasted)) { SkillE.Cast(PacketCast); } if (!SkillR.InRange(targetObj.Position) && SkillR.IsReady() && SkillQ.IsReady() && (targetObj.HasBuff("BlindMonkQOne", true) || targetObj.HasBuff("blindmonkqonechaos", true)) && Player.Distance(targetObj) < SkillW.Range + SkillR.Range - 170 && SkillW.IsReady() && SkillW.Instance.Name == "BlindMonkWOne") { WardJump(targetObj.Position); } if (SkillR.IsReady() && SkillQ.IsReady() && (targetObj.HasBuff("BlindMonkQOne", true) || targetObj.HasBuff("blindmonkqonechaos", true)) && SkillR.InRange(targetObj.Position) && Player.Mana >= 50) { SkillR.CastOnUnit(targetObj, PacketCast); } }
private void Harass() { if (targetObj == null) { return; } if (Config.Item("useHarE").GetValue <bool>()) { if (SkillE.IsReady() && SkillE.InRange(targetObj.Position) && Player.Health * 100 / Player.MaxHealth >= Config.Item("harModeE").GetValue <Slider>().Value) { SkillE.Cast(targetObj.Position + Vector3.Normalize(targetObj.Position - Player.Position) * 200, PacketCast()); } } if (Config.Item("useHarQ").GetValue <bool>() && SkillQ.IsReady() && SkillQ.InRange(targetObj.Position)) { SkillQ.CastOnUnit(targetObj, PacketCast()); } }
private void LaneJungClear() { foreach (var Obj in ObjectManager.Get <Obj_AI_Minion>().Where(i => IsValid(i, 800)).OrderBy(i => i.Health)) { if (SmiteReady() && Obj.Team == GameObjectTeam.Neutral) { if ((ItemBool("SmiteMob", "Baron") && Obj.Name.StartsWith("SRU_Baron")) || (ItemBool("SmiteMob", "Dragon") && Obj.Name.StartsWith("SRU_Dragon")) || (!Obj.Name.Contains("Mini") && ( (ItemBool("SmiteMob", "Red") && Obj.Name.StartsWith("SRU_Red")) || (ItemBool("SmiteMob", "Blue") && Obj.Name.StartsWith("SRU_Blue")) || (ItemBool("SmiteMob", "Krug") && Obj.Name.StartsWith("SRU_Krug")) || (ItemBool("SmiteMob", "Gromp") && Obj.Name.StartsWith("SRU_Gromp")) || (ItemBool("SmiteMob", "Raptor") && Obj.Name.StartsWith("SRU_Razorbeak")) || (ItemBool("SmiteMob", "Wolf") && Obj.Name.StartsWith("SRU_Murkwolf"))))) { CastSmite(Obj); } } if (ItemBool("Clear", "Q") && SkillQ.IsReady() && !Player.HasBuff("PowerBall")) { if ((ItemBool("Clear", "E") && SkillE.IsReady() && !SkillE.InRange(Obj.Position)) || !Player.HasBuff("DefensiveBallCurl")) { SkillQ.Cast(PacketCast()); } } if (ItemBool("Clear", "W") && SkillW.IsReady() && Orbwalk.InAutoAttackRange(Obj) && !Player.HasBuff("PowerBall")) { SkillW.Cast(PacketCast()); } if (ItemBool("Clear", "E") && SkillE.IsReady() && SkillE.InRange(Obj.Position) && !Player.HasBuff("PowerBall") && Obj.Team == GameObjectTeam.Neutral) { switch (ItemList("Clear", "EMode")) { case 0: SkillE.CastOnUnit(Obj, PacketCast()); break; case 1: if (Player.HasBuff("DefensiveBallCurl")) { SkillE.CastOnUnit(Obj, PacketCast()); } break; } } } }
private void LaneJungClear() { var minionObj = MinionManager.GetMinions(Player.Position, SkillQ.Range, MinionTypes.All, MinionTeam.NotAlly).FirstOrDefault(); if (minionObj == null) { if (Config.Item("useClearW").GetValue <bool>() && SkillW.IsReady() && Player.HasBuff("AuraofDespair")) { SkillW.Cast(PacketCast()); } return; } if (Config.Item("useClearE").GetValue <bool>() && SkillE.IsReady() && SkillE.InRange(minionObj.Position)) { SkillE.Cast(PacketCast()); } if (Config.Item("useClearW").GetValue <bool>() && SkillW.IsReady()) { if (Player.Mana * 100 / Player.MaxMana >= Config.Item("useClearAutoW").GetValue <Slider>().Value) { if (MinionManager.GetMinions(Player.Position, SkillW.Range + 100, MinionTypes.All, MinionTeam.NotAlly).Count >= 2) { if (!Player.HasBuff("AuraofDespair")) { SkillW.Cast(PacketCast()); } } else if (Player.HasBuff("AuraofDespair")) { SkillW.Cast(PacketCast()); } } else if (Player.HasBuff("AuraofDespair")) { SkillW.Cast(PacketCast()); } } if (Config.Item("useClearQ").GetValue <bool>() && SkillQ.IsReady() && (Player.Distance(minionObj) > 450 || CanKill(minionObj, SkillQ))) { SkillQ.CastIfHitchanceEquals(minionObj, HitChance.VeryHigh, PacketCast()); } }
private void LaneJungClear() { var minionObj = MinionManager.GetMinions(Player.Position, SkillQ.Range, MinionTypes.All, MinionTeam.NotAlly).FirstOrDefault(); if (minionObj == null) { return; } if (Config.Item("useClearQ").GetValue <bool>() && SkillQ.IsReady() && !Player.HasBuff("PowerBall", true)) { if (!SkillE.InRange(minionObj.Position)) { SkillQ.Cast(PacketCast()); } else if (!Player.HasBuff("DefensiveBallCurl", true)) { SkillQ.Cast(PacketCast()); } } if (Config.Item("useClearW").GetValue <bool>() && SkillW.IsReady() && SkillW.InRange(minionObj.Position) && !Player.HasBuff("PowerBall", true)) { SkillW.Cast(PacketCast()); } if (Config.Item("useClearE").GetValue <bool>() && SkillE.IsReady() && SkillE.InRange(minionObj.Position)) { switch (Config.Item("useClearEMode").GetValue <StringList>().SelectedIndex) { case 0: SkillE.CastOnUnit(minionObj, PacketCast()); break; case 1: if (Player.HasBuff("DefensiveBallCurl", true)) { SkillE.CastOnUnit(minionObj, PacketCast()); } break; } } }
private void NormalCombo() { if (targetObj == null) { return; } if (Config.Item("wusage").GetValue <bool>() && SkillW.IsReady() && SkillW.InRange(targetObj.Position)) { SkillW.CastOnUnit(targetObj, PacketCast()); } if (Config.Item("eusage").GetValue <bool>() && SkillE.IsReady() && SkillE.InRange(targetObj.Position)) { SkillE.Cast(targetObj.Position + Vector3.Normalize(targetObj.Position - Player.Position) * 100, PacketCast()); } if (Config.Item("qusage").GetValue <bool>() && Orbwalk.InAutoAttackRange(targetObj)) { var DmgAA = Player.GetAutoAttackDamage(targetObj) * Math.Floor(SkillQ.Instance.Cooldown / (1 / (Player.PercentMultiplicativeAttackSpeedMod * 0.638))); if ((targetObj.Health <= GetBonusDmg(targetObj) || targetObj.Health > DmgAA + GetBonusDmg(targetObj)) && (SkillQ.IsReady() || Player.HasBuff("NasusQ", true))) { Orbwalk.SetAttack(false); if (!Player.HasBuff("NasusQ", true)) { SkillQ.Cast(PacketCast()); } if (Player.HasBuff("NasusQ", true)) { Player.IssueOrder(GameObjectOrder.AttackUnit, targetObj); } Orbwalk.SetAttack(true); } } if (Config.Item("iusage").GetValue <bool>() && Items.CanUseItem(Rand) && Player.CountEnemysInRange(450) >= 1) { Items.UseItem(Rand); } if (Config.Item("ignite").GetValue <bool>()) { CastIgnite(targetObj); } }
private void Harass() { if (targetObj == null) { return; } if (ItemBool("Harass", "W") && (SkillW.IsReady() || Player.HasBuff("RenektonExecuteReady")) && !Player.IsDashing() && (AACount >= 1 || (SkillE.IsReady() && SkillE.Instance.Name != "RenektonSliceAndDice")) && Orbwalk.InAutoAttackRange(targetObj)) { Orbwalk.SetAttack(false); Player.IssueOrder(GameObjectOrder.AttackUnit, targetObj); Orbwalk.SetAttack(true); } if (ItemBool("Harass", "Q") && SkillQ.IsReady() && !Player.IsDashing() && AACount >= 2 && SkillQ.InRange(targetObj.Position)) { SkillQ.Cast(PacketCast()); } if (ItemBool("Harass", "E") && !Player.IsDashing()) { if (SkillE.IsReady()) { if (SkillE.Instance.Name == "RenektonSliceAndDice") { if (SkillE.InRange(targetObj.Position) && Player.HealthPercentage() >= ItemSlider("Harass", "EAbove")) { HarassBackPos = Player.ServerPosition; SkillE.Cast(Player.Position.To2D().Extend(targetObj.Position.To2D(), targetObj.Distance3D(Player) + 200), PacketCast()); } } else if (!ECasted || AACount >= 2) { SkillE.Cast(HarassBackPos, PacketCast()); } } else if (HarassBackPos != default(Vector3)) { HarassBackPos = default(Vector3); } } }
private void NormalCombo(string Mode) { if (targetObj == null) { return; } if (ItemBool(Mode, "Item") && Mode == "Combo") { if (Items.CanUseItem(Deathfire) && Player.Distance3D(targetObj) <= 750) { Items.UseItem(Deathfire, targetObj); } if (Items.CanUseItem(Blackfire) && Player.Distance3D(targetObj) <= 750) { Items.UseItem(Blackfire, targetObj); } if (Items.CanUseItem(Randuin) && Player.CountEnemysInRange(450) >= 1) { Items.UseItem(Randuin); } } if (ItemBool(Mode, "E") && SkillE.IsReady() && SkillE.InRange(targetObj.Position) && (Mode == "Combo" || Player.HealthPercentage() >= ItemSlider(Mode, "EAbove"))) { SkillE.Cast(Player.Position.To2D().Extend(targetObj.Position.To2D(), targetObj.Distance3D(Player) + 200), PacketCast()); } if (ItemBool(Mode, "Q") && SkillQ.IsReady() && SkillQ.InRange(targetObj.Position)) { SkillQ.CastOnUnit(targetObj, PacketCast()); } if (ItemBool(Mode, "W") && Mode == "Combo" && SkillW.IsReady() && Orbwalk.InAutoAttackRange(targetObj) && Player.HealthPercentage() <= ItemSlider(Mode, "WUnder")) { SkillW.Cast(PacketCast()); } if (ItemBool(Mode, "Ignite") && Mode == "Combo") { CastIgnite(targetObj); } }
private void NormalCombo(string Mode) { if (targetObj == null) { return; } if (ItemBool(Mode, "Q") && Mode == "Combo" && SkillQ.IsReady() && Player.HealthPercentage() <= ItemSlider(Mode, "QUnder") && Player.CountEnemysInRange(800) >= 1) { SkillQ.Cast(PacketCast()); } if (ItemBool(Mode, "W") && SkillW.IsReady() && SkillW.InRange(targetObj.Position)) { if (Utility.IsBothFacing(Player, targetObj, 35)) { if (Player.GetAutoAttackDamage(targetObj, true) < targetObj.GetAutoAttackDamage(Player, true) || Player.Health < targetObj.Health) { SkillW.Cast(PacketCast()); } } else if (Player.IsFacing(targetObj, 35) && !targetObj.IsFacing(Player, 35) && Player.Distance3D(targetObj) > Orbwalk.GetAutoAttackRange() + 50) { SkillW.Cast(PacketCast()); } } if (ItemBool(Mode, "E") && SkillE.IsReady() && SkillE.InRange(targetObj.Position) && (CanKill(targetObj, SkillE) || (Player.Distance3D(targetObj) > Orbwalk.GetAutoAttackRange() + 50 && (Mode == "Combo" || Player.HealthPercentage() >= ItemSlider(Mode, "EAbove"))))) { SkillE.Cast(Player.Position.To2D().Extend(targetObj.Position.To2D(), targetObj.Distance3D(Player) + 200), PacketCast()); } if (ItemBool(Mode, "Item") && Mode == "Combo") { UseItem(targetObj); } if (ItemBool(Mode, "Ignite") && Mode == "Combo") { CastIgnite(targetObj); } }
private void Harass() { if (ItemBool("Harass", "W") && SkillW.IsReady() && Player.HasBuff("AuraofDespair", true) && Player.CountEnemysInRange(500) == 0) { SkillW.Cast(PacketCast()); } if (targetObj == null) { return; } if (ItemBool("Harass", "E") && SkillE.IsReady() && SkillE.InRange(targetObj.Position)) { SkillE.Cast(PacketCast()); } if (ItemBool("Harass", "W") && SkillW.IsReady()) { if (Player.Mana * 100 / Player.MaxMana >= ItemSlider("Harass", "WAbove")) { if (Player.Distance3D(targetObj) <= SkillW.Range + 35) { if (!Player.HasBuff("AuraofDespair", true)) { SkillW.Cast(PacketCast()); } } else if (Player.HasBuff("AuraofDespair", true)) { SkillW.Cast(PacketCast()); } } else if (Player.HasBuff("AuraofDespair", true)) { SkillW.Cast(PacketCast()); } } }
private void NormalCombo() { if (targetObj == null) { return; } if (ItemBool("Combo", "W") && (SkillW.IsReady() || Player.HasBuff("RenektonExecuteReady")) && !Player.IsDashing() && Orbwalk.InAutoAttackRange(targetObj)) { Orbwalk.SetAttack(false); Player.IssueOrder(GameObjectOrder.AttackUnit, targetObj); Orbwalk.SetAttack(true); } if (ItemBool("Combo", "Q") && SkillQ.IsReady() && !Player.IsDashing() && SkillQ.InRange(targetObj.Position)) { SkillQ.Cast(PacketCast()); } if (ItemBool("Combo", "E") && SkillE.IsReady() && SkillE.InRange(targetObj.Position)) { if (SkillE.Instance.Name == "RenektonSliceAndDice") { SkillE.Cast(Player.Position.To2D().Extend(targetObj.Position.To2D(), targetObj.Distance3D(Player) + 200), PacketCast()); } else if (!ECasted || !IsValid(targetObj, SkillE.Range - 30) || CanKill(targetObj, SkillE, Player.Mana >= 50 ? 1 : 0)) { SkillE.Cast(Player.Position.To2D().Extend(targetObj.Position.To2D(), targetObj.Distance3D(Player) + 200), PacketCast()); } } if (ItemBool("Combo", "Item")) { UseItem(targetObj); } if (ItemBool("Combo", "Ignite")) { CastIgnite(targetObj); } }
private void Harass() { if (targetObj == null || Player.Health * 100 / Player.MaxHealth < Config.Item(Name + "harMode").GetValue <Slider>().Value) { return; } if (SkillE.IsReady() && SkillE.Instance.Name == "RenektonSliceAndDice" && SkillE.InRange(targetObj.Position)) { SkillE.Cast(targetObj.Position + Vector3.Normalize(targetObj.Position - Player.Position) * 200, PacketCast); } if (Config.Item(Name + "useHarW").GetValue <bool>() && SkillW.InRange(targetObj.Position) && !ECasted && SkillW.IsReady()) { SkillW.Cast(PacketCast); } if (Config.Item(Name + "useHarQ").GetValue <bool>() && SkillQ.IsReady() && SkillQ.InRange(targetObj.Position) && !ECasted) { SkillQ.Cast(PacketCast); } if (SkillE.IsReady() && SkillE.Instance.Name != "RenektonSliceAndDice" && !ECasted) { SkillE.Cast(DashBackPos, PacketCast); } if (!SkillE.IsReady()) { DashBackPos = default(Vector3); } }
private void NormalCombo() { if (targetObj == null) { return; } if (Config.Item(Name + "eusage").GetValue <bool>() && SkillE.IsReady() && SkillE.Instance.Name == "RenektonSliceAndDice" && SkillE.InRange(targetObj.Position)) { SkillE.Cast(targetObj.Position + Vector3.Normalize(targetObj.Position - Player.Position) * 200, PacketCast); } if (Config.Item(Name + "wusage").GetValue <bool>() && SkillW.InRange(targetObj.Position) && !ECasted && SkillW.IsReady()) { SkillW.Cast(PacketCast); } if (Config.Item(Name + "qusage").GetValue <bool>() && SkillQ.IsReady() && SkillQ.InRange(targetObj.Position) && !ECasted) { SkillQ.Cast(PacketCast); } if (Config.Item(Name + "eusage").GetValue <bool>() && SkillE.IsReady() && SkillE.Instance.Name != "RenektonSliceAndDice" && !ECasted && SkillE.InRange(targetObj.Position)) { SkillE.Cast(targetObj.Position + Vector3.Normalize(targetObj.Position - Player.Position) * 200, PacketCast); } if (Config.Item(Name + "iusage").GetValue <bool>() && !ECasted) { UseItem(targetObj); } if (Config.Item(Name + "ignite").GetValue <bool>()) { CastIgnite(targetObj); } }
private void Harass() { if (targetObj == null) { return; } var jumpObj = ObjectManager.Get <Obj_AI_Base>().Where(i => !i.IsMe && i.IsAlly && !(i is Obj_AI_Turret) && i.Distance(Player) <= SkillW.Range + i.BoundingRadius).OrderByDescending(i => i.Distance(Player)).OrderBy(i => i.Distance(ObjectManager.Get <Obj_AI_Turret>().Where(a => a.IsAlly && !a.IsDead).OrderBy(a => a.Distance(Player)).First())); if (SkillQ.IsReady()) { if (SkillQ.Instance.Name == "BlindMonkQOne" && SkillQ.InRange(targetObj.Position)) { if (Config.Item(Name + "smite").GetValue <bool>() && SkillQ.GetPrediction(targetObj).Hitchance == HitChance.Collision) { if (!SmiteCollision(targetObj, SkillQ)) { SkillQ.CastIfHitchanceEquals(targetObj, HitChance.VeryHigh, PacketCast); } } else { SkillQ.CastIfHitchanceEquals(targetObj, HitChance.VeryHigh, PacketCast); } } else if ((targetObj.HasBuff("BlindMonkQOne", true) || targetObj.HasBuff("blindmonkqonechaos", true)) && targetObj.IsValidTarget(1300) && (CanKill(targetObj, SkillQ, 1) || (SkillW.IsReady() && SkillW.Instance.Name == "BlindMonkWOne" && Player.Mana >= (Config.Item(Name + "useHarE").GetValue <bool>() ? 130 : 80) && Player.Health * 100 / Player.MaxHealth >= Config.Item(Name + "harMode").GetValue <Slider>().Value&& jumpObj.Count() >= 1))) { SkillQ.Cast(PacketCast); } } if (Config.Item(Name + "useHarE").GetValue <bool>() && SkillE.IsReady() && SkillE.Instance.Name == "BlindMonkEOne" && SkillE.InRange(targetObj.Position)) { SkillE.Cast(PacketCast); } if (SkillW.IsReady() && SkillW.Instance.Name == "BlindMonkWOne" && ((SkillE.Level == 0 && !(targetObj.HasBuff("BlindMonkQOne", true) || targetObj.HasBuff("blindmonkqonechaos", true)) && Player.Distance(targetObj) < 200) || (Config.Item(Name + "useHarE").GetValue <bool>() && targetObj.HasBuff("BlindMonkEOne", true)) || (!Config.Item(Name + "useHarE").GetValue <bool>() && !(targetObj.HasBuff("BlindMonkQOne", true) || targetObj.HasBuff("blindmonkqonechaos", true)) && Player.Distance(targetObj) < 200)) && !JumpCasted) { SkillW.CastOnUnit(jumpObj.First(), PacketCast); JumpCasted = true; Utility.DelayAction.Add(300, () => JumpCasted = false); } }
private void NormalCombo() { if (targetObj == null) { return; } if (Config.Item(Name + "pusage").GetValue <bool>() && Player.HasBuff("blindmonkpassive_cosmetic", true) && LXOrbwalker.InAutoAttackRange(targetObj) && LXOrbwalker.CanAttack()) { return; } if (Config.Item(Name + "eusage").GetValue <bool>() && SkillE.IsReady() && SkillE.Instance.Name == "BlindMonkEOne" && SkillE.InRange(targetObj.Position)) { SkillE.Cast(PacketCast); } if (Config.Item(Name + "qusage").GetValue <bool>() && SkillQ.IsReady()) { if (SkillQ.Instance.Name == "BlindMonkQOne" && SkillQ.InRange(targetObj.Position)) { if (Config.Item(Name + "smite").GetValue <bool>() && SkillQ.GetPrediction(targetObj).Hitchance == HitChance.Collision) { if (!SmiteCollision(targetObj, SkillQ)) { SkillQ.CastIfHitchanceEquals(targetObj, HitChance.VeryHigh, PacketCast); } } else { SkillQ.CastIfHitchanceEquals(targetObj, HitChance.VeryHigh, PacketCast); } } else if (targetObj.IsValidTarget(1300) && (targetObj.HasBuff("BlindMonkQOne", true) || targetObj.HasBuff("blindmonkqonechaos", true))) { if (Player.Distance(targetObj) > 500 || CanKill(targetObj, SkillQ, 1) || (targetObj.HasBuff("BlindMonkEOne", true) && SkillE.InRange(targetObj.Position)) || !QCasted) { SkillQ.Cast(PacketCast); } } } if (Config.Item(Name + "eusage").GetValue <bool>() && SkillE.IsReady() && targetObj.IsValidTarget(575) && targetObj.HasBuff("BlindMonkEOne", true) && (Player.Distance(targetObj) > 450 || !ECasted)) { SkillE.Cast(PacketCast); } if (Config.Item(Name + "rusage").GetValue <bool>() && Config.Item(Name + "ult" + targetObj.ChampionName).GetValue <bool>() && SkillR.IsReady() && SkillR.InRange(targetObj.Position)) { if (CanKill(targetObj, SkillR) || (targetObj.Health - SkillR.GetDamage(targetObj) < GetQ2Dmg(targetObj, SkillR.GetDamage(targetObj)) && SkillQ.IsReady() && (targetObj.HasBuff("BlindMonkQOne", true) || targetObj.HasBuff("blindmonkqonechaos", true)) && Player.Mana >= 50)) { SkillR.CastOnUnit(targetObj, PacketCast); } } if (Config.Item(Name + "wusage").GetValue <bool>() && SkillW.IsReady() && SkillE.InRange(targetObj.Position) && Player.Health * 100 / Player.MaxHealth <= Config.Item(Name + "autowusage").GetValue <Slider>().Value) { if (SkillW.Instance.Name == "BlindMonkWOne" && !WCasted) { SkillW.Cast(PacketCast); WCasted = true; Utility.DelayAction.Add(1000, () => WCasted = false); } else if (!Player.HasBuff("blindmonkwoneshield", true) && !WCasted) { SkillW.Cast(PacketCast); } } if (Config.Item(Name + "iusage").GetValue <bool>()) { UseItem(targetObj); } if (Config.Item(Name + "ignite").GetValue <bool>()) { CastIgnite(targetObj); } }
private void NormalCombo() { if (targetObj == null) { return; } if (Config.Item(Name + "wusage").GetValue <bool>() && SkillW.IsReady() && SkillW.InRange(targetObj.Position)) { SkillW.CastOnUnit(targetObj, PacketCast); } if (Config.Item(Name + "eusage").GetValue <bool>() && SkillE.IsReady() && SkillE.InRange(targetObj.Position)) { SkillE.Cast(targetObj.Position + Vector3.Normalize(targetObj.Position - Player.Position) * 100, PacketCast); } if (Config.Item(Name + "qusage").GetValue <bool>() && SkillQ.InRange(targetObj.Position)) { var DmgAA = Player.GetAutoAttackDamage(targetObj) * Math.Floor(SkillQ.Instance.Cooldown / (1 / (Player.PercentMultiplicativeAttackSpeedMod * 0.638))); if ((targetObj.Health <= GetBonusDmg(targetObj) || targetObj.Health > DmgAA + GetBonusDmg(targetObj)) && SkillQ.IsReady()) { SkillQ.Cast(PacketCast); } } if (Config.Item(Name + "iusage").GetValue <bool>() && Items.CanUseItem(Rand) && Player.CountEnemysInRange(450) >= 1) { Items.UseItem(Rand); } if (Config.Item(Name + "ignite").GetValue <bool>()) { CastIgnite(targetObj); } }
private void NormalCombo(bool IsHarass = false) { if (targetObj == null) { return; } if (Config.Item("qusage").GetValue <bool>() && SkillQ.IsReady() && targetObj.IsValidTarget(IsHarass ? Orbwalk.GetAutoAttackRange(Player, targetObj) : SkillQ.Range) && !Player.HasBuff("PowerBall", true)) { if (!SkillE.InRange(targetObj.Position)) { SkillQ.Cast(PacketCast()); } else if (!Player.HasBuff("DefensiveBallCurl", true)) { SkillQ.Cast(PacketCast()); } } if (Config.Item("wusage").GetValue <bool>() && SkillW.IsReady() && SkillW.InRange(targetObj.Position) && !Player.HasBuff("PowerBall", true)) { SkillW.Cast(PacketCast()); } if (Config.Item("eusage").GetValue <bool>() && SkillE.IsReady() && SkillE.InRange(targetObj.Position) && Player.Health * 100 / Player.MaxHealth >= Config.Item("autoeusage").GetValue <Slider>().Value) { switch (Config.Item("euseMode").GetValue <StringList>().SelectedIndex) { case 0: SkillE.CastOnUnit(targetObj, PacketCast()); break; case 1: if (Player.HasBuff("DefensiveBallCurl", true)) { SkillE.CastOnUnit(targetObj, PacketCast()); } break; } } if (Config.Item("rusage").GetValue <bool>() && SkillR.IsReady()) { switch (Config.Item("ruseMode").GetValue <StringList>().SelectedIndex) { case 0: if (SkillR.InRange(targetObj.Position)) { SkillR.Cast(PacketCast()); } break; case 1: if (Player.CountEnemysInRange((int)SkillR.Range) >= Config.Item("rmulti").GetValue <Slider>().Value) { SkillR.Cast(PacketCast()); } break; } } if (Config.Item("iusage").GetValue <bool>() && Items.CanUseItem(Rand) && Player.CountEnemysInRange(450) >= 1) { Items.UseItem(Rand); } if (Config.Item("ignite").GetValue <bool>()) { CastIgnite(targetObj); } }