Пример #1
0
        public static void DamageIndicator(bool jungle = false, string draw = "")
        {
            Draw.AddSeparator();
            Draw.AddGroupLabel("Enemy Damage Indicator Settings");
            Draw.AddLabel("Drawing: " + (draw == "" ? "Combo damage" : draw));
            Draw.AddCheckBox("draw.enemyDmg", "Draw damage on enemy healthbar");
            Draw.AddColorItem("draw.color.enemyDmg", 3);

            if (jungle)
            {
                Draw.AddSeparator();
                Draw.AddGroupLabel("Jungle Damage Indicator Settings");
                Draw.AddCheckBox("draw.jungleDmg", "Draw damage on jungle healthbar");
                Draw.AddColorItem("draw.color.jungleDmg", 15);
            }
        }
Пример #2
0
 public static void DrawKeys(
     bool useQ     = true,
     bool defaultQ = true,
     bool useW     = true,
     bool defaultW = true,
     bool useE     = true,
     bool defaultE = true,
     bool useR     = true,
     bool defaultR = true)
 {
     if (useQ)
     {
         Draw.AddSeparator();
         Draw.AddGroupLabel("Q Settings");
         Draw.AddCheckBox("draw.q", "Draw Q", defaultQ);
         Draw.AddColorItem("color.q");
         Draw.AddWidthItem("width.q");
     }
     if (useW)
     {
         Draw.AddSeparator();
         Draw.AddGroupLabel("W Settings");
         Draw.AddCheckBox("draw.w", "Draw W", defaultW);
         Draw.AddColorItem("color.w");
         Draw.AddWidthItem("width.w");
     }
     if (useE)
     {
         Draw.AddSeparator();
         Draw.AddGroupLabel("E Settings");
         Draw.AddCheckBox("draw.e", "Draw E", defaultE);
         Draw.AddColorItem("color.e");
         Draw.AddWidthItem("width.e");
     }
     if (useR)
     {
         Draw.AddSeparator();
         Draw.AddGroupLabel("R Settings");
         Draw.AddCheckBox("draw.r", "Draw R", defaultR);
         Draw.AddColorItem("color.r");
         Draw.AddWidthItem("width.r");
     }
     Draw.Add("draw.advanced", new CheckBox("Show Advanced Menu", false)).OnValueChange +=
         Value.AdvancedModeChanged;
     JsonSettings.Profile.Options.Add(new JsonSetting("draw.advanced", Setting.Checkbox, Draw["draw.advanced"].Cast <CheckBox>().CurrentValue.ToString()));
 }
Пример #3
0
        public static void Init()
        {
            try
            {
                /*
                 *  How does it work?
                 *
                 *  Just Call The method in Champion script when you need to use, remember some menus need variables for generating
                 * Test
                 */

                //
                //  Main Menu
                //
                Menu = EloBuddy.SDK.Menu.MainMenu.AddMenu("OKTR AIO ", "marks.aio", Player.Instance.ChampionName);
                Menu.AddGroupLabel("One Key To Report AIO - " + Player.Instance.ChampionName);
                Menu.AddLabel("Hope you guys enjoy the ONE KEY TO RAXE AIO!");
                Menu.AddLabel("Doh! is One Key To Report >_< \n Or OneKeyToRape (your enemies) ಠ_ಠ");
                Menu.AddSeparator();
                Menu.AddGroupLabel("Main Settings:");
                Menu.Add("playsound", new CheckBox("Play Welcome Sound"));
                Menu.AddSeparator();
                Menu.AddGroupLabel("Performance Settings:");
                Menu.Add("useonupdate", new CheckBox("Improve PERFORMANCE*", false));
                Menu.AddSeparator();
                Menu.AddLabel("*=Please take care, if your improve your PERFORMANCE the AIO will have less FPS");

                //Todo Improve Menu Design

                //
                //  Combo Menu
                //
                Combo = Menu.AddSubMenu("Combo Menu", "combo");
                Combo.AddGroupLabel("Combo Settings");
                //If wanna to add more function use MainMenu.Combo.Add... Call in Champion Script

                //
                //  Lane Clear
                //
                Lane = Menu.AddSubMenu("LaneClear Menu", "lane");

                //
                //  Jungle Clear
                //
                Jungle = Menu.AddSubMenu("JungleClear Menu", "jungle");

                //
                //  Harrass
                //
                Harass = Menu.AddSubMenu("Harass Menu", "harass");
                Harass.AddGroupLabel("Harass Settings");

                //
                //  Flee Menu
                //
                //Use Initiator FleeKeys(bool,bool,bool,bool)

                //
                //  KS
                //
                Ks = Menu.AddSubMenu("Kill Steal", "killsteal");
                Ks.AddGroupLabel("Kill Steal Settings");

                //
                // Misc Menu
                //MiscMenuInit();
                //
                //Call it on Champion Script... need to configurate manually

                //
                //  Draw Menu
                //
                Draw = Menu.AddSubMenu("Drawing Menu", "draw");
                Draw.AddGroupLabel("Drawing Settings");
                Draw.AddSeparator();
                Draw.AddCheckBox("draw.disable", "Disable Drawings", false);
                Draw.AddCheckBox("draw.ready", "Display only ready skills");
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
                Chat.Print(
                    "<font color='#23ADDB'>Marksman AIO:</font><font color='#E81A0C'> an error ocurred. (Code 2)</font>");
            }
            //TODO: Main menu stuff n things
        }