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 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 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(); } } }