Пример #1
0
 static void Game_OnGameLoad(EventArgs args)
 {
     if (ObjectManager.Player.ChampionName.ToLowerInvariant() == "annie")
     {
         Annie annie = new Annie();
     }
 }
Пример #2
0
        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;
        }
Пример #3
0
        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;
        }
Пример #4
0
        public AnnieCore(Annie annie)
        {
            Champion   = annie;
            this.annie = annie;
            spells     = annie.Spells;

            Game.OnUpdate           += UseSkills;
            Orbwalking.BeforeAttack += DisableAAToFarm;
        }
Пример #5
0
        public AnnieCore(Annie annie)
        {
            Champion = annie;
            this.annie = annie;
            spells = annie.Spells;

            Game.OnUpdate += UseSkills;
            Orbwalking.BeforeAttack += DisableAAToFarm;
        }
Пример #6
0
        public AnnieTibbers(Annie annie)
        {
            this.annie = annie;

            GameObject.OnCreate += NewTibbers;
            GameObject.OnDelete += DeleteTibbers;
            Game.OnUpdate       += ControlTibbers;
            Orbwalking.OnAttack += AttackTurrent;
            Game.OnUpdate       += FlashTibbersLogic;
        }
Пример #7
0
        public AnnieTibbers(Annie annie)
        {
            this.annie = annie;

            GameObject.OnCreate += NewTibbers;
            GameObject.OnDelete += DeleteTibbers;
            Game.OnUpdate += ControlTibbers;
            Orbwalking.OnAttack += AttackTurrent;
            Game.OnUpdate += FlashTibbersLogic;
        }
Пример #8
0
        public AnnieDrawings(Annie annie)
        {
            this.annie = annie;

            Drawing.OnDraw += DrawAvailableRange;
        }
Пример #9
0
        public AnnieDrawings(Annie annie)
        {
            this.annie = annie;

            Drawing.OnDraw += DrawAvailableRange;
        }