static void Game_OnGameLoad(EventArgs args) { if (ObjectManager.Player.ChampionName.ToLowerInvariant() == "annie") { Annie annie = new Annie(); } }
public AnnieButtons(Annie annie) { this.annie = annie; ShowEasyButton = (KoreanUtils.GetParamBool(annie.MainMenu, "showeeasybutton")); int posX = KoreanUtils.GetParamInt(annie.MainMenu, "easybuttonpositionx"); posX = (posX == 0) ? 50 : posX; int posY = KoreanUtils.GetParamInt(annie.MainMenu, "easybuttonpositiony"); posY = (posY == 0) ? 50 : posY; Vector2 pos = new Vector2(posX, posY); StunButtonOn = new Render.Sprite(Resources.StunON, pos); StunButtonOn.Scale = new Vector2(0.90f, 0.90f); StunButtonOn.Add(); StunButtonOff = new Render.Sprite(Resources.StunOFF, pos); StunButtonOff.Scale = new Vector2(0.90f, 0.90f); StunButtonOff.Add(); if (ShowEasyButton) { StunButtonOn.Visible = KoreanUtils.GetParamBool(annie.MainMenu, "savestunforcombo"); StunButtonOff.Visible = !StunButtonOn.Visible; } KoreanUtils.GetParam(annie.MainMenu, "savestunforcombo").ValueChanged += SaveStunForComboValueChanged; Game.OnWndProc += ButtonControl; }
public AnnieButtons(Annie annie) { this.annie = annie; ShowEasyButton = (KoreanUtils.GetParamBool(annie.MainMenu, "showeeasybutton")); int posX = KoreanUtils.GetParamInt(annie.MainMenu, "easybuttonpositionx"); posX = (posX == 0) ? 50 : posX; int posY = KoreanUtils.GetParamInt(annie.MainMenu, "easybuttonpositiony"); posY = (posY == 0) ? 50 : posY; Vector2 pos = new Vector2(posX, posY); StunButtonOn = new Render.Sprite(Resources.StunON, pos); StunButtonOn.Scale = new Vector2(0.90f, 0.90f); StunButtonOn.Add(); StunButtonOff = new Render.Sprite(Resources.StunOFF, pos); StunButtonOff.Scale = new Vector2(0.90f, 0.90f); StunButtonOff.Add(); if (ShowEasyButton) { StunButtonOn.Visible = KoreanUtils.GetParamBool(annie.MainMenu, "savestunforcombo"); StunButtonOff.Visible = !StunButtonOn.Visible; } KoreanUtils.GetParam(annie.MainMenu, "savestunforcombo").ValueChanged += SaveStunForComboValueChanged; Game.OnWndProc += ButtonControl; }
public AnnieCore(Annie annie) { Champion = annie; this.annie = annie; spells = annie.Spells; Game.OnUpdate += UseSkills; Orbwalking.BeforeAttack += DisableAAToFarm; }
public AnnieCore(Annie annie) { Champion = annie; this.annie = annie; spells = annie.Spells; Game.OnUpdate += UseSkills; Orbwalking.BeforeAttack += DisableAAToFarm; }
public AnnieTibbers(Annie annie) { this.annie = annie; GameObject.OnCreate += NewTibbers; GameObject.OnDelete += DeleteTibbers; Game.OnUpdate += ControlTibbers; Orbwalking.OnAttack += AttackTurrent; Game.OnUpdate += FlashTibbersLogic; }
public AnnieTibbers(Annie annie) { this.annie = annie; GameObject.OnCreate += NewTibbers; GameObject.OnDelete += DeleteTibbers; Game.OnUpdate += ControlTibbers; Orbwalking.OnAttack += AttackTurrent; Game.OnUpdate += FlashTibbersLogic; }
public AnnieDrawings(Annie annie) { this.annie = annie; Drawing.OnDraw += DrawAvailableRange; }
public AnnieDrawings(Annie annie) { this.annie = annie; Drawing.OnDraw += DrawAvailableRange; }