public static void Init() { if (Target() != null) { if (Draven.Q.IsReady() && DravenMenu.CheckBox(DravenMenu.Combo, "Q")) { if (Target().IsValidTarget(Player.Instance.GetAutoAttackRange() + 70)) { Draven.Q.Cast(); } } if (Draven.E.IsReady() && DravenMenu.CheckBox(DravenMenu.Combo, "E")) { if (Target().IsValidTarget(Draven.E.Range)) { var EPred = Draven.E.GetPrediction(Target()); if (EPred.HitChancePercent >= DravenMenu.Slider(DravenMenu.Principal, "EPred")) { Draven.E.Cast(EPred.UnitPosition); } } } if (Draven.R.IsReady() && DravenMenu.CheckBox(DravenMenu.Combo, "R")) { if (Target().IsValidTarget(Draven.R.Range)) { var RPred = Draven.R.GetPrediction(Target()); if (RPred.HitChancePercent >= DravenMenu.Slider(DravenMenu.Principal, "RPred")) { if (Target().Health <= Damages.RDamage(Target())) { Draven.R.Cast(RPred.UnitPosition); } } } } } }
public static void Init() { if (Draven.W.IsReady() && DravenMenu.CheckBox(DravenMenu.Flee, "W")) { Draven.W.Cast(); } if (Draven.E.IsReady() && DravenMenu.CheckBox(DravenMenu.Flee, "E")) { var Target = TargetSelector.GetTarget(Draven.E.Range, DamageType.Physical); if (Target != null) { var EPred = Draven.E.GetPrediction(Target); if (EPred.HitChancePercent >= DravenMenu.Slider(DravenMenu.Principal, "EPred")) { Draven.E.Cast(EPred.UnitPosition); } } } }