Exemple #1
0
        public static void OnLoad(EventArgs args)
        {
            if (ObjectManager.Player.CharData.BaseSkinName != "Lux")
            {
                return;
            }

            spells[Spells.Q].SetSkillshot(0.25f, 70f, 1200f, false, SkillshotType.SkillshotLine);
            spells[Spells.E].SetSkillshot(0.25f, 275f, 1300f, false, SkillshotType.SkillshotCircle);
            spells[Spells.R].SetSkillshot(1000f, 190f, int.MaxValue, false, SkillshotType.SkillshotCircle);

            ElLuxMenu.Initialize();
            Game.OnUpdate += OnUpdate;
            Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast;
            GameObject.OnCreate            += Obj_AI_Base_OnCreate;
            GameObject.OnDelete            += Obj_AI_Base_OnDelete;
            Drawing.OnDraw += OnDraw;

            Menu     = ElLuxMenu.Menu;
            cMenu    = ElLuxMenu.cMenu;
            hMenu    = ElLuxMenu.hMenu;
            wMenu    = ElLuxMenu.wMenu;
            lMenu    = ElLuxMenu.lMenu;
            jMenu    = ElLuxMenu.jMenu;
            miscMenu = ElLuxMenu.miscMenu;
            ksMenu   = ElLuxMenu.ksMenu;
            drawMenu = ElLuxMenu.drawMenu;
        }
Exemple #2
0
        public static void OnLoad(EventArgs args)
        {
            if (ObjectManager.Player.CharData.BaseSkinName != "Lux")
            {
                return;
            }

            spells[Spells.Q].SetSkillshot(0.25f, 70f, 1200f, false, SkillshotType.SkillshotLine);
            spells[Spells.E].SetSkillshot(0.25f, 275f, 1300f, false, SkillshotType.SkillshotCircle);
            spells[Spells.R].SetSkillshot(1000f, 190f, int.MaxValue, false, SkillshotType.SkillshotCircle);

            Game.PrintChat(
                "[00:00] <font color='#f9eb0b'>HEEEEEEY!</font> Use ElUtilitySuite for optimal results! xo jQuery");

            ElLuxMenu.Initialize();
            Game.OnUpdate += OnUpdate;
            Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast;
            GameObject.OnCreate            += Obj_AI_Base_OnCreate;
            GameObject.OnDelete            += Obj_AI_Base_OnDelete;
            Drawing.OnDraw += OnDraw;
        }