public override void Combo() { RAOE(ComboMenu.checkbox("Raoe"), ComboMenu.slider("Rhits")); var target = TargetSelector.GetTarget(Q.Range + 100, DamageType.Physical); var selected = TargetSelector.SelectedTarget; if (selected != null && selected.IsValidTarget()) { target = selected; } if (ComboMenu.checkbox("E") && target != null && !target.IsValidTarget(user.GetAutoAttackRange())) { if (ComboMenu.checkbox("Egap")) { foreach (var obj in ObjectManager.Get <Obj_AI_Base>().OrderBy(e => e.EndPos().Distance(target)).Where(e => e != null && ESector(target).IsInside(e) && e.IsValidTarget())) { if (obj == target) { if (obj.EndPos().IsInRange(target.PredPos(250), user.GetAutoAttackRange())) { EQ(obj, target, ComboMenu.checkbox("EQ") || (ComboMenu.checkbox("EQ3") && Q3), ComboMenu.checkbox("Edive")); } } else { EQ(obj, target, ComboMenu.checkbox("EQ") || (ComboMenu.checkbox("EQ3") && Q3), ComboMenu.checkbox("Edive")); } } } else { EQ(target, target, ComboMenu.checkbox("EQ") || ComboMenu.checkbox("EQ3") && Q3, ComboMenu.checkbox("Edive")); } } if (target != null && target.IsKillable(Q.Range + 25)) { if (Q3 && Q.IsReady() && target.IsKillable(Q.Range)) { Q3AOE(target, 2); } if ((ComboMenu.checkbox("Q") || ComboMenu.checkbox("Q3") && Q3) && !user.IsDashing() && target.IsKillable(Q.Range) && Q.IsReady()) { Q.Cast(target, Q.hitchance(Menuini)); } if (ComboMenu.checkbox("E") && E.IsReady()) { EQ(target, target, ComboMenu.checkbox("EQ") || ComboMenu.checkbox("EQ3") && Q3, ComboMenu.checkbox("Edive")); } if (BeforeImpact && target.IsKillable(R.Range) && R.IsReady() && target.IsAirborne() && ((ComboMenu.checkbox("R") && BeforeImpact && R.GetDamage(target) >= target.Health) || (ComboMenu.checkbox("RCombo") && target.TotalDamage(SpellList) + user.GetAutoAttackDamage(target, true) >= target.Health))) { R.Cast(); } } }