private static void Loading_OnLoadingComplete(EventArgs args) { if (Player.Instance.Hero != Champion.Annie) { return; } AnnieMenu.Init(); Annie.Init(); Drawing.OnDraw += Drawing_OnDraw; }
static void Main(string[] args) { Loading.OnLoadingComplete += delegate { if (Player.Instance.Hero != Champion.Annie) { return; } Extensions.Update(); Annie.LoadModules(); Drawing.OnDraw += delegate { if (Menu.CheckBox(Menu.Draw, "Disable")) { return; } if (Extensions.Q.IsReady() && Menu.CheckBox(Menu.Draw, "Q")) { Circle.Draw(Color.DarkBlue, Extensions.Q.Range, Player.Instance.Position); } if (Extensions.W.IsReady() && Menu.CheckBox(Menu.Draw, "W")) { Circle.Draw(Color.DarkBlue, Extensions.W.Range, Player.Instance.Position); } if (Extensions.R.IsReady() && Menu.CheckBox(Menu.Draw, "R")) { Circle.Draw(Color.DarkBlue, Extensions.R.Range, Player.Instance.Position); } if (Extensions.Flash.IsReady() && Menu.CheckBox(Menu.Draw, "Flash")) { Circle.Draw(Color.Yellow, Extensions.Flash.Range + Extensions.R.Range, Player.Instance.Position); } }; }; }