Esempio n. 1
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            //asdf
            if (!Me.ChampionName.Equals("Singed"))
            {
                return;                                    //nullifies plugin if champion not singed
            }
            SingedSpell.loadSpells();
            SurferSingedMenu.createMenu();

            Chat.Print("<b><font size='40' color='#00FFFF'>Surfer</font><font size='80' color='#088A29'> Singed</font><font size='20' color='#FF8000'> Loaded</font></b>");

            Game.OnTick += OnTick;
            Game.OnTick += CombatAI.OnTick;
        }
Esempio n. 2
0
        private static void OnTick(EventArgs args)
        {
            //recall debug
            //if (SingedSpell.isRecalling())
            //{
            //    Chat.Print("Recalling...");
            //}


            if (Me.IsDead || SingedSpell.isRecalling())
            {
                return;                                         //IGNORES REST OF CODE ON TICK WHEN DEAD OR RECALLING
            }
            //Handles buffered Q casting without stalling thread
            SingedSpell.checkQTogglePending();
            SingedSpell.setPoisonStatus();


            WaitRun.updateTick(wrlist, Game.Time);
        }