private static void GameOnOnUpdate(EventArgs args) { DrawTarget = TargetSelector.GetTarget(R.Range); if (DrawTarget.IsValidTarget()) { RRectangle.Start = Player.Position.ToVector2(); RRectangle.End = R.GetPrediction(DrawTarget).CastPosition.ToVector2(); RRectangle.UpdatePolygon(); } if (!Player.CanCast) { return; } switch (Orbwalker.ActiveMode) { case OrbwalkerMode.Harass: DoHarass(); break; case OrbwalkerMode.Combo: DoCombo(); break; } }
//private void BufGain(AIBaseClient sender, AIBaseClientBuffGainEventArgs args) //{ // if (sender.IsMe) // { // Game.Print(args.Buff.Name); // } //} private static void DrawingOnOnDraw(EventArgs args) { var drawQ = Menu["Drawing"].GetValue <MenuBool>("DrawQ"); var drawE = Menu["Drawing"].GetValue <MenuBool>("DrawE"); var drawR = Menu["Drawing"].GetValue <MenuBool>("DrawR"); var drawRPred = Menu["Drawing"].GetValue <MenuBool>("DrawRPred"); var p = Player.Position; if (drawQ) { Render.Circle.DrawCircle(p, Q.Range, Q.IsReady() ? System.Drawing.Color.Aqua : System.Drawing.Color.Red); } if (drawE) { Render.Circle.DrawCircle(p, E.Range, E.IsReady() ? System.Drawing.Color.Aqua : System.Drawing.Color.Red); } if (drawR) { Render.Circle.DrawCircle(p, R.Range, R.IsReady() ? System.Drawing.Color.Aqua : System.Drawing.Color.Red); } if (drawRPred && R.IsReady() && DrawTarget.IsValidTarget()) { RRectangle.Draw(System.Drawing.Color.CornflowerBlue, 3); } }
private static void DrawingOnOnDraw(EventArgs args) { var drawQ = Menu.Item("DrawQ").IsActive(); var drawE = Menu.Item("DrawE").IsActive(); var drawR = Menu.Item("DrawR").IsActive(); var drawRPred = Menu.Item("DrawRPred").IsActive(); var p = Player.Position; if (drawQ) { Render.Circle.DrawCircle(p, Q.Range, Q.IsReady() ? Color.Aqua : Color.Red); } if (drawE) { Render.Circle.DrawCircle(p, E.Range, E.IsReady() ? Color.Aqua : Color.Red); } if (drawR) { Render.Circle.DrawCircle(p, R.Range, R.IsReady() ? Color.Aqua : Color.Red); } if (drawRPred && R.IsReady() && DrawTarget.IsValidTarget()) { RRectangle.Draw(Color.CornflowerBlue, 3); } }
private static void DrawingOnOnDraw(EventArgs args) { var drawQ = Getcheckboxvalue(drawMenu, "DrawQ"); var drawE = Getcheckboxvalue(drawMenu, "DrawE"); var drawR = Getcheckboxvalue(drawMenu, "DrawR"); var drawRPred = Getcheckboxvalue(drawMenu, "DrawRPred"); var p = Player.Position; if (drawQ) { Drawing.DrawCircle(p, Q.Range, Q.IsReady() ? Color.Aqua : Color.Red); } if (drawE) { Drawing.DrawCircle(p, E.Range, E.IsReady() ? Color.Aqua : Color.Red); } if (drawR) { Drawing.DrawCircle(p, R.Range, R.IsReady() ? Color.Aqua : Color.Red); } if (drawRPred && R.IsReady() && DrawTarget.IsValidTarget()) { RRectangle.Draw(Color.CornflowerBlue, 3); } }
private static void GameOnOnUpdate(EventArgs args) { DrawTarget = TargetSelector.GetTarget(R.Range, DamageType.Magical); if (DrawTarget.IsValidTarget()) { RRectangle.Start = Player.Position.To2D(); RRectangle.End = R.GetPrediction(DrawTarget).CastPosition.To2D(); RRectangle.UpdatePolygon(); } if (!Player.CanCast) { return; } switch (Orbwalker.ActiveModesFlags) { case Orbwalker.ActiveModes.Harass: DoHarass(); break; case Orbwalker.ActiveModes.Combo: DoCombo(); break; case Orbwalker.ActiveModes.JungleClear: Jungleclear(); break; case Orbwalker.ActiveModes.LaneClear: Laneclear(); break; } }
private static void DrawingOnOnDraw(EventArgs args) { var drawQ = drawMenu["DrawQ"].Cast <CheckBox>().CurrentValue; var drawE = drawMenu["DrawE"].Cast <CheckBox>().CurrentValue; var drawR = drawMenu["DrawR"].Cast <CheckBox>().CurrentValue; var drawRPred = drawMenu["DrawRPred"].Cast <CheckBox>().CurrentValue; var p = Player.Position; if (drawQ) { Circle.Draw(Q.IsReady() ? Color.Aqua : Color.Red, Q.Range, p); } if (drawE) { Circle.Draw(E.IsReady() ? Color.Aqua : Color.Red, E.Range, p); } if (drawR) { Circle.Draw(R.IsReady() ? Color.Aqua : Color.Red, R.Range, p); } if (drawRPred && R.IsReady() && DrawTarget.IsValidTarget()) { RRectangle.Draw(System.Drawing.Color.CornflowerBlue, 3); } }
private static void GameOnUpdate(EventArgs args) { DrawTarget = TargetSelector.GetTarget(R.Range, DamageType.Magical); if (DrawTarget.IsValidTarget()) { Qpredictions.Start = Blitz.Position.To2D(); Qpredictions.End = Q.GetPrediction(DrawTarget).CastPosition.To2D(); Qpredictions.UpdatePolygon(); } if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo)) { ByCombo(); } AutoLogic(); }
private static void Draws_OnComple(EventArgs args) { var drawQ = Getcheckboxvalue(Blits, "drawQ"); var drawR = Getcheckboxvalue(Blits, "drawR"); var drawQint = Getcheckboxvalue(Blits, "Qint"); var position = Blitz.Position; if (drawQ && Q.IsReady()) { Circle.Draw(Color.LightBlue, Q.Range, Player.Instance.Position); } if (drawR) { Circle.Draw(Color.Red, R.Range, Player.Instance.Position); } if (drawQint && Q.IsReady() && DrawTarget.IsValidTarget()) { Qpredictions.Draw(System.Drawing.Color.CornflowerBlue, 3); } }