Exemple #1
0
        public static void OnGameLoad()
        {
            if (player.BaseSkinName != "Shaco")
            {
                return;
            }

            Q = new LeagueSharp.Common.Spell(SpellSlot.Q, 400);
            W = new LeagueSharp.Common.Spell(SpellSlot.W, 425);
            E = new LeagueSharp.Common.Spell(SpellSlot.E, 625);
            R = new LeagueSharp.Common.Spell(SpellSlot.R, 200);

            SpellList = new List <LeagueSharp.Common.Spell> {
                Q, E, W, R
            };

            CreateMenu();
            Illuminati.Init();

            Tiamat = ItemData.Tiamat_Melee_Only.GetItem();
            Hydra  = ItemData.Ravenous_Hydra_Melee_Only.GetItem();

            Game.OnUpdate          += GameOnOnGameUpdate;
            Drawing.OnDraw         += Drawing_OnDraw;
            Orbwalker.OnPostAttack += OrbwalkingOnAfterAttack;

            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;
        }
Exemple #2
0
        public static void OnGameLoad(EventArgs args)
        {
            if (ObjectManager.Player.BaseSkinName != "Shaco")
            {
                return;
            }

            Q = new Spell(SpellSlot.Q, 400);
            W = new Spell(SpellSlot.W, 425);
            E = new Spell(SpellSlot.E, 625);

            SpellList = new List <Spell> {
                Q, E, W
            };

            CreateMenu();
            Illuminati.Init();

            Tiamat = ItemData.Tiamat_Melee_Only.GetItem();
            Hydra  = ItemData.Ravenous_Hydra_Melee_Only.GetItem();

            Game.OnUpdate          += GameOnOnGameUpdate;
            Drawing.OnDraw         += Drawing_OnDraw;
            Orbwalking.AfterAttack += OrbwalkingOnAfterAttack;

            Game.PrintChat(
                "<font color=\"#6699ff\"><b>ChewyMoon's Shaco:</b></font> <font color=\"#FFFFFF\">" + "loaded!" +
                "</font>");
        }
        private static void GameOnOnGameUpdate(EventArgs args)
        {
            if (Menu.Item("EscapeR").GetValue <KeyBind>().Active)
            {
                if (R.IsReady() && Q.IsReady())
                {
                    R.Cast();
                }
                Escape();
            }

            if (Menu.Item("Escape").GetValue <KeyBind>().Active)
            {
                Escape();
            }


            if (Menu.Item("ksE").GetValue <bool>())
            {
                KillSecure();
            }

            if (Menu.Item("PlaceBox").IsActive())
            {
                Illuminati.PlaceInitialBox();
            }

            switch (Orbwalker.ActiveMode)
            {
            case Orbwalking.OrbwalkingMode.Combo:
                Combo();
                break;

            case Orbwalking.OrbwalkingMode.Mixed:
                Harass();
                break;
            }
        }
Exemple #4
0
        private static void GameOnOnGameUpdate(EventArgs args)
        {
            if (escapeMenu["EscapeR"].GetValue <MenuKeyBind>().Active)
            {
                if (R.IsReady() && Q.IsReady())
                {
                    R.Cast();
                }
                Escape();
            }

            if (escapeMenu["Escape"].GetValue <MenuKeyBind>().Active)
            {
                Escape();
            }


            if (ksMenu["ksE"].GetValue <MenuBool>().Enabled)
            {
                KillSecure();
            }

            if (illuminatiMenu["PlaceBox"].GetValue <MenuKeyBind>().Active)
            {
                Illuminati.PlaceInitialBox();
            }

            switch (Orbwalker.ActiveMode)
            {
            case OrbwalkerMode.Combo:
                Combo();
                break;

            case OrbwalkerMode.Harass:
                Harass();
                break;
            }
        }
Exemple #5
0
        private static void GameOnOnGameUpdate(EventArgs args)
        {
            if (getKeyBindItem(escapeMenu, "EscapeR"))
            {
                if (R.IsReady() && Q.IsReady())
                {
                    R.Cast();
                }
                Escape();
            }

            if (getKeyBindItem(escapeMenu, "Escape"))
            {
                Escape();
            }


            if (getCheckBoxItem(ksMenu, "ksE"))
            {
                KillSecure();
            }

            if (getKeyBindItem(illuminatiMenu, "PlaceBox"))
            {
                Illuminati.PlaceInitialBox();
            }

            if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo))
            {
                Combo();
            }

            if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Harass))
            {
                Harass();
            }
        }