internal override void OnAfterAttack(AttackableUnit target, EventArgs args) { if (ComboMenu.IsChecked("use.E.forAAReset") && Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo)) { E.AfterAttackLogic(target, CastLogics.TargetType.AnyEnemy); } if (HarrasMenu.IsChecked("use.E.forAAReset") && Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Harass)) { E.AfterAttackLogic(target, CastLogics.TargetType.AnyEnemy); } if (LaneClearMenu.IsChecked("use.E.Lasthit") && Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LaneClear)) { E.AfterAttackLogic(target, CastLogics.TargetType.MinionLasthit); } if (LaneClearMenu.IsChecked("use.E.Any") && Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LaneClear)) { E.AfterAttackLogic(target, CastLogics.TargetType.AnyEnemyMinions); } if (JungleClearMenu.IsChecked("use.E.Lasthit") && Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.JungleClear)) { E.AfterAttackLogic(target, CastLogics.TargetType.MonsterLastHit); } if (JungleClearMenu.IsChecked("use.E.Any") && Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.JungleClear)) { E.AfterAttackLogic(target, CastLogics.TargetType.AnyMonster); } if (PassiveMenu.IsChecked("use.E.Wards")) { E.AfterAttackLogic(target, CastLogics.TargetType.Wards); } if (PassiveMenu.IsChecked("use.E.Objects")) { E.AfterAttackLogic(target, CastLogics.TargetType.Objects); } }