Example #1
0
        private static void OnLoadingComplete(EventArgs args)
        {
            if (Player.ChampionName != "Swain")
            {
                return;
            }
            Chat.Print("Swain The Troll Loaded!!", Color.Gold);
            Chat.Print("Version 1 (1/8/2016", Color.Gold);
            Chat.Print("HF And Dont Troll And Feed Kappa!!", Color.Gold);

            SwainTheTrollMeNu.LoadMenu();
            Game.OnTick += GameOnTick;
            Activator.LoadSpells();
            Game.OnUpdate += OnGameUpdate;

            #region Skill

            Q = new Spell.Skillshot(SpellSlot.Q, 700, SkillShotType.Circular, 250, 1250, 325);
            W = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Circular, 500, 1250, 125);
            E = new Spell.Targeted(SpellSlot.E, 625);
            R = new Spell.Active(SpellSlot.R, 700);

            #endregion

            Gapcloser.OnGapcloser            += AntiGapCloser;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Drawing.OnDraw      += GameOnDraw;
            GameObject.OnCreate += OnCreateObject;
            GameObject.OnDelete += OnDeleteObject;
            DamageIndicator.Initialize(SpellDamage.GetTotalDamage);
        }