public void Harrash(RyzeMain ryze) { var HarrashMinMana = ryze.Menu.HarrashMenu["hMANA"].Cast <Slider>().CurrentValue; var target = TargetSelector.GetTarget(900, DamageType.Magical); var qSpell = ryze.Menu.HarrashMenu["HQ"].Cast <CheckBox>().CurrentValue; if (target != null && Player.Instance.ManaPercent > HarrashMinMana) { var qpred = ryze.SpellsObj.Q.GetPrediction(target); if (qSpell) { if (ryze.SpellsObj.Q.GetPrediction(target).HitChance >= HitChance.High) { ryze.SpellsObj.Q.Cast(target); } } } }
public void update(RyzeMain ryze) { if (functions != null) { if (i < functions.Count) { sendSpell(functions[i], ryze); if (rev) { i++; rev = false; } } else { i = 0; functions = null; rev = false; } } if (Orbwalker.ActiveModesFlags == Orbwalker.ActiveModes.Combo) { Combo(ryze); } else { i = 0; rev = false; functions = null; } if (Orbwalker.ActiveModesFlags == Orbwalker.ActiveModes.Harass) { Harrash(ryze); } if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LaneClear)) { Laneclear(ryze); } if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.JungleClear)) { JungleClear(ryze); } }
public bool sendSpell(string s, RyzeMain ryze) { switch (s) { case "Q": return(ryze.SpellsObj.Qcast()); case "W": return(ryze.SpellsObj.Wcast()); case "E": return(ryze.SpellsObj.Ecast()); case "R": return(ryze.SpellsObj.Rcast()); } return(false); }
static void Main(string[] args) { var n = new RyzeMain(); }
public void Combo(RyzeMain ryze) { var target = TargetSelector.GetTarget(570, DamageType.Magical); if (target != null) { if (functions == null) { if (ryze.SpellsObj.Q.IsReady() && ryze.SpellsObj.W.IsReady() && ryze.SpellsObj.E.IsReady() && ryze.SpellsObj.R.IsReady() && ryze.GetPassiveBuff > 0) { switch (ryze.GetPassiveBuff) { case 1: functions = new List <String> { "R", "E", "Q", "W", "Q", "E", "Q", "W", "Q", "E", "Q" }; break; case 2: functions = new List <String> { "R", "Q", "W", "Q", "E", "Q", "W", "Q", "E", "Q" }; break; case 3: functions = new List <String> { "R", "W", "Q", "E", "Q", "W", "Q", "E", "Q", "W", "Q" }; break; case 4: functions = new List <String> { "R", "W", "Q", "E", "Q", "W", "Q", "E" }; break; } } else if (ryze.SpellsObj.Q.IsReady() && ryze.SpellsObj.W.IsReady() && ryze.SpellsObj.E.IsReady() && !ryze.SpellsObj.R.IsReady() && ryze.GetPassiveBuff > 1) { switch (ryze.GetPassiveBuff) { case 2: functions = new List <String> { "Q", "E", "W", "Q", "E", "Q", "W", "Q", "E" }; break; case 3: functions = new List <String> { "Q", "W", "Q", "E", "Q", "W", "Q", "E" }; break; case 4: functions = new List <String> { "W", "Q", "E", "Q", "W", "Q", "E", "Q", "W", "Q", "E", "Q" }; break; } } else { if (ryze.Hero.HasBuff("ryzepassivecharged")) { if (qcast) { if (ryze.SpellsObj.Q.IsReady()) { ryze.SpellsObj.Qcast(); } else if (ryze.SpellsObj.R.IsReady()) { ryze.SpellsObj.Rcast(); } } else { if (ryze.SpellsObj.W.IsReady()) { ryze.SpellsObj.Wcast(); } else if (ryze.SpellsObj.E.IsReady()) { ryze.SpellsObj.Ecast(); } else if (ryze.SpellsObj.R.IsReady()) { ryze.SpellsObj.Rcast(); } } } else { if (ryze.SpellsObj.Q.IsReady()) { ryze.SpellsObj.Qcast(); } else if (ryze.SpellsObj.W.IsReady()) { ryze.SpellsObj.Wcast(); } else if (ryze.SpellsObj.E.IsReady()) { ryze.SpellsObj.Ecast(); } } } } } else { } }
public void ComboAuto(RyzeMain ryze) { }