Esempio n. 1
0
        public static void OnLoad()
        {
            Q = new Spell(SpellSlot.Q, 800f);
            Q.SetSkillshot(0.25f, 60f, 2400f, false, SkillshotType.Line);

            Q2 = new Spell(SpellSlot.Q, 550f);
            W  = new Spell(SpellSlot.W, 1200f);
            E  = new Spell(SpellSlot.E, 225f + objPlayer.BoundingRadius);

            R = new Spell(SpellSlot.R, 450f + objPlayer.BoundingRadius);
            R.SetSkillshot(0.25f, UtilityManager.ConvertToDegrees(100), float.MaxValue, false, SkillshotType.Cone);

            /* Main */
            Tick.OnTick += Events.OnTick;

            /* Drawings */
            Drawing.OnDraw     += Drawings.OnDraw;
            Drawing.OnEndScene += DamageIndicatorManager.OnEndScene;

            /* Orbwalker */
            Orbwalker.OnAction += Events.OnAction;

            /* Gapcloser */
            Gapcloser.OnGapcloser += Events.OnGapcloser;
        }