private static void Loading_OnLoadingComplete(EventArgs args) { if (Player.Instance.Hero != Champion.Pantheon) { return; } PantheonMenu.Init(); Pantheon.Init(); Drawing.OnDraw += Drawing_OnDraw; }
public static void Init() { if (PantheonMenu.CheckBox(PantheonMenu.Misc, "SkinHack")) { Player.Instance.SetSkinId(PantheonMenu.Slider(PantheonMenu.Misc, "SkinID")); } if (PantheonMenu.Keybind(PantheonMenu.Misc, "Reset")) { Player.Instance.SetModel(Player.Instance.ChampionName); } }
private static void Gapcloser_OnGapcloser(AIHeroClient sender, Gapcloser.GapcloserEventArgs e) { if (sender.IsEnemy && sender.IsValid) { if (PantheonMenu.CheckBox(PantheonMenu.Misc, "Gapcloser")) { if (sender.IsValidTarget(W.Range)) { if (W.IsReady()) { W.Cast(sender); } } } } }
private static void Interrupter_OnInterruptableSpell(Obj_AI_Base sender, Interrupter.InterruptableSpellEventArgs e) { if (sender.IsEnemy && sender.IsValid) { if (PantheonMenu.CheckBox(PantheonMenu.Misc, "Interrupter")) { if (sender.IsValidTarget(W.Range)) { if (W.IsReady()) { W.Cast(sender); } } } } }
private static void Drawing_OnDraw(EventArgs args) { if (Pantheon.Q.IsReady() && PantheonMenu.CheckBox(PantheonMenu.Draw, "Q")) { Circle.Draw(Color.LimeGreen, Pantheon.Q.Range, Player.Instance.Position); } if (Pantheon.W.IsReady() && PantheonMenu.CheckBox(PantheonMenu.Draw, "W")) { Circle.Draw(Color.LimeGreen, Pantheon.W.Range, Player.Instance.Position); } if (Pantheon.E.IsReady() && PantheonMenu.CheckBox(PantheonMenu.Draw, "E")) { Circle.Draw(Color.LimeGreen, Pantheon.E.Range, Player.Instance.Position); } }