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

            #region Skill

            Q = new Spell.Skillshot(SpellSlot.Q, 950, SkillShotType.Linear, 250, 2000, 60);
            W = new Spell.Skillshot(SpellSlot.W, 850, SkillShotType.Circular, 250, 1650, 150);
            E = new Spell.Skillshot(SpellSlot.E, 425, SkillShotType.Linear);
            R = new Spell.Skillshot(SpellSlot.R, 1000, SkillShotType.Linear, 250, 2100, 100);

            #endregion

            Gapcloser.OnGapcloser  += AntiGapCloser;
            Obj_AI_Base.OnBuffGain += OnBuffGain;
            Drawing.OnDraw         += GameOnDraw;
            Orbwalker.OnPostAttack += OnAfterAttack;
            DamageIndicator.Initialize(SpellDamage.GetTotalDamage);
        }