Example #1
0
        private static void OnLoadingComplete(EventArgs args)
        {
            if (Player.ChampionName != "Taric")
            {
                return;
            }
            Chat.Print(
                "<font color=\"#ac4cdc\" >MeLoDag Presents </font><font color=\"#fffffff\" >Taric </font><font color=\"#ac4cdc\" >Kappa Kippo</font>");
            TarickTheTrollMeNu.LoadMenu();
            Game.OnTick += GameOnTick;
            Activator.LoadSpells();
            Game.OnUpdate += OnGameUpdate;

            #region Skill

            Q = new Spell.Active(SpellSlot.Q, 350);
            W = new Spell.Targeted(SpellSlot.W, 800);
            E = new Spell.Skillshot(SpellSlot.E, 580, SkillShotType.Linear, 250, int.MaxValue, 140);
            R = new Spell.Active(SpellSlot.R, 400);

            #endregion

            Gapcloser.OnGapcloser            += AntiGapCloser;
            Interrupter.OnInterruptableSpell += Interupt;
            Obj_AI_Base.OnBuffGain           += OnBuffGain;
            Drawing.OnDraw += GameOnDraw;
            DamageIndicator.Initialize(SpellDamage.GetTotalDamage);
        }