private void Combo() { if (R.Instance.Name == "JhinRShot") { return; } var orbTarget = Orbwalker.GetTarget(); var wTarget = TargetSelector.GetTarget(W.Range, TargetSelector.DamageType.Physical); if (Menu.Item("ComboW", true).GetValue <bool>() && W.IsReady() && CheckTarget(wTarget, W.Range)) { if (Menu.Item("ComboWOnly", true).GetValue <bool>()) { if (HasPassive(wTarget)) { W.CastTo(wTarget); } } else { W.CastTo(wTarget); } } var qTarget = TargetSelector.GetTarget(Q.Range, TargetSelector.DamageType.Physical); if (Menu.Item("ComboQ", true).GetValue <bool>() && Q.IsReady() && CheckTarget(qTarget, Q.Range) && !Orbwalking.CanAttack()) { Q.CastOnUnit(qTarget, true); } var eTarget = TargetSelector.GetTarget(E.Range, TargetSelector.DamageType.Magical); if (Menu.Item("ComboE", true).GetValue <bool>() && E.IsReady() && CheckTarget(eTarget, E.Range) && Utils.TickCount - LastECast > 2500 && !IsAttack) { if (!eTarget.CanMove()) { E.CastTo(eTarget); } else { if (E.GetPrediction(eTarget).Hitchance >= HitChance.High) { E.Cast(E.GetPrediction(eTarget).UnitPosition); } } } }
private void Combo() { if (R.Instance.Name == "JhinRShot") { return; } var orbTarget = Orbwalker.GetTarget(); if (CheckTarget((Obj_AI_Base)orbTarget, Orbwalking.GetRealAutoAttackRange(Me))) { if (Menu.Item("ComboCutlass", true).GetValue <bool>() && Items.HasItem(3144) && Items.CanUseItem(3144)) { Items.UseItem(3144, (Obj_AI_Base)orbTarget); } if (Menu.Item("ComboBotrk", true).GetValue <bool>() && Items.HasItem(3153) && Items.CanUseItem(3153) && (orbTarget.HealthPercent < 80 || Me.HealthPercent < 80)) { Items.UseItem(3153, (Obj_AI_Base)orbTarget); } } var wTarget = TargetSelector.GetTarget(W.Range, TargetSelector.DamageType.Physical); if (Menu.Item("ComboW", true).GetValue <bool>() && W.IsReady() && CheckTarget(wTarget, W.Range)) { if (Menu.Item("ComboWOnly", true).GetValue <bool>()) { if (HasPassive(wTarget)) { W.CastTo(wTarget); } } else { W.CastTo(wTarget); } } var qTarget = TargetSelector.GetTarget(Q.Range, TargetSelector.DamageType.Physical); if (Menu.Item("ComboQ", true).GetValue <bool>() && Q.IsReady() && CheckTarget(qTarget, Q.Range) && !Orbwalking.CanAttack()) { Q.CastOnUnit(qTarget, true); } var eTarget = TargetSelector.GetTarget(E.Range, TargetSelector.DamageType.Magical); if (Menu.Item("ComboE", true).GetValue <bool>() && E.IsReady() && CheckTarget(eTarget, E.Range) && Utils.TickCount - LastECast > 2500 && !IsAttack) { if (!eTarget.CanMove()) { E.CastTo(eTarget); } else { if (E.GetPrediction(eTarget).Hitchance >= HitChance.High) { E.Cast(E.GetPrediction(eTarget).UnitPosition); } } } }