コード例 #1
0
        private static void Game_OnTick(EventArgs args)
        {
            Utils.StateManager.GetState();
            Utils.KillSteal.Init();
            Utils.UltiManager.Init();

            Indicator.Update("Combo", new Drawings.DamageIndicator.SpellData((int)DamageLib.GetComboDamage(ComboTarget), DamageType.Magical, Color.Lime));
        }
コード例 #2
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (playerClient.Hero != Champion.Katarina)
            {
                Chat.Print("Error During Load (-1)", Color.Red);
                return;
            }

            Spells.GetSpells();
            Drawings._Menu.Initialize();

            Indicator = new Drawings.DamageIndicator.DamageIndicator();
            Indicator.Add("Combo", new Drawings.DamageIndicator.SpellData((int)DamageLib.GetComboDamage(ComboTarget), DamageType.Magical, Color.Lime));

            Chat.Print("Initialized; Setup Loaded Succesfully (0)", Color.LimeGreen);

            Drawing.OnDraw += Utils.DrawingManager.Drawing_OnDraw;
            Game.OnTick    += Game_OnTick;
        }