static void Game_OnGameLoad(EventArgs args) { if (ObjectManager.Player.CharacterName.ToLowerInvariant() == "chogath") { ChoGath chogath = new ChoGath(); } }
public FlashUlt(ChoGath choGath) { this.choGath = choGath; flash = FlashSpell.Flash(choGath.Player); Game.OnUpdate += Game_OnUpdate; }
static void Game_OnGameLoad(EventArgs args) { if (ObjectManager.Player.ChampionName.ToLowerInvariant() == "chogath") { ChoGath chogath = new ChoGath(); } }