public override void Harass() { var Qmode = HarassMenu.combobox("qmode"); if (QMissle != null && Qmode == 0 && EntityManager.Heroes.Enemies.Any(e => e.IsInRange(QMissle, Qsize) && e.IsKillable())) { Q.Cast(Game.CursorPos); } var target = TargetSelector.GetTarget(1000, DamageType.Magical); var Wtarget = TargetSelector.GetTarget(W.Range, DamageType.Magical); var useQ = HarassMenu.checkbox(Q.Slot.ToString()) && target.IsKillable(Q.Range) && Q.IsReady() && Q.Mana(HarassMenu); var useW = HarassMenu.checkbox(W.Slot.ToString()) && W.IsReady() && W.Mana(HarassMenu); if (useQ) { if (Q.Handle.ToggleState != 2 && !target.IsKillable(250)) { if (Q.Handle.ToggleState != 2) { Q.Cast(target, Q.hitchance(Menuini)); } } if (QMissle != null && Q.Handle.ToggleState == 2 && Qmode == 1 && target.IsInRange(QMissle, Qsize)) { Q.Cast(Game.CursorPos); } } if (useW) { if (Wtarget != null) { if (W.Handle.ToggleState != 2 && Wtarget.IsKillable(W.Range)) { W.Cast(); } if (W.Handle.ToggleState == 2 && Wtarget.IsKillable(W2.Range)) { W.Cast(); } } if (Wtarget == null && W.Handle.ToggleState == 2) { W.Cast(); } } }