Exemplo n.º 1
0
        internal static void Load()
        {
            AIO_Menu.addSubMenu("Activator", "AIO: Activator");

            Menu.AddSubMenu(new Menu("Auto-Potion", "AutoPotion"));
            Menu.AddSubMenu(new Menu("BeforeAttack", "BeforeAttack"));
            Menu.AddSubMenu(new Menu("AfterAttack", "AfterAttack"));
            Menu.AddSubMenu(new Menu("OnAttack", "OnAttack"));
            Menu.AddSubMenu(new Menu("Killsteal", "Killsteal"));
            Menu.AddSubMenu(new Menu("Misc", "Misc"));

            Menu.SubMenu("AutoPotion").AddItem(new MenuItem("AutoPotion.Use Health Potion", "Use Health Potion")).SetValue(true);
            Menu.SubMenu("AutoPotion").AddItem(new MenuItem("AutoPotion.ifHealthPercent", "if Health Percent <")).SetValue(new Slider(55, 0, 100));
            Menu.SubMenu("AutoPotion").AddItem(new MenuItem("AutoPotion.Use Mana Potion", "Use Mana Potion")).SetValue(true);
            Menu.SubMenu("AutoPotion").AddItem(new MenuItem("AutoPotion.ifManaPercent", "if Mana Percent <")).SetValue(new Slider(55, 0, 100));

            Menu.SubMenu("OnAttack").AddItem(new MenuItem("OnAttack.RS", "Use Red Smite")).SetValue(true);
            Menu.SubMenu("Killsteal").AddItem(new MenuItem("Killsteal.BS", "Blue Smite")).SetValue(true);

            Menu.SubMenu("Misc").AddItem(new MenuItem("Misc.Cb", "On Combo")).SetValue(true);
            Menu.SubMenu("Misc").AddItem(new MenuItem("Misc.Hr", "On Harass")).SetValue(true);
            Menu.SubMenu("Misc").AddItem(new MenuItem("Misc.Lc", "On LaneClear")).SetValue(false);
            Menu.SubMenu("Misc").AddItem(new MenuItem("Misc.Jc", "On JungleClear")).SetValue(true);

            additems();
            addPotions();
            AddOrderData();

            Game.OnUpdate           += OnUpdate.Game_OnUpdate;
            Orbwalking.BeforeAttack += BeforeAttack.Orbwalking_BeforeAttack;
            Orbwalking.AfterAttack  += AfterAttack.Orbwalking_AfterAttack;
            Orbwalking.OnAttack     += OnAttack.Orbwalking_OnAttack;
            Spellbook.OnCastSpell   += AfterAttack.Spellbook_OnCastSpell;
        }
Exemplo n.º 2
0
        internal static void Load()
        {
            AIO_Menu.addSubMenu("Activator", "AIO: Activator");

            Menu.AddSubMenu(new Menu("Auto-Potion", "AutoPotion"));
            //Menu.AddSubMenu(new Menu("Auto-Spell", "AutoSpell"));
            //Menu.AddSubMenu(new Menu("Activator: ComboMode", "ComboMode"));
            Menu.AddSubMenu(new Menu("BeforeAttack", "BeforeAttack"));
            Menu.AddSubMenu(new Menu("AfterAttack", "AfterAttack"));
            Menu.AddSubMenu(new Menu("OnAttack", "OnAttack"));
            Menu.AddSubMenu(new Menu("Killsteal", "Killsteal"));
            Menu.AddSubMenu(new Menu("Misc", "Misc"));

            Menu.SubMenu("AutoPotion").AddItem(new MenuItem("AutoPotion.Use Health Potion", "Use Health Potion")).SetValue(true);
            Menu.SubMenu("AutoPotion").AddItem(new MenuItem("AutoPotion.ifHealthPercent", "if Health Percent <")).SetValue(new Slider(55, 0, 100));
            Menu.SubMenu("AutoPotion").AddItem(new MenuItem("AutoPotion.Use Mana Potion", "Use Mana Potion")).SetValue(true);
            Menu.SubMenu("AutoPotion").AddItem(new MenuItem("AutoPotion.ifManaPercent", "if Mana Percent <")).SetValue(new Slider(55, 0, 100));
            Menu.SubMenu("OnAttack").AddItem(new MenuItem("OnAttack.RS", "Use Red Smite")).SetValue(true);
            Menu.SubMenu("AfterAttack").AddItem(new MenuItem("AfterAttack.SF", "Skill First")).SetValue(false);
            Menu.SubMenu("AfterAttack").AddItem(new MenuItem("AfterAttack.AIO", "Use SpellWeaving AACancel")).SetValue(false);
            Menu.SubMenu("Killsteal").AddItem(new MenuItem("Killsteal.BS", "Blue Smite")).SetValue(true);
            Menu.SubMenu("Misc").AddItem(new MenuItem("Misc.BF", "Debug Mode-Check Buff(In Combo mode)")).SetValue(false);
            Menu.SubMenu("Misc").AddItem(new MenuItem("Misc.Cb", "On Combo")).SetValue(true); // Use Item on X mode
            Menu.SubMenu("Misc").AddItem(new MenuItem("Misc.Hr", "On Harass")).SetValue(true);
            Menu.SubMenu("Misc").AddItem(new MenuItem("Misc.Lc", "On LaneClear")).SetValue(false);
            Menu.SubMenu("Misc").AddItem(new MenuItem("Misc.Jc", "On JungleClear")).SetValue(true);

            //Menu.SubMenu("AutoSpell").AddItem(new MenuItem("AutoSpell.Use Heal", "Use Heal")).SetValue(true);
            //Menu.SubMenu("AutoSpell").AddItem(new MenuItem("AutoSpell.Use Ignite", "Use Ignite")).SetValue(true);

            additems();
            addPotions();

            Game.OnUpdate += OnUpdate.Game_OnUpdate;
            //Game.OnUpdate += OnAttack.Game_OnUpdate;
            //Game.OnUpdate += Killsteal.Game_OnUpdate;
            //Game.OnUpdate += AfterAttack.Game_OnUpdate;
            Orbwalking.BeforeAttack += BeforeAttack.Orbwalking_BeforeAttack;
            Orbwalking.AfterAttack  += AfterAttack.Orbwalking_AfterAttack;
            Orbwalking.OnAttack     += OnAttack.Orbwalking_OnAttack;
        }