Ejemplo n.º 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);
            }
        }
Ejemplo n.º 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()));
 }