private static void UseItems(Obj_AI_Base unit, bool isMinion = false) { if (!unit.IsValidTarget()) { return; } if (SKOMenu.Item("Hydra").GetValue <bool>() && player.Distance(unit) < HYD.Range) { HYD.Cast(); } if (SKOMenu.Item("Hydra").GetValue <bool>() && player.Distance(unit) < TMT.Range) { TMT.Cast(); } if (SKOMenu.Item("BOTRK").GetValue <bool>() && player.Distance(unit) <= BRK.Range) { if (isMinion) { return; } BRK.Cast(unit); } if (SKOMenu.Item("BOTRK").GetValue <bool>() && player.Distance(unit) <= BWC.Range) { BWC.Cast(unit); } if (SKOMenu.Item("RO").GetValue <bool>() && player.Distance(unit) <= RO.Range) { if (isMinion) { return; } RO.Cast(); } if (SKOMenu.Item("DFG").GetValue <bool>() && player.Distance(unit) <= DFG.Range) { if (isMinion) { return; } DFG.Cast(unit); } if (SKOMenu.Item("YMU").GetValue <bool>() && player.Distance(unit) <= YMG.Range) { YMG.Cast(); } if (SKOMenu.Item("SOD").GetValue <bool>() && player.Distance(unit) <= STD.Range) { STD.Cast(); } }
private static void UseItems(Obj_AI_Hero target) { if (player.Distance(target) < player.AttackRange + player.BoundingRadius) { TMT.Cast(); HYD.Cast(); } BWC.Cast(target); BRK.Cast(target); RO.Cast(target); YMG.Cast(); }
private static void Clear() { var allminions = MinionManager.GetMinions(_player.ServerPosition, 1000, MinionTypes.All, MinionTeam.NotAlly, MinionOrderTypes.MaxHealth); foreach (var minion in allminions.Where(minion => minion.IsValidTarget())) { if (_player.Mana <= 4) { if (Q.IsReady() && SKOMenu.Item("UseQC").GetValue <bool>() && _player.Distance(minion) <= Q.Range) { Q.Cast(); } if (W.IsReady() && SKOMenu.Item("UseWC").GetValue <bool>() && _player.Distance(minion) <= W.Range) { W.Cast(); } if (E.IsReady() && SKOMenu.Item("UseEC").GetValue <bool>() && _player.Distance(minion) <= E.Range) { E.Cast(minion, PacketCast); } } if (_player.Mana == 5) { if (SKOMenu.Item("Save").GetValue <bool>()) { return; } if (SKOMenu.Item("FPrio").GetValue <StringList>().SelectedIndex == 0 && Q.IsReady() && SKOMenu.Item("UseQC").GetValue <bool>() && _player.Distance(minion) <= Q.Range) { Q.Cast(); } if (SKOMenu.Item("FPrio").GetValue <StringList>().SelectedIndex == 1 && W.IsReady() && SKOMenu.Item("UseWC").GetValue <bool>() && _player.Distance(minion) <= W.Range) { W.Cast(); } if (SKOMenu.Item("FPrio").GetValue <StringList>().SelectedIndex == 2 && E.IsReady() && SKOMenu.Item("UseEC").GetValue <bool>() && _player.Distance(minion) <= E.Range) { E.Cast(minion, PacketCast); } } if (SKOMenu.Item("UseItemsClear").GetValue <bool>()) { if (_player.Distance(minion) < _player.AttackRange + 50) { TMT.Cast(); HYD.Cast(); } YMG.Cast(); } } }
private static void TripleQ(Obj_AI_Hero target) { if (target.IsValidTarget()) { if (Player.Mana == 5 && R.IsReady() && Player.Distance(target) <= R.Range && Q.IsReady()) { R.Cast(); } if (Player.Mana < 5) { Drawing.DrawText(Player.Position.X, Player.Position.Y, Color.Red, "R is not ready, or you do not have 5 ferocity"); } if (Player.Mana == 5 && Player.HasBuff("RengarR") && Q.IsReady() && Player.Distance(target) <= Q.Range) { Q.Cast(); } if (Player.Mana == 5 && !Player.HasBuff("RengarR") && Q.IsReady() && Player.Distance(target) <= Q.Range) { Q.Cast(); } if (Player.Mana <= 4) { if (Q.IsReady() && Player.Distance(target) <= Q.Range) { Q.Cast(); } if (W.IsReady() && Player.Distance(target) <= W.Range) { W.Cast(); } if (E.IsReady() && Player.Distance(target) <= E.Range) { E.Cast(target, PacketCast); } } if (Player.Distance(target) < Player.AttackRange + 50) { TMT.Cast(); HYD.Cast(); STD.Cast(); } BWC.Cast(target); BRK.Cast(target); RO.Cast(target); YMG.Cast(); } }
private static void TripleQ(Obj_AI_Hero target) { if (target.IsValidTarget()) { if (_player.Mana == 5 && R.IsReady() && _player.Distance(target) <= R.Range && Q.IsReady()) { R.Cast(); } if (_player.Mana == 5 && _player.HasBuff("RengarR") && _player.Distance(target) <= Q.Range) { CastQ(target); } if (_player.Mana == 5 && !_player.HasBuff("RengarR") && _player.Distance(target) <= Q.Range) { CastQ(target); } if (_player.Mana <= 4) { if (_player.Distance(target) <= Q.Range) { CastQ(target); } if (_player.Distance(target) <= W.Range) { CastW(target); } if (_player.Distance(target) <= E.Range) { CastE(target); } } if (_player.Distance(target) < _player.AttackRange + 50) { TMT.Cast(); HYD.Cast(); STD.Cast(); } BWC.Cast(target); BRK.Cast(target); RO.Cast(target); YMG.Cast(); } }
private static void Harass() { var target = SimpleTs.GetTarget(E.Range, SimpleTs.DamageType.Physical); if (target.IsValidTarget()) { if (_player.Mana <= 4) { if (SKOMenu.Item("UseWH").GetValue <bool>() && _player.Distance(target) <= W.Range) { CastW(target); } if (SKOMenu.Item("UseEH").GetValue <bool>() && _player.Distance(target) <= E.Range) { CastE(target); } } if (_player.Mana == 5) { if (SKOMenu.Item("UseWH").GetValue <bool>() && SKOMenu.Item("HPrio").GetValue <StringList>().SelectedIndex == 0) { CastW(target); } if (SKOMenu.Item("UseEH").GetValue <bool>() && SKOMenu.Item("HPrio").GetValue <StringList>().SelectedIndex == 1) { CastE(target); } } if (SKOMenu.Item("UseItemsHarass").GetValue <bool>()) { if (_player.Distance(target) < _player.AttackRange + 50) { TMT.Cast(); HYD.Cast(); STD.Cast(); } BWC.Cast(target); BRK.Cast(target); RO.Cast(target); YMG.Cast(); } } }
private static void Clear() { var allminions = MinionManager.GetMinions(player.ServerPosition, MiniQ.Range, MinionTypes.All, MinionTeam.NotAlly, MinionOrderTypes.MaxHealth); foreach (var minions in allminions) { var qDmg = player.GetSpellDamage(minions, SpellSlot.Q); var qpredmin = MiniQ.GetPrediction(minions); var qpredmeg = MegaQ.GetPrediction(minions); if (minions.IsValidTarget(MegaQ.Range) && MegaGnar) { if (SKOMenu.Item("UseQC").GetValue <bool>() && MegaQ.IsReady() && player.Distance(minions) <= MegaQ.Range) { MegaQ.Cast(minions, PacketCast); } if (SKOMenu.Item("UseWC").GetValue <bool>() && MegaW.IsReady() && player.Distance(minions) <= MegaW.Range) { MegaW.Cast(minions, PacketCast); } } else if (minions.IsValidTarget(MiniQ.Range) && !MegaGnar) { if (SKOMenu.Item("UseQC").GetValue <bool>() && MiniQ.IsReady() && player.Distance(minions) <= MiniQ.Range) { MegaQ.Cast(minions, PacketCast); } } if (SKOMenu.Item("UseItemsClear").GetValue <bool>()) { if (player.Distance(minions) < player.AttackRange + player.BoundingRadius) { TMT.Cast(); HYD.Cast(); } YMG.Cast(); } } }
private static void Harass(Obj_AI_Hero target) { if (target.IsValidTarget()) { if (Player.Mana <= 4) { if (SKOMenu.Item("UseWH").GetValue <bool>() && W.IsReady() && Player.Distance(target) <= W.Range) { W.Cast(); } if (SKOMenu.Item("UseEW").GetValue <bool>() && E.IsReady() && Player.Distance(target) <= E.Range) { E.Cast(target, PacketCast); } } if (Player.Mana == 5) { if (SKOMenu.Item("UseWH").GetValue <bool>() && SKOMenu.Item("HPrio").GetValue <StringList>().SelectedIndex == 0 && W.IsReady()) { W.Cast(); } if (SKOMenu.Item("UseEH").GetValue <bool>() && SKOMenu.Item("HPrio").GetValue <StringList>().SelectedIndex == 0 && E.IsReady()) { E.Cast(target, PacketCast); } } if (SKOMenu.Item("UseItemsHarass").GetValue <bool>()) { if (Player.Distance(target) < Player.AttackRange + 50) { TMT.Cast(); HYD.Cast(); STD.Cast(); } BWC.Cast(target); BRK.Cast(target); RO.Cast(target); YMG.Cast(); } } }