public static void OnAfterAttack(AttackableUnit target, EventArgs args) { if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo) && target.IsValid && E.IsReady() && GravesTheTrollMeNu.ComboMenu["useEcombo"].Cast <ComboBox>().CurrentValue == 0) { E.Cast(Side(Player.Position.To2D(), target.Position.To2D(), 65).To3D()); Orbwalker.ResetAutoAttack(); } if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo) && E.IsReady() && target.IsValid && GravesTheTrollMeNu.ComboMenu["useEcombo"].Cast <ComboBox>().CurrentValue == 1) { EloBuddy.Player.CastSpell(SpellSlot.E, Game.CursorPos); Orbwalker.ResetAutoAttack(); } if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo) && E.IsReady() && target.IsValid && GravesTheTrollMeNu.ComboMenu["useEcombo"].Cast <ComboBox>().CurrentValue == 2) { if (Player.Position.Extend(Game.CursorPos, 700).CountEnemiesInRange(700) <= 1) { EloBuddy.Player.CastSpell(SpellSlot.E, Game.CursorPos); Orbwalker.ResetAutoAttack(); } } if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.JungleClear) && E.IsReady() && target.IsValid && GravesTheTrollMeNu.JungleE()) { EloBuddy.Player.CastSpell(SpellSlot.E, Game.CursorPos); Orbwalker.ResetAutoAttack(); } }