public static void Init()
        {
            menu = new Menu("Anti Rito", "Anti Rito", true);
            menu.Add(new MenuSeparator("Anti Rito", "Anti Rito"));
            menu.Add(new MenuSeparator("Version", "Version: " + "1.0.0.0"));
            menu.Add(new MenuSeparator("Credit", "MostlyPride"));
            menu.Add(new MenuSeparator("Rep", "+Rep If you use this :)"));

            OneSpell = menu.Add(new Menu("OneSpellOneTick", "OneSpellOneTick"));
            OneSpell.Add(new MenuSeparator("OneSpellOneTick Settings", "OneSpellOneTick Settings"));
            OneSpell.Add(new MenuBool("Enable", "Enable"));
            OneSpell.Add(new MenuBool("Drawing", "Draw Block Count"));

            //OneSpell.Add(new MenuBool("Recast", "Re-cast blocked spell after a delay?");

            menu.Attach();


            Spellbook.OnCastSpell += Spellbook_OnCastSpell;
            Drawing.OnDraw        += onDrawArgs =>
            {
                if (OneSpell["Drawing"].GetValue <MenuBool>().Enabled)
                {
                    Drawing.DrawText(180, 100, System.Drawing.Color.Aqua, "Blocked" + BlockedCount + "Spells");
                    //(Drawing.Width - 180, 100, System.Drawing.Color.Lime, "Blocked " + BlockedCount + " Spells");
                }
            };
        }
Beispiel #2
0
        public static void Init2()
        {
            menu = MainMenu.AddMenu("Anti Rito", "Anti Rito");
            menu.AddGroupLabel("Anti Rito");
            menu.AddLabel("Version: " + "1.0.0.0");
            menu.AddSeparator();
            menu.AddLabel("MostlyPride");
            menu.AddSeparator();
            menu.AddLabel("+Rep If you use this :)");

            OneSpell = menu.AddSubMenu("OneSpellOneTick", "OneSpellOneTick");
            OneSpell.AddGroupLabel("OneSpellOneTick Settings");
            OneSpell.Add("Enable", new CheckBox("Enable", true));
            OneSpell.Add("Drawing", new CheckBox("Draw Block Count", true));
        }
Beispiel #3
0
        public static void Init2()
        {
            menu = MainMenu.AddMenu("Anti Rito", "Anti Rito");
            menu.AddGroupLabel("Anti Rito");
            menu.AddLabel("Version: " + "1.0.0.0");
            menu.AddSeparator();
            menu.AddLabel("MostlyPride");
            menu.AddSeparator();
            menu.AddLabel("+Rep If you use this :)");

            OneSpell = menu.AddSubMenu("OneSpellOneTick", "OneSpellOneTick");
            OneSpell.AddGroupLabel("OneSpellOneTick Settings");
            OneSpell.Add("Enable", new CheckBox("Enable", true));
            OneSpell.Add("Drawing", new CheckBox("Draw Block Count", true));
            //OneSpell.AddItem(new MenuItem("Recast", "Re-cast blocked spell after a delay?").SetValue(true));
        }