Пример #1
0
        public static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Ryze") return;

            var notStart = new SimpleNotification("Ryze Load Status", "Ryze sucessfully loaded.");
            Notifications.Show(notStart, 5000);

            Config.Dattenosa();
            Spells.InitSpells();
            InitEvents();
        }
Пример #2
0
        private void ButtonBase_OnClick(object sender, RoutedEventArgs e)
        {
//            var manager = NotificationHostManager.GetHostByScreen(Screen.PrimaryScreen);

            var manager = NotificationHostManager.GetHostByVisual(this);

            foreach (Position position in Enum.GetValues(typeof(Position)))
            {
                var notification = new SimpleNotification($"Test notification {position}.");
                manager.DisplayAsync(notification, position);
            }
        }
Пример #3
0
            public void GotSimpleNotification(SimpleNotification p0, TrackingInfo p1)
            {
                XCSimpleNotification XSimple = AdapterSimple.GetCommonType(p0);

                if (NearPCL.GetContentManager() != null)
                {
                    NearPCL.GetContentManager().GotXSimpleNotification(XSimple);
                }
                else
                {
                    Console.WriteLine("You receive a content but you haven't registered a content manager");
                }
            }
Пример #4
0
        public void ShowNotification(string notificationId, string title, string message, NotificationIconType notificationType, NotificationOptions options)
        {
            Screen screen = GetCurrentScreen();

            if (string.IsNullOrWhiteSpace(notificationId))
            {
                notificationId = DEFAULT_NOTIFICATION_ID;
            }


            SimpleNotification notification = new SimpleNotification(options ?? new NotificationOptions(), notificationType)
            {
                DataContext = new SimpleNotificationViewModel {
                    Title = title, Message = message, ObservableId = notificationId,
                }
            };

            if (notification.Options.IsReplace)
            {
                var matchingNotificationViews = GetNotifications().Where(n => (n.DataContext as SimpleNotificationViewModel)?.ObservableId == notificationId);
                foreach (var notificationView in matchingNotificationViews)
                {
                    if (notificationView.DataContext is SimpleNotificationViewModel matchingNotificationViewModel)
                    {
                        //Close old notification when:
                        //1) Notification with matching ID is found but this ID is not the default
                        //2) Notification with default ID and matching content is found
                        if (matchingNotificationViewModel.ObservableId == notificationId)
                        {
                            if (matchingNotificationViewModel.ObservableId != DEFAULT_NOTIFICATION_ID)
                            {
                                notificationView.Close();
                            }
                            else
                            if (matchingNotificationViewModel.Message == message && matchingNotificationViewModel.Title == title)
                            {
                                notificationView.Close();
                            }
                        }
                    }
                }
            }

            // Do not create notifications without content
            if (string.IsNullOrWhiteSpace(message))
            {
                return;
            }

            AddNotification(screen, notification);
        }
Пример #5
0
 private void GameOnUpdate(EventArgs args)
 {
     if (ObjectManager.Player.HasItem(Id))
     {
         if (!ActivatedMessage)
         {
             ActivatedMessage = true;
             var notifie = new SimpleNotification("CarryMe Activator", "Item+ : " + Name + " activated!");
             Notifications.Show(notifie);
         }
         if (Menu[IdentBase + ".justActiveInCombo"].Cast <CheckBox>().CurrentValue&&
             !Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo))
         {
             return;
         }
         if (!Item.CanUseItem(Id))
         {
             return;
         }
         if (DelayTick + Menu[IdentBase + ".CheckDelay"].Cast <Slider>().CurrentValue < Core.GameTickCount)
         {
             DelayTick = Core.GameTickCount;
             foreach (var buddy in EntityManager.Heroes.Allies.Where(CleanserItems.IsActiveForHero))
             {
                 var buffs           = GetBuffs(buddy);
                 var longestBufftime = buffs.Select(buff => buff.EndTime - buff.StartTime).Concat(new[] { 0f }).Max();
                 if (!(longestBufftime >= Menu[IdentBase + ".Duration"].Cast <Slider>().CurrentValue) ||
                     buffs.Count() < Menu[IdentBase + ".minBuffsforUse"].Cast <Slider>().CurrentValue)
                 {
                     continue;
                 }
                 if (buddy.IsMe)
                 {
                     Item.UseItem(Id);
                     return;
                 }
             }
         }
     }
     else
     {
         if (!ActivatedMessage)
         {
             return;
         }
         ActivatedMessage = false;
         var notifie = new SimpleNotification("CarryMe Activator", "Item- : " + Name + " disabled!");
         Notifications.Show(notifie);
     }
 }
Пример #6
0
        public static void Do_Normal_Insec()
        {
            if (!CanInsec)
            {
                return;
            }
            var normal       = Config.Insec["normal.1"].Cast <ComboBox>().CurrentValue;
            var target       = TargetSelector.GetTarget(1100, DamageType.Magical);
            var Objectnumber = Config.Insec["normalgoto"].Cast <ComboBox>().CurrentValue;
            var Object       = Objectnumber == 0 ?
                               Player.Instance.Position : Objectnumber == 1 ?
                               Game.CursorPos : Objectnumber == 2 ? (target != null ? target.Position : Game.CursorPos) : Vector3.Zero;

            if (target != null && Spells.R.IsReady())
            {
                if (target.IsValidTarget(1100))
                {
                    if (ObjManager.All_Basic_Is_Ready)
                    {
                        if ((PositionSelected != new Vector3() || AllySelected != null) || normal != 3)
                        {
                            var pred = Prediction.Position.PredictUnitPosition(target, 400);
                            Mode.Flee(pred.To3DWorld(), true);
                        }
                        if (normal == 3 && PositionSelected == new Vector3() && AllySelected == null)
                        {
                            var Notif = new SimpleNotification("UBAzir Insec Information", "You should select Pos/Ally before insec");
                            if (CanNotification)
                            {
                                Notifications.Show(Notif);
                                LastNotification = Game.Time;
                            }
                        }
                    }
                    else
                    {
                        Player.IssueOrder(GameObjectOrder.MoveTo, Object);
                    }
                }
                else
                {
                    Player.IssueOrder(GameObjectOrder.MoveTo, Object);
                }
            }
            else
            {
                Player.IssueOrder(GameObjectOrder.MoveTo, Object);
            }
        }
Пример #7
0
 private void GameOnUpdate(EventArgs args)
 {
     if (ObjectManager.Player.HasItem(Id))
     {
         if (!ActivatedMessage)
         {
             ActivatedMessage = true;
             var notifie = new SimpleNotification("CarryMe Activator", "Item+ : " + Name + " activated!");
             Notifications.Show(notifie);
         }
         if (!Item.CanUseItem(Id))
         {
             return;
         }
         if (DelayTick + Menu[IdentBase + ".CheckDelay"].Cast <Slider>().CurrentValue < Core.GameTickCount)
         {
             DelayTick = Core.GameTickCount;
             var target = TargetSelector.GetTarget(650, DamageType.Physical);
             if (Menu[IdentBase + ".ActiveInCombo"].Cast <CheckBox>().CurrentValue&&
                 Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo))
             {
                 var SiegeMinion = ObjectManager.Get <Obj_AI_Minion>().FirstOrDefault(u => !u.IsDead && u.IsValidTarget(1100) && u.BaseSkinName.Contains("MinionSiege") && u.Team == ObjectManager.Player.Team);
                 if (SiegeMinion != null)
                 {
                     Item.UseItem(Id, SiegeMinion);
                 }
             }
             if (Menu[IdentBase + ".ActiveInHarras"].Cast <CheckBox>().CurrentValue&&
                 Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Harass))
             {
                 var SiegeMinion = ObjectManager.Get <Obj_AI_Minion>().FirstOrDefault(u => !u.IsDead && u.IsValidTarget(1100) && u.BaseSkinName.Contains("MinionSiege") && u.Team == ObjectManager.Player.Team);
                 if (SiegeMinion != null)
                 {
                     Item.UseItem(Id, SiegeMinion);
                 }
             }
         }
     }
     else
     {
         if (!ActivatedMessage)
         {
             return;
         }
         ActivatedMessage = false;
         var notifie = new SimpleNotification("CarryMe Activator", "Item- : " + Name + " disabled!");
         Notifications.Show(notifie);
     }
 }
Пример #8
0
    public static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Sivir") return;

            var notStart = new SimpleNotification("UBSivir Load Status", "UBSivir sucessfully loaded.");
            Notifications.Show(notStart, 5000);

            Config.Dattenosa();           
            _E.Initialize();
            _E_Advance.Initialize();
            Spells.InitSpells();
            Items.InitItems();   
            InitEvents();
            Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast;   
        }
Пример #9
0
        public static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Ryze")
            {
                return;
            }

            var notStart = new SimpleNotification("Ryze Load Status", "Ryze sucessfully loaded.");

            Notifications.Show(notStart, 5000);

            Config.Dattenosa();
            Spells.InitSpells();
            InitEvents();
        }
Пример #10
0
        public void ToByteArray_should_return_correct_bytes()
        {
            // Arrange
            var token = new DeviceToken(Guid.NewGuid().ToString().Replace("-", string.Empty) + Guid.NewGuid().ToString().Replace("-", string.Empty));
            var payload = new Payload(new PayloadAlertMessage("test"), 1, "sound.wav");
            var simpleNotification = new SimpleNotification(token, payload);

            // Act
            var result = simpleNotification.ToByteArray();

            // Assert
            Assert.AreEqual(0, result[0]);
            Assert.AreEqual(0, result[1]);
            Assert.AreEqual(0x20, result[2]);
            Assert.AreEqual(0x00, result[35]);
            Assert.AreEqual(payload.ToJson().Length, result[36]);
        }
Пример #11
0
        public static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Nidalee") return;

            var notStart = new SimpleNotification("Nidalee Load Status", "Nidalee sucessfully loaded.");
            Notifications.Show(notStart, 5000);

            Config.Dattenosa();
            Spells.InitSpells();
            Items.InitItems();
            Flee.InitSpots();
            SmiteManager.Init();
            //Flee.InitPoints();
            InitEvents();
            Draw();
            Drawings.ImgData();
        }
Пример #12
0
        public void ToByteArray_should_return_correct_bytes()
        {
            // Arrange
            var token              = new DeviceToken(Guid.NewGuid().ToString().Replace("-", string.Empty) + Guid.NewGuid().ToString().Replace("-", string.Empty));
            var payload            = new Payload(new PayloadAlertMessage("test"), 1, "sound.wav");
            var simpleNotification = new SimpleNotification(token, payload);

            // Act
            var result = simpleNotification.ToByteArray();

            // Assert
            Assert.AreEqual(0, result[0]);
            Assert.AreEqual(0, result[1]);
            Assert.AreEqual(0x20, result[2]);
            Assert.AreEqual(0x00, result[35]);
            Assert.AreEqual(payload.ToJson().Length, result[36]);
        }
Пример #13
0
        static void Loading_OnLoadingComplete(EventArgs args)
        {
            Spells.InitSpells();
            Config.Dattenosa();
            Items.InitItems();
            Zhonya.Initialize();
            if (Spells.Exhaust != null)
            {
                Exhaust.Initialize();
            }
            if (Spells.Barrier != null)
            {
                Barrier.Initialize();
            }
            InitEvent();
            var notStart = new SimpleNotification("UBActivator Load Status", "UBActivator sucessfully loaded.");

            Notifications.Show(notStart, 5000);
        }
Пример #14
0
 private void GameOnUpdate(EventArgs args)
 {
     if (ObjectManager.Player.HasItem(Id))
     {
         if (!ActivatedMessage)
         {
             ActivatedMessage = true;
             var notifie = new SimpleNotification("CarryMe Activator", "Item+ : " + Name + " activated!");
             Notifications.Show(notifie);
         }
         if (!Item.CanUseItem(Id))
         {
             return;
         }
         if (DelayTick + Menu[IdentBase + ".CheckDelay"].Cast <Slider>().CurrentValue < Core.GameTickCount)
         {
             DelayTick = Core.GameTickCount;
             if (Menu[IdentBase + ".autoBind"].Cast <CheckBox>().CurrentValue)
             {
                 var strongestBuddy =
                     EntityManager.Heroes.Allies.OrderByDescending(u => u.FlatPhysicalDamageMod + u.BaseAttackDamage)
                     .FirstOrDefault(u => !u.IsMe && !u.IsDead && !u.IsMelee);
                 if (strongestBuddy != null)
                 {
                     if (!strongestBuddy.HasBuff("rallyingbanneraurafriend") && strongestBuddy.Distance(ObjectManager.Player) <= 1000)
                     {
                         Item.UseItem(Id, strongestBuddy);
                     }
                 }
             }
         }
     }
     else
     {
         if (!ActivatedMessage)
         {
             return;
         }
         ActivatedMessage = false;
         var notifie = new SimpleNotification("CarryMe Activator", "Item- : " + Name + " disabled!");
         Notifications.Show(notifie);
     }
 }
Пример #15
0
        static void Loading_OnLoadingComplete(EventArgs args)
        {
            Spells.InitSpells();
            Config.Dattenosa();
            Items.InitItems();
            Zhonya.Initialize();
            if (Spells.Exhaust != null)
            {
                Exhaust.Initialize();
            }
            if (Spells.Barrier != null)
            {
                Barrier.Initialize();
            }
            InitEvent();
            var notStart = new SimpleNotification("UBActivator Yuklenme Durumu", "UBActivator basariyla yuklendi.Ceviri TekinTR.");

            Notifications.Show(notStart, 5000);
        }
Пример #16
0
        public static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Sivir")
            {
                return;
            }

            var notStart = new SimpleNotification("UBSivir Load Status", "UBSivir sucessfully loaded.");

            Notifications.Show(notStart, 5000);

            Config.Dattenosa();
            _E.Initialize();
            _E_Advance.Initialize();
            Spells.InitSpells();
            Items.InitItems();
            InitEvents();
            Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast;
        }
Пример #17
0
        private static void Unit_OnGainBuff(Obj_AI_Base sender, Obj_AI_BaseBuffGainEventArgs args)
        {
            if (!sender.IsEnemy || sender.IsMinion || sender.IsMonster || !args.Buff.Caster.IsMe ||
                args.Buff.Name != "rocketgrab2")
            {
                return;
            }
            ++QHitCount;
            var notifie = new SimpleNotification("I hit allready " + Misc.ToWord((int)QHitCount) + " Q´s",
                                                 "thats " + Math.Round(QHitCount / QTotalCastCount * 100) + "% of Total: " + QTotalCastCount);

            Notifications.Show(notifie);
            if (!E.IsReady() && (Config.IsChecked(Orbwalker.ActiveModes.Combo, "use.E") ||
                                 Config.IsChecked(Orbwalker.ActiveModes.Harass, "use.E") ||
                                 Config.IsChecked(MenuBuilder.MenuNames.Misc, "use.E")))
            {
                return;
            }
            E.Cast();
        }
Пример #18
0
        public static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Nidalee")
            {
                return;
            }

            var notStart = new SimpleNotification("UBNidalee Load Status", "UBNidalee sucessfully loaded.");

            Notifications.Show(notStart, 5000);

            Config.Dattenosa();
            Spells.InitSpells();
            Flee.InitSpots();
            SmiteManager.Init();
            //Flee.InitPoints();
            InitEvents();
            Draw();
            Drawings.ImgData();
        }
Пример #19
0
 private void GameOnUpdate(EventArgs args)
 {
     if (ObjectManager.Player.HasItem(Id))
     {
         if (!ActivatedMessage)
         {
             ActivatedMessage = true;
             var notifie = new SimpleNotification("CarryMe Activator", "Item+ : " + Name + " activated!");
             Notifications.Show(notifie);
         }
         if (!Item.CanUseItem(Id))
         {
             return;
         }
         if (DelayTick + Menu[IdentBase + ".CheckDelay"].Cast <Slider>().CurrentValue < Core.GameTickCount)
         {
             DelayTick = Core.GameTickCount;
             if (Menu[IdentBase + ".useForKS"].Cast <CheckBox>().CurrentValue)
             {
             }
             if (Menu[IdentBase + ".ActiveInCombo"].Cast <CheckBox>().CurrentValue&&
                 Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo))
             {
             }
             if (Menu[IdentBase + ".ActiveInHarras"].Cast <CheckBox>().CurrentValue&&
                 Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Harass))
             {
             }
         }
     }
     else
     {
         if (!ActivatedMessage)
         {
             return;
         }
         ActivatedMessage = false;
         var notifie = new SimpleNotification("CarryMe Activator", "Item- : " + Name + " disabled!");
         Notifications.Show(notifie);
     }
 }
Пример #20
0
        private static void InitEvents()
        {
            if (Config.DrawMenu.Checked("notif") && Config.DrawMenu.Checked("draw"))
            {
                var notStart = new SimpleNotification("UBZilean Load Status", "UBZilean sucessfully loaded.");
                Notifications.Show(notStart, 5000);
            }

            Game.OnTick   += GameOnTick;
            Game.OnUpdate += Mode.AutoR;
            Game.OnUpdate += Mode.AutoHarass;
            Game.OnUpdate += Mode.Killsteal;
            //Game.OnWndProc += Flee.Game_OnWndProc;

            Orbwalker.OnPostAttack           += Mode.Orbwalker_OnPostAttack;
            Gapcloser.OnGapcloser            += Mode.Gapcloser_OnGapcloser;
            Interrupter.OnInterruptableSpell += Mode.Interrupter_OnInterruptableSpell;

            Drawing.OnDraw     += OnDraw;
            Drawing.OnEndScene += Damages.Damage_Indicator;
        }
Пример #21
0
        private static void InitEvents()
        {
            if (Config.DrawMenu.Checked("notif") && Config.DrawMenu.Checked("draw"))
            {
                var notStart = new SimpleNotification(Extension.AddonName + " Load Status", Extension.AddonName + " sucessfully loaded.");
                Notifications.Show(notStart, 5000);
            }

            Game.OnTick   += GameOnTick;
            Game.OnUpdate += Mode.AutoW;
            Game.OnUpdate += Mode.AutoHarass;
            Game.OnUpdate += Mode.Killsteal;

            Obj_AI_Turret.OnBasicAttack += Mode.Obj_AI_Turret_OnBasicAttack;

            Interrupter.OnInterruptableSpell += Mode.Interrupter_OnInterruptableSpell;
            Gapcloser.OnGapcloser            += Mode.Gapcloser_OnGapcloser;

            Drawing.OnDraw     += OnDraw;
            Drawing.OnEndScene += Damage.Damage_Indicator;
        }
Пример #22
0
        private static void InitEvents()
        {
            if (Config.DrawMenu.Checked("draw") && Config.DrawMenu.Checked("notif"))
            {
                var notStart = new SimpleNotification("UBRyze Load Status", "UBRyze sucessfully loaded.");
                Notifications.Show(notStart, 5000);
            }
            Game.OnTick   += GameOnTick;
            Game.OnTick   += Spells.UpdateSpells;
            Game.OnTick   += Mode.Zhonya;
            Game.OnUpdate += Mode.AutoHarass;
            Game.OnUpdate += Mode.Killsteal;
            //Spellbook.OnCastSpell += delegate(Spellbook sender, SpellbookCastSpellEventArgs args)
            //{
            //    if (!Config.Menu.Checked("human")) return;
            //    if (sender.Owner.IsMe)
            //    {
            //        var Delay = Config.Menu.GetValue("style") == 0 ? Config.Menu.GetValue("delay1") : new Random().Next(Config.Menu.GetValue("delay1") * 10, Config.Menu.GetValue("delay2") * 10);
            //        if (Extensions.LastCast * 1000 + Delay >= Game.Time)
            //        {
            //            args.Process = true;
            //        }
            //        else
            //        {
            //            args.Process = false;
            //        }
            //        //Will this work? Pray ( ͡° ͜ʖ ͡°)
            //    }
            //};

            Gapcloser.OnGapcloser += Mode.Gapcloser_OnGapcloser;

            Drawing.OnDraw     += OnDraw;
            Drawing.OnEndScene += Damages.Damage_Indicator;

            Orbwalker.OnUnkillableMinion += Mode.On_Unkillable_Minion;

            Obj_AI_Base.OnProcessSpellCast += Extensions.Obj_AI_Base_OnProcessSpellCast;
        }
Пример #23
0
        public static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Sivir")
            {
                return;
            }

            var notStart = new SimpleNotification("UBSivir Load Status", "UBSivir sucessfully loaded.");

            Notifications.Show(notStart, 5000);

            Config.Dattenosa();
            _E.Initialize();
            _E_Advance.Initialize();
            Spells.InitSpells();

            InitEvents();
            Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast;
            Obj_AI_Base.OnProcessSpellCast += Event.Obj_AI_Base_OnProcessSpellCast;
            Obj_AI_Base.OnBuffGain         += Event.Obj_AI_Base_OnBuffGain;

            Orbwalker.OnUnkillableMinion += Mode.Orbwalker_OnUnkillableMinion;
            Orbwalker.OnPostAttack       += Event.Orbwalker_OnPostAttack;
        }
Пример #24
0
        private static void InitEvents()
        {
            if (Config.DrawMenu.Checked("notif") && Config.DrawMenu.Checked("draw"))
            {
                var notStart = new SimpleNotification("UBTaliyah Load Status", "UBTaliyah sucessfully loaded.");
                Notifications.Show(notStart, 5000);
            }

            Game.OnTick   += GameOnTick;
            Game.OnTick   += Spells.Update;
            Game.OnUpdate += Mode.AutoHarass;
            Game.OnUpdate += Mode.Killsteal;

            GameObject.OnCreate += Obj_Manager.Obj_GeneralParticleEmitter_OnCreate;
            GameObject.OnDelete += Obj_Manager.Obj_GeneralParticleEmitter_OnDelete;

            Gapcloser.OnGapcloser            += Mode.Gapcloser_OnGapcloser;
            Interrupter.OnInterruptableSpell += Mode.Interrupter_OnInterruptableSpell;

            Drawing.OnDraw     += OnDraw;
            Drawing.OnEndScene += Damages.Damage_Indicator;

            Orbwalker.OnUnkillableMinion += Mode.On_Unkillable_Minion;
        }
Пример #25
0
 public void GotSimpleNotification(SimpleNotification p0, TrackingInfo p1)
 {
     Console.WriteLine("Simple Notification: ", p0.NotificationMessage);
 }
Пример #26
0
        public static void LoadMenu()
        {
            var startMenu = MainMenu.AddMenu(MenuName, MenuName.ToLower());

            var notStart = new SimpleNotification("Mario`s Gangplank Yuklendi", "Mario`s Gangplank Basariyle yuklendi.");
            Notifications.Show(notStart, 2500);

            #region Combo
            ComboMenu = startMenu.AddSubMenu(":-Combo Menu-:");
            ComboMenu.AddGroupLabel("-:Combo Büyüler:-");
            ComboMenu.Add("qCombo", new CheckBox("• Kullan Q."));
            ComboMenu.Add("eCombo", new CheckBox("• Kullan E."));
            ComboMenu.AddLabel("If the target is close to you");
            ComboMenu.Add("eComboRangeClose", new Slider("How close to put the barrel(0 on the player)", 150, 50, 600));
            ComboMenu.AddLabel("If the target is far from you");
            ComboMenu.Add("eComboRangeFar", new Slider("How close to put the barrel(0 on the player)", 350, 300, 800));
            ComboMenu.Add("rCombo", new CheckBox("• Kullan R."));
            ComboMenu.Add("rComboCount", new Slider("R için en az düşamn(0 = Kapalı)", 2, 0, 5));
            #endregion Combo

            #region Harass
            HarassMenu = startMenu.AddSubMenu(":-Harass Menu-:");
            HarassMenu.AddGroupLabel("-:Dürtme Ayarları:-");
            HarassMenu.Add("qHarass", new CheckBox("• Kullan Q."));
            HarassMenu.Add("eHarass", new CheckBox("• Kullan E.", false));
            HarassMenu.AddGroupLabel("-:Dürtme Ayarları:-");
            HarassMenu.Add("manaHarass", new Slider("Dürtme için en az mana.", 30));
            HarassMenu.AddGroupLabel("-:Otomatikdürt Büyüleri:-");
            HarassMenu.Add("qAutoHarass", new CheckBox("• Kullan Q."));
            HarassMenu.Add("eAutoHarass", new CheckBox("• Kullan E."));
            HarassMenu.AddGroupLabel("-:Otomatikdürt Ayarları:-");
            var keyAutoHarass = HarassMenu.Add("keyAutoHarass",
                new KeyBind("Otomatik dürtme kapat/aç", false, KeyBind.BindTypes.PressToggle, 'T'));
            keyAutoHarass.OnValueChange += delegate
            {
                var notHarassOn = new SimpleNotification("AutoHarass Mode Change", "AutoHarass is now On. ");
                var notHarassOff = new SimpleNotification("AutoHarass Mode Change", "AutoHarass is now Off. ");

                Notifications.Show(keyAutoHarass.CurrentValue ? notHarassOn : notHarassOff, 1000);
            };
            HarassMenu.Add("manaAutoHarass", new Slider("Otomatik dürtme için gereken mana", 45));
            #endregion Harass

            #region LaneClear
            LaneClearMenu = startMenu.AddSubMenu(":-LaneClear Menu-:");
            LaneClearMenu.AddGroupLabel("-:Lanetemizleme Büyüleri:-");
            LaneClearMenu.Add("qLane", new CheckBox("• Kullan Q varile."));
            LaneClearMenu.Add("qLaneLast", new CheckBox("• Kullan Q son vuruşta"));
            LaneClearMenu.Add("eLane", new CheckBox("• Kullan E."));
            LaneClearMenu.Add("eKeep", new Slider("• şu kadar varil", 1, 0, 4));
            LaneClearMenu.AddGroupLabel("-:Lanetemizleme Ayarları:-");
            LaneClearMenu.Add("qLaneCount", new Slider("Varil Q için gereken minyon", 2, 0, 6));
            LaneClearMenu.Add("eLaneCount", new Slider("Varil yerleştirmek için gereken minyon.", 3, 0, 6));
            LaneClearMenu.Add("manaLane", new Slider("Lanetemizleme için gereken en az mana", 30));
            #endregion LaneClear

            #region JungleClear
            JungleClearMenu = startMenu.AddSubMenu(":-JungleClear Menu-:");
            JungleClearMenu.AddGroupLabel("-:Ormantemizleme Büyüleri:-");
            JungleClearMenu.Add("qJungle", new CheckBox("• Kullan Q Barrel."));
            JungleClearMenu.Add("qJungleLast", new CheckBox("• Use Q to kill the minion."));
            JungleClearMenu.Add("eJungle", new CheckBox("• Kullan E."));
            JungleClearMenu.AddGroupLabel("-:Ormantemizleme Ayarları:-");
            JungleClearMenu.Add("manaJungle", new Slider("Orman temizleme için gereken en az mana", 30));
            #endregion JungleClear

            #region Lasthit
            LastHitMenu = startMenu.AddSubMenu(":-LastHit Menu-:");
            LastHitMenu.AddGroupLabel("-:Sonvuruş Büyüleri:-");
            LastHitMenu.Add("qLast", new CheckBox("• Kullan Q."));
            LastHitMenu.AddGroupLabel("-:Sonvuruş Ayarları:-");
            LastHitMenu.Add("manaLast", new Slider("Sonvuruş için gereken en az mana", 30));
            #endregion Lasthit

            #region Settings
            SettingsMenu = startMenu.AddSubMenu(":-Settings Menu-:");
            SettingsMenu.AddGroupLabel("-:Q KS AAyarları:-");
            SettingsMenu.Add("qKS", new CheckBox("• Q Kullan"));
            SettingsMenu.AddGroupLabel("-:R Ayarları:-");
            SettingsMenu.Add("rKS", new CheckBox("• R Kullan"));
            SettingsMenu.Add("rKSOverkill", new Slider("R KS hızlıkil, Ulti için gereken hedefin canı [{0}]", 150, 50, 400));
            SettingsMenu.Add("rToSaveAlly", new CheckBox("• Ryi dostlarını korumak için kullan"));
            SettingsMenu.Add("rToSaveAllyPercent", new Slider("• Dostları korumak için dostların klan canı ({0}).", 15));
            SettingsMenu.AddGroupLabel("-:W Ayarları:-");
            SettingsMenu.Add("wUsePercent", new Slider("• Canım şundan azsa  W Kullan({0}).", 20));
            SettingsMenu.AddSeparator(1);
            SettingsMenu.Add("wBuffStun", new CheckBox("• Sabitleme"));
            SettingsMenu.Add("wBuffSlow", new CheckBox("• Yavaşlatma", false));
            SettingsMenu.Add("wBuffBlind", new CheckBox("• Blind"));
            SettingsMenu.Add("wBuffSupression", new CheckBox("• Supression"));
            SettingsMenu.Add("wBuffSnare", new CheckBox("• Snare"));
            SettingsMenu.Add("wBuffTaunt", new CheckBox("• Taunt"));
            SettingsMenu.AddGroupLabel("-:Ayarlar:-");
            LastHitMenu.Add("manaSettings", new Slider("Büyüler için gereken mana", 30));
            #endregion Settings

            #region Drawings
            DrawingsMenu = startMenu.AddSubMenu(":-Drawings Menu-:");
            DrawingsMenu.Add("readyDraw", new CheckBox("• Büyüler hazırsa göster"));
            DrawingsMenu.Add("damageDraw", new CheckBox("•Hasartespitçisi göster"));
            DrawingsMenu.Add("perDraw", new CheckBox("• hasar tespitçisi yüzdeyle göster"));
            DrawingsMenu.Add("statDraw", new CheckBox("• hasartespitçisi istatistiklerini göster"));
            DrawingsMenu.AddGroupLabel("-:Büyüler:-");
            DrawingsMenu.Add("qDraw", new CheckBox("• göster Q."));
            DrawingsMenu.Add("wDraw", new CheckBox("• göster W."));
            DrawingsMenu.Add("eDraw", new CheckBox("• göster E."));
            DrawingsMenu.Add("barrelDraw", new CheckBox("• göster Varil."));
            #endregion Drawings
        }
Пример #27
0
        public static void LoadMenu()
        {
            var startMenu = MainMenu.AddMenu(MenuName, MenuName.ToLower());

            var notStart = new SimpleNotification("Mario`s Gangplank Loaded", "Mario`s Gangplank sucessfully loaded.");

            Notifications.Show(notStart, 2500);

            #region Combo
            ComboMenu = startMenu.AddSubMenu(":-Combo Menu-:");
            ComboMenu.AddGroupLabel("-:Combo Spells:-");
            ComboMenu.Add("qCombo", new CheckBox("• Use Q."));
            ComboMenu.Add("eCombo", new CheckBox("• Use E."));
            ComboMenu.AddLabel("If the target is close to you");
            ComboMenu.Add("eComboRangeClose", new Slider("How close to put the barrel(0 on the player)", 150, 50, 600));
            ComboMenu.AddLabel("If the target is far from you");
            ComboMenu.Add("eComboRangeFar", new Slider("How close to put the barrel(0 on the player)", 350, 300, 800));
            ComboMenu.Add("rCombo", new CheckBox("• Use R."));
            ComboMenu.Add("rComboCount", new Slider("Minimun enemies to use R.(0 = Off)", 2, 0, 5));
            #endregion Combo

            #region Harass
            HarassMenu = startMenu.AddSubMenu(":-Harass Menu-:");
            HarassMenu.AddGroupLabel("-:Harass Spells:-");
            HarassMenu.Add("qHarass", new CheckBox("• Use Q."));
            HarassMenu.Add("eHarass", new CheckBox("• Use E.", false));
            HarassMenu.AddGroupLabel("-:Harass Settings:-");
            HarassMenu.Add("manaHarass", new Slider("Mana must be greater than ({0}) to use harass spells.", 30));
            HarassMenu.AddGroupLabel("-:AutoHarass Spells:-");
            HarassMenu.Add("qAutoHarass", new CheckBox("• Use Q."));
            HarassMenu.Add("eAutoHarass", new CheckBox("• Use E."));
            HarassMenu.AddGroupLabel("-:AutoHarass Settings:-");
            var keyAutoHarass = HarassMenu.Add("keyAutoHarass",
                                               new KeyBind("KeyBind to change on/off AutoHarass", false, KeyBind.BindTypes.PressToggle, 'T'));
            keyAutoHarass.OnValueChange += delegate
            {
                var notHarassOn  = new SimpleNotification("AutoHarass Mode Change", "AutoHarass is now On. ");
                var notHarassOff = new SimpleNotification("AutoHarass Mode Change", "AutoHarass is now Off. ");

                Notifications.Show(keyAutoHarass.CurrentValue ? notHarassOn : notHarassOff, 1000);
            };
            HarassMenu.Add("manaAutoHarass", new Slider("Mana must be greater than ({0}) to use auto harass spells.", 45));
            #endregion Harass

            #region LaneClear
            LaneClearMenu = startMenu.AddSubMenu(":-LaneClear Menu-:");
            LaneClearMenu.AddGroupLabel("-:LaneClear Spells:-");
            LaneClearMenu.Add("qLane", new CheckBox("• Use Q on Barrel."));
            LaneClearMenu.Add("qLaneLast", new CheckBox("• Use Q to last hit."));
            LaneClearMenu.Add("eLane", new CheckBox("• Use E."));
            LaneClearMenu.Add("eKeep", new Slider("• Keep ({0}) barrels.", 1, 0, 4));
            LaneClearMenu.AddGroupLabel("-:LaneClear Settings:-");
            LaneClearMenu.Add("qLaneCount", new Slider("How many minions must be in range of the barrel.", 2, 0, 6));
            LaneClearMenu.Add("eLaneCount", new Slider("Minimun minions to place E.", 3, 0, 6));
            LaneClearMenu.Add("manaLane", new Slider("Mana must be greater than ({0}) to use laneclear spells", 30));
            #endregion LaneClear

            #region JungleClear
            JungleClearMenu = startMenu.AddSubMenu(":-JungleClear Menu-:");
            JungleClearMenu.AddGroupLabel("-:JungleClear Spells:-");
            JungleClearMenu.Add("qJungle", new CheckBox("• Use Q Barrel."));
            JungleClearMenu.Add("qJungleLast", new CheckBox("• Use Q to kill the minion."));
            JungleClearMenu.Add("eJungle", new CheckBox("• Use E."));
            JungleClearMenu.AddGroupLabel("-:JungleClear Settings:-");
            JungleClearMenu.Add("manaJungle", new Slider("Mana must be greater than ({0}) to use jungleclear spells.", 30));
            #endregion JungleClear

            #region Lasthit
            LastHitMenu = startMenu.AddSubMenu(":-LastHit Menu-:");
            LastHitMenu.AddGroupLabel("-:LastHit Spells:-");
            LastHitMenu.Add("qLast", new CheckBox("• Use Q."));
            LastHitMenu.AddGroupLabel("-:LastHit Settings:-");
            LastHitMenu.Add("manaLast", new Slider("Mana must be greater than ({0}) to use lasthit spells.", 30));
            #endregion Lasthit

            #region Settings
            SettingsMenu = startMenu.AddSubMenu(":-Settings Menu-:");
            SettingsMenu.AddGroupLabel("-:Q KS Settings:-");
            SettingsMenu.Add("qKS", new CheckBox("• Use Q to ks."));
            SettingsMenu.AddGroupLabel("-:R Settings:-");
            SettingsMenu.Add("rKS", new CheckBox("• Use R to ks."));
            SettingsMenu.Add("rKSOverkill", new Slider("R KS overkill, it will only ult if target health is greater than [{0}]", 150, 50, 400));
            SettingsMenu.Add("rToSaveAlly", new CheckBox("• Use R to save ally."));
            SettingsMenu.Add("rToSaveAllyPercent", new Slider("• Ally health to save him msut be less than ({0}).", 15));
            SettingsMenu.AddGroupLabel("-:W Settings:-");
            SettingsMenu.Add("wUsePercent", new Slider("• Use W if health is lower than ({0}).", 20));
            SettingsMenu.AddSeparator(1);
            SettingsMenu.Add("wBuffStun", new CheckBox("• Stun"));
            SettingsMenu.Add("wBuffSlow", new CheckBox("• Slow", false));
            SettingsMenu.Add("wBuffBlind", new CheckBox("• Blind"));
            SettingsMenu.Add("wBuffSupression", new CheckBox("• Supression"));
            SettingsMenu.Add("wBuffSnare", new CheckBox("• Snare"));
            SettingsMenu.Add("wBuffTaunt", new CheckBox("• Taunt"));
            SettingsMenu.AddGroupLabel("-:Settings:-");
            LastHitMenu.Add("manaSettings", new Slider("Mana must be greater than ({0}) to use any spell in this menu.", 30));
            #endregion Settings

            #region Drawings
            DrawingsMenu = startMenu.AddSubMenu(":-Drawings Menu-:");
            DrawingsMenu.Add("readyDraw", new CheckBox("• Draw Spell`s range only if they are ready."));
            DrawingsMenu.Add("damageDraw", new CheckBox("• Draw damage indicator."));
            DrawingsMenu.Add("perDraw", new CheckBox("• Draw damage indicator percent."));
            DrawingsMenu.Add("statDraw", new CheckBox("• Draw damage indicator statistics"));
            DrawingsMenu.AddGroupLabel("-:Spells:-");
            DrawingsMenu.Add("qDraw", new CheckBox("• Draw Q."));
            DrawingsMenu.Add("wDraw", new CheckBox("• Draw W."));
            DrawingsMenu.Add("eDraw", new CheckBox("• Draw E."));
            DrawingsMenu.Add("barrelDraw", new CheckBox("• Draw Barrels."));
            #endregion Drawings
        }
Пример #28
0
        public static void Dattenosa()
        {
            // Menu
            Menu = MainMenu.AddMenu("UB Azir", "UBAzir");
            Menu.AddGroupLabel("Made by Uzumaki Boruto");
            Menu.AddLabel("Dattenosa");

            //ComboMenu
            ComboMenu = Menu.AddSubMenu("Combo");
            {
                ComboMenu.AddGroupLabel("Combo Settings");
                ComboMenu.Add("Q", new CheckBox("Use Q"));
                ComboMenu.Add("Qbonus", new Slider("Q will cast over {0} distance", 120, 0, 200));
                ComboMenu.AddLabel("Higher for more distance behind target, but it reduce Q hitchance");
                ComboMenu.AddLabel("Lower for more hitchance, but hardly for some a.a from soldier");
                ComboMenu.Add("W", new CheckBox("Use W"));
                ComboMenu.Add("Wunit", new Slider("Max of Sand Soldier", 2, 1, 3));
                ComboMenu.Add("E", new CheckBox("Use E Logic"));
                foreach (var e in EntityManager.Heroes.Enemies.OrderBy(e => e.ChampionName))
                {
                    ComboMenu.Add(e.ChampionName, new CheckBox("E to" + e.ChampionName));
                }
                ComboMenu.Add("Edanger", new Slider("Don't E if around target has {0} enemy", 2, 1, 4));
                ComboMenu.Add("R", new CheckBox("Use R"));
                ComboMenu.Add("Rhit", new Slider("Use R if hit", 3, 1, 5));
                #region Shouldn't release now
                //ComboMenu.AddGroupLabel("Style Setting");
                //var switchkey = ComboMenu.Add("switchkey", new KeyBind("Switch Key", false, KeyBind.BindTypes.HoldActive));
                //switchkey.OnValueChange += delegate(ValueBase<bool> sender, ValueBase<bool>.ValueChangeArgs args)
                //{
                //    if (args.NewValue)
                //    {
                //        var value = ComboMenu["combostyle"].Cast<Slider>();
                //        if (value.CurrentValue == value.MaxValue)
                //        {
                //            value.CurrentValue = 0;
                //        }
                //        else
                //        {
                //            value.CurrentValue++;
                //        }
                //    }
                //};
                //var ComboSLider = ComboMenu.Add("combostyle", new Slider("Combo Style: Normal Combo", 0, 0, 3));
                //ComboSLider.OnValueChange += delegate(ValueBase<int> sender, ValueBase<int>.ValueChangeArgs args)
                //{
                //    switch (args.NewValue)
                //    {
                //        case 0:
                //            {
                //                ComboSLider.DisplayName = "Combo Style: Normal Combo";
                //            }
                //            break;
                //        case 1:
                //            {
                //                ComboSLider.DisplayName = "Combo Style: Solo Combo";
                //            }
                //            break;
                //        case 2:
                //            {
                //                ComboSLider.DisplayName = "Combo Style: Teamfight Combo";
                //            }
                //            break;
                //        case 3:
                //            {
                //                ComboSLider.DisplayName = "Combo Style: Highlight Combo";
                //            }
                //            break;
                //    }
                //};
                #endregion
            }
            //InsecMenu
            Insec = Menu.AddSubMenu("Insec Settings");
            {
                Insec.AddGroupLabel("Hotkeys");
                Insec.Add("normalInsec", new KeyBind("Do Normal Insec", false, KeyBind.BindTypes.HoldActive, 'H'));
                Insec.Add("godInsec", new KeyBind("Do God Insec", false, KeyBind.BindTypes.HoldActive, 'G'));
                Insec.AddSeparator();
                Insec.AddGroupLabel("Normal Insec");
                Insec.Add("normal.1", new ComboBox("I want to insec target to", 0, "My Cursor", "My Ally", "My Turret", "Select"));
                Insec.AddLabel("Pls double left-click on ground to seclect position");
                Insec.Add("allowfl", new CheckBox("Allow using Flash in Insec"));
                Insec.Add("flvalue", new Slider("Only flash if can be insec {0} enemies", 4, 2, 5));
                Insec.Add("normalgoto", new ComboBox("If can't insec, I want move to", 1, "None", "Cursor", "To enemy"));
                Insec.AddSeparator();
                Insec.AddGroupLabel("God Insec");
                Insec.Add("god.1", new ComboBox("I want to insec target to", 3, "My Cursor", "My Ally", "My Turret", "Select"));
                Insec.Add("god.2", new ComboBox("I want to move to", 3, "My Cursor", "My Ally", "My Turret", "Select"));
                Insec.AddLabel("Pls middle-click on ground to seclect position you want to go");
                Insec.Add("godgoto", new ComboBox("If can't insec, I want to move to", 1, "None", "Cursor", "To enemy"));
            }
            //HarassMenu
            HarassMenu = Menu.AddSubMenu("Harass");
            {
                HarassMenu.AddGroupLabel("Harass Settings");
                HarassMenu.Add("Q", new CheckBox("Use Q"));
                HarassMenu.Add("Qbonus", new Slider("Q will cast over {0} distance", 120, 0, 200));
                HarassMenu.AddLabel("Higher for more distance behind target, but it reduce Q hitchance");
                HarassMenu.AddLabel("Lower for more hitchance, but hardly for some a.a from soldier");
                HarassMenu.Add("W", new CheckBox("Use W"));
                HarassMenu.Add("Wunit", new Slider("Max of Sand Soldier", 1, 1, 3));
                HarassMenu.Add("HrManage", new Slider("If mana percent below {0} stop harass", 50));
                HarassMenu.AddGroupLabel("Auto Harass Settings");
                var AutoHarass = HarassMenu.Add("autokey", new KeyBind("Auto Harass", true, KeyBind.BindTypes.PressToggle, 'Z'));
                AutoHarass.OnValueChange += delegate
                {
                    var On  = new SimpleNotification("Auto Harass status :", "Activated. ");
                    var Off = new SimpleNotification("Auto Harass status :", "Disable. ");

                    Notifications.Show(AutoHarass.CurrentValue ? On : Off, 2000);
                };
                HarassMenu.Add("automng", new Slider("Stop Auto harass when my mana below {0}%", 75));
            }

            //LaneClear Menu
            LaneClear = Menu.AddSubMenu("LaneClear");
            {
                LaneClear.AddGroupLabel("Laneclear Settings");
                LaneClear.Add("Q", new CheckBox("Use Q to laneclear", false));
                LaneClear.Add("W", new CheckBox("Use W to laneclear"));
                LaneClear.Add("Wunit", new Slider("Max of Sand Soldier", 1, 1, 3));
                LaneClear.Add("LcManager", new Slider("If mana percent below {0} stop use skill to laneclear", 50));
            }
            //JungleClear Menu
            JungleClear = Menu.AddSubMenu("JungleClear");
            {
                JungleClear.AddGroupLabel("Jungleclear Settings");
                JungleClear.Add("Q", new CheckBox("Use Q to jungleclear"));
                JungleClear.Add("W", new CheckBox("Use W to jungleclear"));
                JungleClear.Add("Wunit", new Slider("Max of Sand Soldier", 2, 1, 3));
                JungleClear.Add("JcManager", new Slider("If mana percent below {0} stop use skill to jungleclear", 50));
            }

            //LasthitMenu
            LasthitMenu = Menu.AddSubMenu("Lasthit");
            {
                LasthitMenu.AddGroupLabel("Unkillable Minion");
                LasthitMenu.Add("Q", new CheckBox("Auto Q on Unkillable Minion"));
                LasthitMenu.Add("LhManager", new Slider("If mana percent below {0} stop use skill to lasthit", 50));
            }
            //Flee
            Flee = Menu.AddSubMenu("Flee");
            {
                Flee.Add("flee", new ComboBox("Combo Flee (To Mouse)", 2, "W-E", "W-Q-E", "W-E-Q"));
                Flee.Add("fleedelay", new Slider("Delay", 250, 0, 500));
                Flee.AddLabel("More for distance");
                Flee.AddLabel("Lower if you see it cast Q too late");
            }
            //DrawMenu
            DrawMenu = Menu.AddSubMenu("Drawings");
            {
                DrawMenu.Add("Q", new CheckBox("Draw Q"));
                DrawMenu.Add("W", new CheckBox("Draw W"));
                DrawMenu.Add("E", new CheckBox("Draw E"));
                DrawMenu.Add("R", new CheckBox("Draw R"));
                DrawMenu.Add("InsecPos", new CheckBox("Draw your InsecPosition"));
                DrawMenu.Add("drawdamage", new CheckBox("Draw Damage Indicator"));
                DrawMenu.Add("Color", new ColorPicker("Damage Indicator Color", SaveColor.Load()));
            }

            //MiscMenu
            MiscMenu = Menu.AddSubMenu("MiscMenu");
            {
                MiscMenu.AddGroupLabel("Misc Settings");
                MiscMenu.AddLabel("Killsteal Settings");
                MiscMenu.Add("Qks", new CheckBox("Use Q to KS"));
                MiscMenu.Add("Wks", new CheckBox("Use W to KS"));
                MiscMenu.Add("Eks", new CheckBox("Use E to KS", false));
                MiscMenu.Add("Rks", new CheckBox("Use R to KS", false));
                MiscMenu.AddSeparator();

                MiscMenu.AddLabel("Interrupt Settings");
                MiscMenu.Add("interrupter", new CheckBox("Enable Interrupter"));
                MiscMenu.Add("interrupt.value", new ComboBox("Interrupter DangerLevel", 2, "Low", "Medium", "High"));
                MiscMenu.AddSeparator();

                MiscMenu.AddLabel("Anti Gapcloser Settings");
                MiscMenu.Add("gap", new CheckBox("Enable Anti Gapcloser"));
                foreach (var a in Gapcloser.GapCloserList)
                {
                    foreach (var e in EntityManager.Heroes.Enemies.OrderBy(e => e.ChampionName))
                    {
                        if (a.ChampName == e.ChampionName)
                        {
                            MiscMenu.Add("gap" + a.ChampName, new CheckBox("R when " + a.ChampName + " using " + a.SpellSlot + " to gapclose me"));
                        }
                    }
                }
                MiscMenu.Add("gap.1", new ComboBox("Use R when", 1, "Gapclose spell is targeted", "Both Skillshot & Targeted"));
            }
        }
Пример #29
0
        public static void Dattenosa()
        {
            // Menu
            Menu = MainMenu.AddMenu("Nidalee", "Nidalee");
            Menu.AddGroupLabel("Made by Uzumaki Boruto");
            Menu.AddLabel("Dattenosa");

            //Q
            QMenu = Menu.AddSubMenu("Q Settings");
            {
                QMenu.AddGroupLabel("Combo Settings");
                QMenu.AddLabel("Human Q");
                QMenu.Add("Qcb", new CheckBox("Use Q"));
                QMenu.AddLabel("HitChance : 1 = Low, 2 = Medium, 3 = High");
                QMenu.Add("PredQ1", new Slider("Q (human) HitChance", 2, 1, 3));
                //QMenu.Add("Qrange", new Slider("Lower for more accuracy, Higher for range (66 recommended)", 66));
                QMenu.Add("autoQ", new CheckBox("Auto Q if target in immobilize"));
                QMenu.AddLabel("Cougar Q");
                QMenu.Add("Q2cb", new CheckBox("Use Q"));
                QMenu.Add("Q2aa", new CheckBox("Use Q to reset a.a"));
                QMenu.AddGroupLabel("Harass Settings");
                QMenu.Add("Qhr", new CheckBox("Use Q (human)"));
                QMenu.Add("Qmodehr", new ComboBox("Mode for Q", 0, "Harass Mode", "Auto"));
                QMenu.Add("Qmnghr", new Slider("If below {0}% mana, stop use Q", 50));
                QMenu.AddGroupLabel("JungleClear Settings");
                QMenu.Add("Qjc", new CheckBox("Use Q (human)"));
                QMenu.Add("Qmngjc", new Slider("If below {0}% mana, stop use Q", 20));
                QMenu.Add("Q2jc", new CheckBox("Use Q (Cougar, reset a.a)"));
                QMenu.AddGroupLabel("Flee");
                QMenu.Add("Qfl", new CheckBox("Use Q (human) on flee"));
                QMenu.AddGroupLabel("Killsteal Settings");
                QMenu.Add("Qks", new CheckBox("Enable"));
                QMenu.AddGroupLabel("Jungsteal Settings");
                QMenu.Add("Qjs", new CheckBox("Use Q Human to jungsteal"));
            }
            //W
            WMenu = Menu.AddSubMenu("W Settings");
            {
                WMenu.AddGroupLabel("Combo Settings");
                WMenu.AddLabel("Human W");
                WMenu.Add("Wcb", new CheckBox("Use W"));
                WMenu.AddLabel("HitChance : 1 = Low, 2 = Medium, 3 = High");
                WMenu.Add("PredW1", new Slider("W (human) HitChance", 2, 1, 3));

                WMenu.AddLabel("Cougar W");
                WMenu.Add("W2cb", new ComboBox("Use W", 3, "Off", "Use W always", "Only Target has passive", "Smart"));

                WMenu.AddGroupLabel("Lane & Jung Clear Settings");
                WMenu.AddLabel("Human W");
                WMenu.Add("Wjc", new CheckBox("Use W in JungleClear"));
                WMenu.Add("Wmng", new Slider("If below {0}% mana, stop use W", 20));
                WMenu.AddLabel("Cougar W");
                WMenu.Add("W2lc", new CheckBox("Use W in LaneClear"));
                WMenu.Add("W2jc", new CheckBox("Use W in JungleClear"));
                WMenu.AddGroupLabel("Flee & Sight");
                WMenu.Add("Ws", new KeyBind("Use W (Human) to get sight", false, KeyBind.BindTypes.HoldActive, 'W'));
                WMenu.Add("Wfl", new CheckBox("Use W (Human) in Flee"));
                WMenu.Add("W2fl", new CheckBox("Use W (Cougar) in Flee"));
                WMenu.AddGroupLabel("Killsteal");
                WMenu.Add("W2ks", new CheckBox("Use W (Cougar) to KS"));

            }
            //E
            EMenu = Menu.AddSubMenu("E Settings");
            {
                EMenu.AddGroupLabel("E Human Setting");
                EMenu.AddLabel("Main Settings");
                EMenu.Add("E", new CheckBox("Auto use E"));
                EMenu.Add("Emode", new ComboBox("Mode for E", 0, "LeastHP", "CarryHP", "AP HP", "SelfHP"));
                EMenu.Add("Emng", new Slider("Stop use E if your mana below {0}%", 50));
                EMenu.Add("Emng2", new Slider("Don't use E if target's HP more than {0}%", 70));
                EMenu.AddLabel("White list to E");
                foreach (var a in EntityManager.Heroes.Allies.OrderBy(a => a.ChampionName))
                {
                    EMenu.Add(a.ChampionName, new CheckBox("Heal " + a.ChampionName));
                }
                EMenu.AddGroupLabel("Cougar E");
                EMenu.Add("E2cb", new CheckBox("Use E in Combo"));
                EMenu.AddGroupLabel("Lane & Jung Clear Settings");
                EMenu.AddLabel("Cougar E");
                EMenu.Add("E2lc", new CheckBox("Use E in LaneClear"));
                EMenu.Add("E2jc", new CheckBox("Use E in JungleClear"));
                EMenu.AddGroupLabel("Killsteal");
                EMenu.Add("E2ks", new CheckBox("Use E (Cougar) to KS"));
            }

            //R
            RMenu = Menu.AddSubMenu("R Settings");
            {
                RMenu.AddGroupLabel("R Setting");
                RMenu.Add("R", new CheckBox("Use R to reset a.a (logic)"));
                RMenu.Add("Rform", new ComboBox("I want change form when: ", 0 ,"My human spell is cooldown", "Has a passive target around me", "I want change form myself"));
                RMenu.Add("Rformjc", new CheckBox("Logic R in JungleClear"));
            }

            //ItemMenu
            ItemMenu = Menu.AddSubMenu("Item Menu");
            {
                ItemMenu.Add("item1", new CheckBox("Auto use Zhonya's Hourglass"));
                ItemMenu.Add("item.1MyHp", new Slider("My HP less than {0}%", 50));
                ItemMenu.AddSeparator();

                ItemMenu.Add("item2", new CheckBox("Auto use Seraph's Embrace"));
                ItemMenu.Add("item2MyHp", new Slider("My HP less than {0}%", 75));
                ItemMenu.AddSeparator();

                ItemMenu.Add("item3", new CheckBox("Auto use Bilgewater Cutlass"));
                ItemMenu.Add("item4", new CheckBox("Auto use Hextech Gunblade"));
                ItemMenu.Add("item34EnemyHP", new Slider("Enemy HP less than {0}%", 75));
                ItemMenu.AddSeparator();

                ItemMenu.Add("item5", new CheckBox("Auto use Randuin's Omen"));
                ItemMenu.Add("item5Enemy", new Slider("Enemy around to use", 3, 1, 5));
                ItemMenu.AddSeparator();

                ItemMenu.Add("item6", new CheckBox("Auto use Righteous Glory (Logic)"));
                ItemMenu.Add("item6Ally", new Slider("Use it if buff {0} ally", 3, 1, 4));
                ItemMenu.AddSeparator();

                ItemMenu.Add("item7", new CheckBox("Auto use Locket of the Iron Solari"));
                ItemMenu.Add("item7Ally", new Slider("Use it if buff {0} ally", 4, 1, 4));
            }
            //MiscMenu
            MiscMenu = Menu.AddSubMenu("MiscMenu");
            {
                MiscMenu.AddGroupLabel("Misc Settings");
                MiscMenu.AddLabel("Ignite");
                MiscMenu.Add("ig", new CheckBox("Use Ignite"));
                MiscMenu.AddLabel("Smite");
                MiscMenu.Add("smcb", new CheckBox("Use Smite in Combo"));
                MiscMenu.Add("sm", new CheckBox("Use Smite to killsteal"));
                MiscMenu.Add("smjc", new CheckBox("Smite on Important buff"));
                MiscMenu.AddLabel("Auto Jump System");
                var JumpKey = MiscMenu.Add("jump", new KeyBind("Enable Auto jump system", true, KeyBind.BindTypes.PressToggle, 'G'));
                JumpKey.OnValueChange += delegate
                {
                    var On = new SimpleNotification("Auto Jump System :", "Activated. ");
                    var Off = new SimpleNotification("Auto Jump System:", "Disable. ");

                    Notifications.Show(JumpKey.CurrentValue ? On : Off, 2000);
                };
            }

            //DrawMenu
            DrawMenu = Menu.AddSubMenu("Drawings");
            {
                DrawMenu.AddGroupLabel("Drawings settings");
                DrawMenu.Add("drawform", new CheckBox("Draw ability range other form", false));
                DrawMenu.Add("drawaa", new CheckBox("Draw other form A.A range", false));
                DrawMenu.Add("drawjump", new CheckBox("Draw Jump spot"));
                DrawMenu.Add("formdraw", new CheckBox("Draw ability cooldown other form"));
                DrawMenu.Add("Xbonus", new Slider("X", 500, 0, 1000));
                DrawMenu.Add("Ybonus", new Slider("Y", 500, 0, 1000));
                DrawMenu.Add("drawdamage", new CheckBox("Damage Indicator"));
                DrawMenu.AddGroupLabel("Human Form");
                DrawMenu.Add("drawQ", new CheckBox("Draw Q"));
                DrawMenu.Add("drawW", new CheckBox("Draw W"));
                DrawMenu.Add("drawE", new CheckBox("Draw E"));
                DrawMenu.AddGroupLabel("Cougar Form");
                DrawMenu.Add("drawW2", new CheckBox("Draw W"));
                DrawMenu.Add("drawW2p", new CheckBox("Draw W (passive)", false));
                DrawMenu.Add("drawE2", new CheckBox("Draw E"));

            }
        }
Пример #30
0
        public static void Dattenosa()
        {
            Menu = MainMenu.AddMenu("UBActivator", "UB Activator");
            Menu.AddGroupLabel("Made by Uzumaki Boruto");
            Menu.AddLabel("Dattenosa");
            Menu.AddLabel("Global Settings");
            Menu.AddLabel("Must F5 to take effect");
            Menu.AddLabel("Uncheck both won't load anything");
            OnTickButton = Menu.Add("Ontick", new CheckBox("Use Game.OnTick (More fps)"));
            OnTickButton.OnValueChange += delegate(ValueBase <bool> sender, ValueBase <bool> .ValueChangeArgs args)
            {
                if (args.NewValue)
                {
                    OnUpdateButton.CurrentValue = false;
                    return;
                }
                if (!OnUpdateButton.CurrentValue)
                {
                    OnTickButton.CurrentValue = true;
                }
            };
            OnUpdateButton = Menu.Add("OnUpdate", new CheckBox("Use Game.OnUpdate (Faster rection)", false));
            OnUpdateButton.OnValueChange += delegate(ValueBase <bool> sender, ValueBase <bool> .ValueChangeArgs args)
            {
                if (args.NewValue)
                {
                    OnTickButton.CurrentValue = false;
                    return;
                }
                if (!OnTickButton.CurrentValue)
                {
                    OnUpdateButton.CurrentValue = true;
                }
            };

            /*
             * Menu.AddLabel("Global Settings");
             * Menu.AddLabel("Must F5 to take effect");
             * Menu.Add("Potions", new ComboBox("Potions Menus will be", 1, "Simple", "Details"));
             * Menu.Add("Offensive", new ComboBox("Offensive Menus will be", 0, "Simple", "Details"));
             * Menu.Add("Defensive", new ComboBox("Defensive Menus will be", 0, "Simple", "Details"));
             * Menu.Add("Clean", new ComboBox("Clean Menus will be", 0, "Simple", "Details"));
             * Menu.Add("Spell", new ComboBox("Spell Menus will be", 0, "Simple", "Details"));
             * Menu.Add("Ward", new ComboBox("Ward Menus will be", 0, "Simple", "Details"));
             * Menu.Add("Utility", new ComboBox("Utility Menus will be", 0, "Simple", "Details"));*/


            Potions = Menu.AddSubMenu("Potions Config");
            {
                Potions.Add("ePotions", new CheckBox("Enable Auto Potion"));
                Potions.Add("preHPrecall", new CheckBox("Prevent using Potion if recalling"));
                Potions.Add("inshopHP", new CheckBox("Prevent using Potions in shop range"));
                Potions.Add("predHP", new CheckBox("Using Predition", false));
                Potions.AddSeparator();

                Potions.Add("HP", new CheckBox("Health Potion"));
                Potions.Add("HPH", new Slider("HP below {0}% use Potion", 65, 0, 100));
                Potions.AddSeparator();

                Potions.Add("Biscuit", new CheckBox("Biscuit"));
                Potions.Add("BiscuitH", new Slider("HP below {0}% use Potion", 60, 0, 100));
                Potions.AddSeparator();

                Potions.Add("RP", new CheckBox("Refillable Potion"));
                Potions.Add("RPH", new Slider("HP below {0}% use Potion", 65, 0, 100));
                Potions.AddSeparator();

                Potions.Add("CP", new CheckBox("Corrupting Potion"));
                Potions.Add("MPCP", new CheckBox("Prevent use Potion if the restore MP more than max MP"));
                Potions.Add("CPH", new Slider("HP below {0}% use Potion", 65, 0, 100));
                Potions.AddSeparator();

                Potions.Add("HTP", new CheckBox("Hunters Potion"));
                Potions.Add("MPHTP", new CheckBox("Prevent use Potion if the restore MP more than max MP"));
                Potions.Add("HTPH", new Slider("HP below {0}% use Potion", 75, 0, 100));
            }

            Offensive = Menu.AddSubMenu("Offensive Config");
            {
                Offensive.AddGroupLabel("Targeted Item");
                Offensive.Add("cbitem", new CheckBox("Use On Combo Only"));
                Offensive.Add("BC", new CheckBox("Use Bilgewater Cutlass"));
                Offensive.Add("Bork", new CheckBox("Use Blade of Ruined King"));
                Offensive.Add("HG", new CheckBox("Use Hextech Gunblade"));
                Offensive.Add("MyHPT", new Slider("My HP", 80));
                Offensive.Add("TargetHPT", new Slider("Target HP", 80));
                Offensive.AddSeparator();
                Offensive.Add("HGks", new CheckBox("Hextech Gunblade Killsteal"));
                Offensive.Add("BCks", new CheckBox("Bilgewater Cutlass Ks"));
                Offensive.Add("Borkks", new CheckBox("Blade of Ruined King Ks"));
                Offensive.AddGroupLabel("AOE Item");
                Offensive.AddLabel("Versus Champion");
                Offensive.Add("Tiamat", new ComboBox("Use Tiamat/Hydra/Titanic", 4, "None", "Harass Only", "Combo Only", "Both", "Auto Use"));
                Offensive.Add("TiamatSlider", new Slider("{0}% damage to use Tiamat/Hydra", 75));
                Offensive.Add("styletitanic", new ComboBox("Use Titanic Hydra:", 0, "After Attack", "Before Attack"));
                Offensive.Add("TiamatKs", new CheckBox("Use to Tiamat/Hydra Killsteal"));
                Offensive.AddLabel("Versus Minion");
                Offensive.Add("TiamatLc", new CheckBox("Use Tiamat/Hydra/Titanic on LaneClear"));
                Offensive.Add("TiamatLccount", new Slider("Use only around me ≥ {0} minion(s)", 4, 1, 10));
                Offensive.Add("TiamatLh", new CheckBox("Use on Unkillable minion"));
                Offensive.AddLabel("Versus Monster");
                Offensive.Add("TiamatJc", new CheckBox("Use on JungClear"));
                Offensive.Add("TiamatJccount", new Slider("Use only around me ≥ {0} monster(s), use anyway with Baron/Dragon/Herald", 2, 1, 4));
                Offensive.AddGroupLabel("Movement Item");
                Offensive.Add("cbmvitem", new CheckBox("Use On Combo Only"));
                Offensive.Add("Youmuu", new CheckBox("Youmuu's Ghostblade"));
                Offensive.AddSeparator();
                Offensive.Add("Hextech01", new CheckBox("Use HT_Protobelt_01"));
                Offensive.Add("Hextech01Ks", new CheckBox("Use HT_Protobelt_01 on KillSteal"));
                Offensive.Add("Hextech01gap", new ComboBox("Use HT_Protobelt_01 on GapCloser", 2, "None", "To Mouse", "To Target"));
                Offensive.Add("Hextech01agap", new CheckBox("Use HT_Protobelt_01 on anti GapCloser", false));
                Offensive.AddSeparator();
                Offensive.Add("Hextech800style", new ComboBox("Use HT_GLP_800 On:", 3, "None", "Only Anti GapCloser", "Only KillSteal", " Both"));
            }

            Defensive = Menu.AddSubMenu("Defensive Config");
            {
                if (!Extensions.ChampNoMana)
                {
                    Defensive.AddGroupLabel("Seraph's Embrace Setting");
                    Defensive.Add("Ser", new CheckBox("Use Seraph's Embrace"));
                    Defensive.Add("Seratt", new CheckBox("Block basic attack & spells"));
                    SerSlider = Defensive.Add("Sershield", new Slider("Use if block {0}% shield value", 60, 0, 100));
                    SerSlider.OnValueChange += SerSlider_OnValueChange;
                    SerLabel = Defensive.Add("SerLabel", new Label("This mean Use Seraph if the basic attack or spell ≥ " + Math.Round((150 + 0.2 * Player.Instance.Mana) * 60 / 100) + " damage"));
                    Defensive.AddSeparator();
                }
                Defensive.AddGroupLabel("Face of The Moutain Setting");
                Defensive.Add("Face", new CheckBox("Use Face Of The Mountain"));
                Defensive.Add("Faceatt", new CheckBox("Block basic attack & spells"));
                FOTMSlider = Defensive.Add("Faceshield", new Slider("Use if block {0}% shield value", 60, 0, 100));
                FOTMSlider.OnValueChange += FOTMSlider_OnValueChange;
                FOTMLabel = Defensive.Add("FOTMLabel", new Label("This mean Use FOTM if the basic attack or spell ≥ " + Math.Round(Player.Instance.MaxHealth * 0.1 * 60 / 100) + " damage"));
                foreach (var Ally in EntityManager.Heroes.Allies)
                {
                    Defensive.Add("Face" + Ally.ChampionName, new CheckBox("Use FOTM on " + Ally.ChampionName));
                }
                Defensive.AddSeparator();
                Defensive.AddGroupLabel("Solari Setting");
                Defensive.Add("Solari", new CheckBox("Use Solari"));
                SolariSlider = Defensive.Add("Solarishield", new Slider("Use if block {0}% shield value", 60, 0, 100));
                SolariSlider.OnValueChange += SolariSlider_OnValueChange;
                SolariLabel = Defensive.Add("SolariLabel", new Label("This mean Use Solari if the basic attack or spell ≥ " + (75 + 15 * Player.Instance.Level) * 60 / 100 + " damage"));
                foreach (var Ally in EntityManager.Heroes.Allies)
                {
                    Defensive.Add("Solari" + Ally.ChampionName, new CheckBox("Use Solari on " + Ally.ChampionName));
                }
                Defensive.AddSeparator();
                Defensive.AddGroupLabel("Zhonya Customize");
                Defensive.Add("predtimebool", new CheckBox("Using Prediction to use Zhonya"));
                Defensive.Add("predtime", new Slider("Prediction in {0}0 ms", 70, 1));
                Defensive.Add("percentusagebool", new CheckBox("Percent Health Usage"));
                Defensive.Add("percentusage", new Slider("Use Zhonya if my HP below {0}%", 15));
                Defensive.AddGroupLabel("Block Danger Spells by Zhonya");
                Defensive.Add("enableblock", new CheckBox("Enable deny spell in spells list below", false));
                Defensive.AddSeparator();
            }

            Combat = Menu.AddSubMenu("Combat Item");
            {
                Combat.Add("Randuin", new CheckBox("Use Randuin"));
                Combat.Add("RanduinCb", new CheckBox("Use On Combo Only"));
                Combat.Add("Randuincount", new Slider("Use Randuin On {0} Enemies", 2, 1, 5));
                Combat.AddSeparator();
                Combat.Add("Glory", new CheckBox("Auto use Righteous Glory"));
                Combat.Add("GloryCb", new CheckBox("Use On Combo Only"));
                Combat.Add("Glorycountally", new Slider("Use it if buff {0} ally", 3, 1, 4));
            }

            Clean = Menu.AddSubMenu("Cleanse");
            {
                Clean.Add("enableQSS", new CheckBox("Use QSS/Mercurial"));
                Clean.Add("enableCleanse", new CheckBox("Use Cleanse (Spell)"));
                Clean.Add("enableMikael", new CheckBox("Use Mikael on Ally"));
                foreach (var ally in EntityManager.Heroes.Allies)
                {
                    if (ally.ChampionName != Player.Instance.ChampionName)
                    {
                        Clean.Add("mikael" + ally.ChampionName, new CheckBox("Use on " + ally.ChampionName));
                    }
                }
                Clean.AddGroupLabel("Auto QSS if :");
                Clean.Add("Airbone", new CheckBox("Airbone"));
                Clean.Add("Blind", new CheckBox("Blind", false));
                Clean.Add("Charm", new CheckBox("Charm"));
                Clean.Add("Fear", new CheckBox("Fear"));
                Clean.Add("Nearsight", new CheckBox("Nearsight", false));
                Clean.Add("Polymorph", new CheckBox("Polymorph"));
                Clean.Add("Taunt", new CheckBox("Taunt"));
                Clean.Add("Slow", new CheckBox("Slow", false));
                Clean.Add("Stun", new CheckBox("Stun"));
                Clean.Add("Snare", new CheckBox("Root"));
                Clean.Add("Suppression", new CheckBox("Suppression"));
                Clean.Add("Silence", new CheckBox("Silence", false));
                Clean.AddSeparator();
                CleanDelay = Clean.Add("random", new CheckBox("Use Random delay value"));
                CleanDelay.OnValueChange += CleanDelay_OnValueChange;
                CleanSlider = Clean.Add("CCDelay", new Slider("Delay", 250, 0, 1000));
                Clean.Add("EnemyManager", new CheckBox("Use QSS despite of no enemy around", false));
            }

            Spell = Menu.AddSubMenu("Spells");
            {
                if (Spells.Smite != null)
                {
                    var notif = new SimpleNotification("UBActivator Notification", "Detected Smite as a summoner spell.");
                    Notifications.Show(notif, 5000);
                    Spell.AddGroupLabel("Smite");
                    Spell.Add("esmite3r", new CheckBox("Use smite to Jungle Steal"));
                    Spell.AddLabel("Only work on Baron/ Dragon/ Hearald");
                    Spell.Add("esmitered", new CheckBox("JungleSteal Red buff", false));
                    Spell.Add("esmiteblue", new CheckBox("JungleSteal Blue buff", false));
                    Spell.Add("esmiteKs", new CheckBox("Use Smite to Killsteal"));
                    foreach (var enemy in EntityManager.Heroes.Enemies)
                    {
                        Spell.Add("Smite" + enemy.ChampionName, new CheckBox("Use Smite on " + enemy.ChampionName));
                    }
                }
                if (Spells.Heal != null)
                {
                    var notif = new SimpleNotification("UBActivator Notification", "Detected Heal as a summoner spell.");
                    Notifications.Show(notif, 5000);
                    Spell.AddGroupLabel("Heal");
                    Spell.Add("eHeal", new CheckBox("Use Heal"));
                    Spell.Add("myHPHeal", new Slider("Use Heal if my HP below {0}%", 30));
                    Spell.Add("eHealAlly", new CheckBox("Use Heal on Ally"));
                    foreach (var ally in EntityManager.Heroes.Allies)
                    {
                        if (ally.ChampionName != Player.Instance.ChampionName)
                        {
                            Spell.Add("heal" + ally.ChampionName, new CheckBox("Heal " + ally.ChampionName));
                        }
                    }
                    Spell.Add("allyHPHeal", new Slider("If ally's HP blow {0}% use Heal", 15));
                }
                if (Spells.Ignite != null)
                {
                    var notif = new SimpleNotification("UBActivator Notification", "Detected Ignite as a summoner spell.");
                    Notifications.Show(notif, 5000);

                    Spell.AddGroupLabel("Ignite");
                    Spell.Add("eIg", new CheckBox("Use Ig to KillSteal"));
                    Spell.Add("Igstyle", new ComboBox("Damage Calculator:", 0, "Full Damage", "First Tick"));
                    foreach (var enemy in EntityManager.Heroes.Enemies)
                    {
                        Spell.Add("Ig" + enemy.ChampionName, new CheckBox("Use Ignite on " + enemy.ChampionName));
                    }
                }
            }

            Ward = Menu.AddSubMenu("Auto Reveal");
            {
                Ward.Add("enableward", new CheckBox("Enable Reveal"));
                Ward.Add("enablebrush", new CheckBox("Anti Bush"));
                WardButton = Ward.Add("wardhuman", new CheckBox("Use random value", false));
                WardButton.OnValueChange += WardButton_OnValueChange;
                WardSlider = Ward.Add("warddelay", new Slider("Delay", 500, 0, 2000));
            }

            Utility = Menu.AddSubMenu("Other Settings");
            {
                if (EntityManager.Heroes.Allies.Any(x => x.Hero == Champion.Thresh && !x.IsMe))
                {
                    var notif = new SimpleNotification("UBActivator Notification", "Detected Thresh in team.");
                    Notifications.Show(notif, 5000);
                    Utility.Add("lantern", new CheckBox("Auto Lantern"));
                }
                Utility.AddGroupLabel("Remind Trinkets");
                Utility.Add("remind", new ComboBox("Remind me to change Trinkets", 2, "Disable", "Print Chat", "Notification"));
                Utility.AddGroupLabel("Auto Tear");
                Utility.Add("etear", new CheckBox("Auto stack Tear"));
                Utility.AddGroupLabel("Mod Skin");
                Utility.Add("eskin", new CheckBox("Enable Modskin", false));
                SkinSlider = Utility.Add("skin", new Slider("Drag for skin", 0, 0, 15));
                SkinSlider.OnValueChange += SkinSlider_OnValueChange;
            }

            Level = Menu.AddSubMenu("Auto Level");
            {
                Level.AddGroupLabel("Auto Level Up");
                Level.Add("lvl", new CheckBox("Enable Auto Level UP"));
                RandomButton = Level.Add("lvlrandom", new CheckBox("Use Random Value", false));
                var button = Level.Add("reset", new CheckBox("Click here to reset", false));
                button.OnValueChange += delegate(ValueBase <bool> sender, ValueBase <bool> .ValueChangeArgs args)
                {
                    switch (args.NewValue)
                    {
                    case true:
                    {
                        for (var i = 1; i <= 18; i++)
                        {
                            Level[i.ToString() + Player.Instance.ChampionName].Cast <ComboBox>().CurrentValue = SkillOrder[i - 1];
                        }
                        button.DisplayName  = "Reseted";
                        button.CurrentValue = false;
                    }
                    break;

                    case false:
                    {
                    }
                    break;
                    }
                };
                RandomButton.OnValueChange += RandomButton_OnValueChange;
                RandomSlider = Level.Add("lvldelay", new Slider("Delay", 500, 0, 2000));

                #region Champion Skill Order
                switch (Player.Instance.ChampionName)
                {
                case "Aatrox":
                    SkillOrder = new[] { 2, 1, 3, 3, 3, 4, 3, 2, 3, 2, 4, 2, 2, 1, 1, 4, 1, 1 };
                    break;

                case "Ahri":
                    SkillOrder = new[] { 1, 3, 2, 1, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };
                    break;

                case "Akali":
                    SkillOrder = new[] { 1, 2, 3, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
                    break;

                case "Alistar":
                    SkillOrder = new[] { 1, 2, 3, 1, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };
                    break;

                case "Amumu":
                    SkillOrder = new[] { 3, 2, 1, 2, 2, 4, 2, 3, 2, 3, 4, 3, 3, 1, 1, 4, 1, 1 };
                    break;

                case "Anivia":
                    SkillOrder = new[] { 1, 3, 2, 3, 3, 4, 3, 1, 3, 1, 4, 1, 1, 2, 2, 4, 2, 2 };
                    break;

                case "Annie":
                    SkillOrder = new[] { 1, 2, 3, 1, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };
                    break;

                case "Ashe":
                    SkillOrder = new[] { 1, 2, 3, 1, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };
                    break;

                case "AurelionSol":
                    SkillOrder = new[] { 1, 2, 2, 3, 2, 4, 2, 1, 2, 1, 4, 1, 1, 3, 3, 4, 3, 3 };
                    break;

                case "Azir":
                    SkillOrder = new[] { 2, 1, 3, 1, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };
                    break;

                case "Bard":
                    SkillOrder = new[] { 1, 2, 1, 3, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };
                    break;

                case "Blitzcrank":
                    SkillOrder = new[] { 1, 2, 3, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
                    break;

                case "Brand":
                    SkillOrder = new[] { 2, 1, 3, 2, 2, 4, 2, 3, 2, 3, 4, 3, 3, 1, 1, 4, 1, 1 };
                    break;

                case "Braum":
                    SkillOrder = new[] { 1, 3, 2, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
                    break;

                case "Caitlyn":
                    SkillOrder = new[] { 2, 1, 3, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
                    break;

                case "Cassiopeia":
                    SkillOrder = new[] { 1, 3, 3, 2, 3, 4, 3, 1, 3, 1, 4, 1, 1, 2, 2, 4, 2, 2 };
                    break;

                case "Chogath":
                    SkillOrder = new[] { 1, 3, 2, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
                    break;

                case "Corki":
                    SkillOrder = new[] { 1, 2, 3, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
                    break;

                case "Darius":
                    SkillOrder = new[] { 1, 3, 2, 1, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };
                    break;

                case "Diana":
                    SkillOrder = new[] { 1, 2, 3, 1, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };
                    break;

                case "DrMundo":
                    SkillOrder = new[] { 1, 2, 3, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
                    break;

                case "Draven":
                    SkillOrder = new[] { 1, 2, 3, 1, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };
                    break;

                case "Elise":
                    Extensions.ROff = -1;
                    SkillOrder      = new[] { 2, 1, 3, 1, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };
                    break;

                case "Evelynn":
                    SkillOrder = new[] { 1, 3, 1, 2, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
                    break;

                case "Ezreal":
                    SkillOrder = new[] { 1, 3, 1, 2, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
                    break;

                case "Ekko":
                    SkillOrder = new[] { 1, 3, 2, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
                    break;

                case "FiddleSticks":
                    SkillOrder = new[] { 2, 3, 1, 2, 2, 4, 2, 1, 2, 1, 4, 1, 1, 3, 3, 4, 3, 3 };
                    break;

                case "Fiora":
                    SkillOrder = new[] { 1, 2, 3, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
                    break;

                case "Fizz":
                    SkillOrder = new[] { 3, 1, 2, 3, 3, 4, 3, 1, 3, 1, 4, 1, 1, 2, 2, 4, 2, 2 };
                    break;

                case "Galio":
                    SkillOrder = new[] { 1, 3, 2, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
                    break;

                case "Gangplank":
                    SkillOrder = new[] { 1, 3, 2, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
                    break;

                case "Garen":
                    SkillOrder = new[] { 1, 3, 2, 3, 3, 4, 3, 1, 3, 1, 4, 1, 1, 2, 2, 4, 2, 2 };
                    break;

                case "Gnar":
                    SkillOrder = new[] { 1, 2, 3, 1, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };
                    break;

                case "Gragas":
                    SkillOrder = new[] { 1, 3, 1, 2, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };
                    break;

                case "Graves":
                    SkillOrder = new[] { 1, 3, 2, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
                    break;

                case "Hecarim":
                    SkillOrder = new[] { 1, 2, 3, 1, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };
                    break;

                case "Heimerdinger":
                    SkillOrder = new[] { 1, 2, 3, 1, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };
                    break;

                case "Illaoi":
                    SkillOrder = new[] { 1, 2, 3, 1, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };
                    break;

                case "Ivern":
                    SkillOrder = new[] { 1, 3, 2, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
                    break;

                case "Irelia":
                    SkillOrder = new[] { 1, 3, 2, 2, 2, 4, 2, 3, 2, 3, 4, 3, 3, 1, 1, 4, 1, 1 };
                    break;

                case "Janna":
                    SkillOrder = new[] { 3, 1, 2, 3, 3, 4, 3, 2, 3, 2, 4, 2, 2, 1, 1, 4, 1, 1 };
                    break;

                case "JarvanIV":
                    SkillOrder = new[] { 3, 1, 2, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
                    break;

                case "Jax":
                    SkillOrder = new[] { 3, 2, 1, 2, 2, 4, 2, 1, 2, 1, 4, 1, 1, 3, 3, 4, 3, 3 };
                    break;

                case "Jayce":
                    Extensions.ROff = -1;
                    SkillOrder      = new[] { 1, 3, 2, 1, 1, 2, 1, 3, 1, 3, 1, 3, 3, 2, 2, 3, 2, 2 };
                    break;

                case "Jhin":
                    SkillOrder = new[] { 1, 2, 1, 3, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };
                    break;

                case "Jinx":
                    SkillOrder = new[] { 1, 3, 2, 1, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };
                    break;

                case "Kled":
                    SkillOrder = new[] { 1, 2, 3, 1, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };
                    break;

                case "Karma":
                    Extensions.ROff = -1;
                    SkillOrder      = new[] { 1, 3, 1, 2, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };
                    break;

                case "Karthus":
                    SkillOrder = new[] { 1, 3, 2, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
                    break;

                case "Kassadin":
                    SkillOrder = new[] { 1, 2, 3, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
                    break;

                case "Katarina":
                    SkillOrder = new[] { 1, 3, 2, 1, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };
                    break;

                case "Kalista":
                    SkillOrder = new[] { 3, 1, 2, 3, 3, 4, 1, 3, 3, 1, 4, 1, 1, 2, 2, 4, 2, 2 };
                    break;

                case "Kayle":
                    SkillOrder = new[] { 3, 1, 2, 3, 3, 4, 3, 1, 3, 1, 4, 1, 1, 2, 2, 4, 2, 2 };
                    break;

                case "Kennen":
                    SkillOrder = new[] { 2, 1, 3, 2, 2, 4, 2, 1, 2, 1, 4, 1, 1, 3, 3, 4, 3, 3 };
                    break;

                case "Khazix":
                    SkillOrder = new[] { 1, 2, 3, 1, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };
                    break;

                case "Kindred":
                    SkillOrder = new[] { 2, 1, 3, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
                    break;

                case "KogMaw":
                    SkillOrder = new[] { 2, 3, 1, 2, 2, 4, 2, 3, 2, 3, 4, 3, 3, 1, 1, 4, 1, 1 };
                    break;

                case "Leblanc":
                    SkillOrder = new[] { 2, 1, 3, 2, 2, 4, 2, 1, 2, 1, 4, 1, 1, 3, 3, 4, 3, 3 };
                    break;

                case "LeeSin":
                    SkillOrder = new[] { 1, 2, 3, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
                    break;

                case "Leona":
                    SkillOrder = new[] { 3, 1, 2, 2, 2, 4, 2, 3, 2, 3, 4, 3, 3, 1, 1, 4, 1, 1 };
                    break;

                case "Lissandra":
                    SkillOrder = new[] { 1, 3, 2, 1, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };
                    break;

                case "Lucian":
                    SkillOrder = new[] { 1, 3, 2, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
                    break;

                case "Lulu":
                    SkillOrder = new[] { 1, 3, 2, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 1, 4, 2, 2 };
                    break;

                case "Lux":
                    SkillOrder = new[] { 3, 1, 2, 3, 3, 4, 3, 1, 3, 1, 4, 1, 1, 2, 2, 4, 2, 2 };
                    break;

                case "Malphite":
                    SkillOrder = new[] { 1, 3, 2, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
                    break;

                case "Malzahar":
                    SkillOrder = new[] { 2, 3, 1, 3, 3, 4, 3, 1, 3, 1, 4, 1, 1, 2, 2, 4, 2, 2 };
                    break;

                case "Maokai":
                    SkillOrder = new[] { 3, 1, 2, 1, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };
                    break;

                case "MasterYi":
                    SkillOrder = new[] { 1, 2, 3, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
                    break;

                case "MissFortune":
                    SkillOrder = new[] { 1, 2, 3, 2, 2, 4, 2, 1, 2, 1, 4, 1, 1, 3, 3, 4, 3, 3 };
                    break;

                case "Mordekaiser":
                    SkillOrder = new[] { 3, 1, 2, 3, 3, 4, 3, 1, 3, 1, 4, 1, 1, 2, 2, 4, 2, 2 };
                    break;

                case "Morgana":
                    SkillOrder = new[] { 1, 2, 3, 2, 2, 4, 2, 1, 2, 1, 4, 1, 1, 3, 3, 4, 3, 3 };
                    break;

                case "Nami":
                    SkillOrder = new[] { 2, 1, 3, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
                    break;

                case "Nasus":
                    SkillOrder = new[] { 1, 2, 3, 1, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };
                    break;

                case "Nautilus":
                    SkillOrder = new[] { 3, 2, 1, 3, 3, 4, 3, 2, 3, 2, 4, 2, 2, 1, 1, 4, 1, 1 };
                    break;

                case "Nidalee":
                    Extensions.ROff = -1;
                    SkillOrder      = new[] { 2, 1, 3, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
                    break;

                case "Nocturne":
                    SkillOrder = new[] { 1, 3, 2, 1, 1, 4, 1, 3, 1, 3, 4, 3, 2, 3, 2, 4, 2, 2 };
                    break;

                case "Nunu":
                    SkillOrder = new[] { 1, 3, 2, 3, 3, 4, 3, 2, 3, 2, 4, 2, 2, 1, 1, 4, 1, 1 };
                    break;

                case "Olaf":
                    SkillOrder = new[] { 2, 1, 3, 3, 3, 4, 3, 1, 3, 1, 4, 1, 1, 2, 2, 4, 2, 2 };
                    break;

                case "Orianna":
                    SkillOrder = new[] { 1, 2, 3, 1, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };
                    break;

                case "Pantheon":
                    SkillOrder = new[] { 1, 2, 3, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
                    break;

                case "Poppy":
                    SkillOrder = new[] { 1, 3, 2, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
                    break;

                case "Quinn":
                    SkillOrder = new[] { 1, 3, 2, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
                    break;

                case "Rammus":
                    SkillOrder = new[] { 2, 1, 3, 2, 3, 4, 2, 3, 3, 3, 4, 2, 2, 1, 1, 4, 1, 1 };
                    break;

                case "Renekton":
                    SkillOrder = new[] { 1, 3, 2, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
                    break;

                case "Rengar":
                    SkillOrder = new[] { 1, 2, 3, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
                    break;

                case "Riven":
                    SkillOrder = new[] { 1, 2, 3, 1, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };
                    break;

                case "Rumble":
                    SkillOrder = new[] { 1, 3, 2, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
                    break;

                case "RekSai":
                    SkillOrder = new[] { 1, 2, 3, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
                    break;

                case "Ryze":
                    SkillOrder = new[] { 1, 2, 3, 1, 1, 4, 1, 3, 1, 3, 4, 1, 3, 3, 2, 2, 2, 2 };
                    break;

                case "Sejuani":
                    SkillOrder = new[] { 2, 3, 1, 2, 2, 4, 2, 1, 2, 3, 4, 3, 3, 3, 1, 4, 1, 1 };
                    break;

                case "Shaco":
                    SkillOrder = new[] { 2, 1, 3, 3, 3, 4, 3, 1, 3, 1, 4, 1, 1, 2, 2, 4, 2, 2 };
                    break;

                case "Shen":
                    SkillOrder = new[] { 1, 3, 2, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
                    break;

                case "Shyvana":
                    SkillOrder = new[] { 2, 1, 3, 2, 2, 4, 2, 3, 2, 3, 4, 3, 3, 1, 1, 4, 1, 1 };
                    break;

                case "Singed":
                    SkillOrder = new[] { 1, 3, 2, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
                    break;

                case "Sion":
                    SkillOrder = new[] { 1, 2, 3, 1, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };
                    break;

                case "Sivir":
                    SkillOrder = new[] { 1, 3, 2, 1, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };
                    break;

                case "Skarner":
                    SkillOrder = new[] { 1, 2, 3, 3, 3, 4, 3, 3, 1, 1, 4, 1, 1, 2, 2, 4, 2, 2 };
                    break;

                case "Sona":
                    SkillOrder = new[] { 1, 2, 3, 1, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };
                    break;

                case "Soraka":
                    SkillOrder = new[] { 1, 2, 3, 2, 2, 4, 2, 1, 2, 1, 4, 1, 1, 3, 3, 4, 3, 3 };
                    break;

                case "Swain":
                    SkillOrder = new[] { 1, 2, 3, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
                    break;

                case "Syndra":
                    SkillOrder = new[] { 1, 3, 2, 1, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };
                    break;

                case "Taliyah":
                    SkillOrder = new[] { 1, 3, 2, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
                    break;

                case "Talon":
                    SkillOrder = new[] { 2, 3, 1, 2, 2, 4, 2, 1, 2, 1, 4, 1, 1, 3, 3, 4, 3, 3 };
                    break;

                case "Taric":
                    SkillOrder = new[] { 3, 2, 1, 3, 3, 4, 3, 1, 3, 1, 4, 1, 1, 2, 2, 4, 2, 2 };
                    break;

                case "TahmKench":
                    SkillOrder = new[] { 1, 2, 3, 1, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };
                    break;

                case "Teemo":
                    SkillOrder = new[] { 3, 1, 2, 3, 3, 4, 3, 1, 3, 1, 4, 1, 1, 2, 2, 4, 2, 2 };
                    break;

                case "Thresh":
                    SkillOrder = new[] { 3, 1, 2, 3, 3, 4, 3, 1, 3, 1, 4, 1, 1, 2, 2, 4, 2, 2 };
                    break;

                case "Tristana":
                    SkillOrder = new[] { 3, 1, 2, 3, 3, 4, 3, 1, 3, 1, 4, 1, 1, 2, 2, 4, 2, 2 };
                    break;

                case "Trundle":
                    SkillOrder = new[] { 1, 2, 1, 3, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };
                    break;

                case "Tryndamere":
                    SkillOrder = new[] { 1, 3, 2, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
                    break;

                case "TwistedFate":
                    SkillOrder = new[] { 2, 1, 3, 1, 1, 4, 1, 2, 1, 2, 4, 2, 4, 3, 3, 4, 3, 3 };
                    break;

                case "Twitch":
                    SkillOrder = new[] { 3, 1, 2, 3, 3, 4, 3, 1, 3, 1, 4, 1, 1, 2, 2, 4, 2, 2 };
                    break;

                case "Udyr":
                    SkillOrder = new[] { 4, 2, 3, 4, 4, 1, 4, 2, 4, 2, 2, 2, 3, 3, 3, 3, 1, 1 };
                    break;

                case "Urgot":
                    SkillOrder = new[] { 3, 1, 2, 1, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };
                    break;

                case "Varus":
                    SkillOrder = new[] { 1, 2, 3, 1, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };
                    break;

                case "Vayne":
                    SkillOrder = new[] { 1, 2, 3, 1, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };
                    break;

                case "Veigar":
                    SkillOrder = new[] { 1, 3, 2, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
                    break;

                case "Velkoz":
                    SkillOrder = new[] { 1, 2, 3, 1, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };
                    break;

                case "Vi":
                    SkillOrder = new[] { 3, 1, 1, 2, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };
                    break;

                case "Viktor":
                    SkillOrder = new[] { 1, 3, 3, 2, 3, 4, 3, 1, 3, 1, 4, 1, 1, 2, 2, 4, 2, 2 };
                    break;

                case "Vladimir":
                    SkillOrder = new[] { 1, 3, 2, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
                    break;

                case "Volibear":
                    SkillOrder = new[] { 2, 1, 3, 2, 2, 4, 2, 3, 2, 3, 4, 3, 3, 1, 1, 4, 1, 1 };
                    break;

                case "Warwick":
                    SkillOrder = new[] { 2, 1, 3, 1, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };
                    break;

                case "MonkeyKing":
                    SkillOrder = new[] { 3, 1, 2, 1, 1, 4, 3, 1, 3, 1, 4, 3, 3, 2, 2, 4, 2, 2 };
                    break;

                case "Xerath":
                    SkillOrder = new[] { 1, 3, 2, 1, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };
                    break;

                case "XinZhao":
                    SkillOrder = new[] { 1, 2, 3, 1, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };
                    break;

                case "Yasuo":
                    SkillOrder = new[] { 1, 3, 2, 3, 3, 4, 3, 1, 3, 1, 4, 1, 1, 2, 2, 4, 2, 2 };
                    break;

                case "Yorick":
                    SkillOrder = new[] { 2, 3, 1, 3, 3, 4, 3, 2, 3, 1, 4, 2, 1, 2, 1, 4, 2, 1 };
                    break;

                case "Zac":
                    SkillOrder = new[] { 2, 1, 3, 3, 1, 4, 3, 1, 3, 1, 4, 3, 1, 2, 2, 4, 2, 2 };
                    break;

                case "Zed":
                    SkillOrder = new[] { 1, 2, 3, 1, 1, 4, 1, 3, 3, 1, 4, 3, 3, 2, 2, 4, 2, 2 };
                    break;

                case "Ziggs":
                    SkillOrder = new[] { 1, 3, 2, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
                    break;

                case "Zilean":
                    SkillOrder = new[] { 1, 2, 3, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
                    break;

                case "Zyra":
                    SkillOrder = new[] { 1, 2, 3, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
                    break;

                default:
                    SkillOrder = new[] { 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 4, 0, 0, 0, 0, 4, 0, 0 };
                    break;
                }
                #endregion

                for (var i = 1; i <= 18; i++)
                {
                    Level.Add(i.ToString() + Player.Instance.ChampionName, new ComboBox("Level " + i, SkillOrder[i - 1], "None", "Q", "W", "E", "R"));
                }
            }
        }
Пример #31
0
        public static void LoadMenu()
        {
            var startMenu = MainMenu.AddMenu(MenuName, MenuName.ToLower());

            var notStart = new SimpleNotification("Mario`s Gangplank Loaded", "Mario`s Gangplank sucessfully loaded.");
            Notifications.Show(notStart, 2500);

            #region Combo
            ComboMenu = startMenu.AddSubMenu(":-Combo Menu-:");
            ComboMenu.AddGroupLabel("-:Combo Spells:-");
            ComboMenu.Add("qCombo", new CheckBox("• Use Q."));
            ComboMenu.Add("eCombo", new CheckBox("• Use E."));
            ComboMenu.AddLabel("If the target is close to you");
            ComboMenu.Add("eComboRangeClose", new Slider("How close to put the barrel(0 on the player)", 150, 50, 600));
            ComboMenu.AddLabel("If the target is far from you");
            ComboMenu.Add("eComboRangeFar", new Slider("How close to put the barrel(0 on the player)", 350, 300, 800));
            ComboMenu.Add("rCombo", new CheckBox("• Use R."));
            ComboMenu.Add("rComboCount", new Slider("Minimun enemies to use R.(0 = Off)", 2, 0, 5));
            #endregion Combo

            #region Harass
            HarassMenu = startMenu.AddSubMenu(":-Harass Menu-:");
            HarassMenu.AddGroupLabel("-:Harass Spells:-");
            HarassMenu.Add("qHarass", new CheckBox("• Use Q."));
            HarassMenu.Add("eHarass", new CheckBox("• Use E.", false));
            HarassMenu.AddGroupLabel("-:Harass Settings:-");
            HarassMenu.Add("manaHarass", new Slider("Mana must be greater than ({0}) to use harass spells.", 30));
            HarassMenu.AddGroupLabel("-:AutoHarass Spells:-");
            HarassMenu.Add("qAutoHarass", new CheckBox("• Use Q."));
            HarassMenu.Add("eAutoHarass", new CheckBox("• Use E."));
            HarassMenu.AddGroupLabel("-:AutoHarass Settings:-");
            var keyAutoHarass = HarassMenu.Add("keyAutoHarass",
                new KeyBind("KeyBind to change on/off AutoHarass", false, KeyBind.BindTypes.PressToggle, 'T'));
            keyAutoHarass.OnValueChange += delegate
            {
                var notHarassOn = new SimpleNotification("AutoHarass Mode Change", "AutoHarass is now On. ");
                var notHarassOff = new SimpleNotification("AutoHarass Mode Change", "AutoHarass is now Off. ");

                Notifications.Show(keyAutoHarass.CurrentValue ? notHarassOn : notHarassOff, 1000);
            };
            HarassMenu.Add("manaAutoHarass", new Slider("Mana must be greater than ({0}) to use auto harass spells.", 45));
            #endregion Harass

            #region LaneClear
            LaneClearMenu = startMenu.AddSubMenu(":-LaneClear Menu-:");
            LaneClearMenu.AddGroupLabel("-:LaneClear Spells:-");
            LaneClearMenu.Add("qLane", new CheckBox("• Use Q on Barrel."));
            LaneClearMenu.Add("qLaneLast", new CheckBox("• Use Q to last hit."));
            LaneClearMenu.Add("eLane", new CheckBox("• Use E."));
            LaneClearMenu.Add("eKeep", new Slider("• Keep ({0}) barrels.", 1, 0, 4));
            LaneClearMenu.AddGroupLabel("-:LaneClear Settings:-");
            LaneClearMenu.Add("qLaneCount", new Slider("How many minions must be in range of the barrel.", 2,0,6));
            LaneClearMenu.Add("eLaneCount", new Slider("Minimun minions to place E.", 3,0,6));
            LaneClearMenu.Add("manaLane", new Slider("Mana must be greater than ({0}) to use laneclear spells", 30));
            #endregion LaneClear

            #region JungleClear
            JungleClearMenu = startMenu.AddSubMenu(":-JungleClear Menu-:");
            JungleClearMenu.AddGroupLabel("-:JungleClear Spells:-");
            JungleClearMenu.Add("qJungle", new CheckBox("• Use Q Barrel."));
            JungleClearMenu.Add("qJungleLast", new CheckBox("• Use Q to kill the minion."));
            JungleClearMenu.Add("eJungle", new CheckBox("• Use E."));
            JungleClearMenu.AddGroupLabel("-:JungleClear Settings:-");
            JungleClearMenu.Add("manaJungle", new Slider("Mana must be greater than ({0}) to use jungleclear spells.", 30));
            #endregion JungleClear

            #region Lasthit
            LastHitMenu = startMenu.AddSubMenu(":-LastHit Menu-:");
            LastHitMenu.AddGroupLabel("-:LastHit Spells:-");
            LastHitMenu.Add("qLast", new CheckBox("• Use Q."));
            LastHitMenu.AddGroupLabel("-:LastHit Settings:-");
            LastHitMenu.Add("manaLast", new Slider("Mana must be greater than ({0}) to use lasthit spells.", 30));
            #endregion Lasthit

            #region Settings
            SettingsMenu = startMenu.AddSubMenu(":-Settings Menu-:");
            SettingsMenu.AddGroupLabel("-:Q KS Settings:-");
            SettingsMenu.Add("qKS", new CheckBox("• Use Q to ks."));
            SettingsMenu.AddGroupLabel("-:R Settings:-");
            SettingsMenu.Add("rKS", new CheckBox("• Use R to ks."));
            SettingsMenu.Add("rKSOverkill", new Slider("R KS overkill, it will only ult if target health is greater than [{0}]", 150, 50, 400));
            SettingsMenu.Add("rToSaveAlly", new CheckBox("• Use R to save ally."));
            SettingsMenu.Add("rToSaveAllyPercent", new Slider("• Ally health to save him msut be less than ({0}).", 15));
            SettingsMenu.AddGroupLabel("-:W Settings:-"); 
            SettingsMenu.Add("wUsePercent", new Slider("• Use W if health is lower than ({0}).", 20));
            SettingsMenu.AddSeparator(1);
            SettingsMenu.Add("wBuffStun", new CheckBox("• Stun"));
            SettingsMenu.Add("wBuffSlow", new CheckBox("• Slow", false));
            SettingsMenu.Add("wBuffBlind", new CheckBox("• Blind"));
            SettingsMenu.Add("wBuffSupression", new CheckBox("• Supression"));
            SettingsMenu.Add("wBuffSnare", new CheckBox("• Snare"));
            SettingsMenu.Add("wBuffTaunt", new CheckBox("• Taunt"));
            SettingsMenu.AddGroupLabel("-:Settings:-");
            LastHitMenu.Add("manaSettings", new Slider("Mana must be greater than ({0}) to use any spell in this menu.", 30));
            #endregion Settings

            #region Drawings
            DrawingsMenu = startMenu.AddSubMenu(":-Drawings Menu-:");
            DrawingsMenu.Add("readyDraw", new CheckBox("• Draw Spell`s range only if they are ready."));
            DrawingsMenu.Add("damageDraw", new CheckBox("• Draw damage indicator."));
            DrawingsMenu.Add("perDraw", new CheckBox("• Draw damage indicator percent."));
            DrawingsMenu.Add("statDraw", new CheckBox("• Draw damage indicator statistics"));
            DrawingsMenu.AddGroupLabel("-:Spells:-");
            DrawingsMenu.Add("qDraw", new CheckBox("• Draw Q."));
            DrawingsMenu.Add("wDraw", new CheckBox("• Draw W."));
            DrawingsMenu.Add("eDraw", new CheckBox("• Draw E."));
            DrawingsMenu.Add("barrelDraw", new CheckBox("• Draw Barrels."));
            #endregion Drawings
        }
Пример #32
0
        public static void Dattenosa()
        {
            // Menu
            Menu = MainMenu.AddMenu("UB Ryze", "UBRyze");
            Menu.AddGroupLabel("Uzumaki Boruto tarafindan yapılmıştır");
            Menu.AddGroupLabel("tradana tarafindan çevrilmiştir.");
            Menu.AddLabel("Dattenosa");


            ComboMenu = Menu.AddSubMenu("Combo");
            {
                ComboMenu.Add("useQcb", new CheckBox("Q Kullan"));
                ComboMenu.Add("useWcb", new CheckBox("W Kullan"));
                ComboMenu.Add("useEcb", new CheckBox("E Kullan"));
                ComboMenu.Add("useRcb", new CheckBox("R Kullan", false));
                ComboMenu.AddSeparator();
                ComboMenu.Add("combostyle", new ComboBox("Kombo Stili", 2, "Full Damage", "Shield & Movement speed", "Smart"));
                ComboMenu.Add("hpcbsmart", new Slider("Eğer canım şunun altındaysa {0}% Q kullanarak Kalkan Olsun (Akıllı)", 30));
                ComboMenu.Add("disatt", new CheckBox("Otomatik Atak Devredışı", false));
                ComboMenu.Add("logicdisatt", new CheckBox("Düz Vuruş Devredışı"));
                ComboMenu.AddSeparator();
                ComboMenu.Add("useflee", new CheckBox("Kaçarken Komboya İzin Ver"));
                ComboMenu.AddLabel("Normalde Kaçarken Sadece Q Kullanır");
                ComboMenu.AddLabel("Aktif Ederseniz Sadece Kaçar");
            }

            HarassMenu = Menu.AddSubMenu("Harass");
            {
                HarassMenu.Add("useQhr", new CheckBox("Q Kullan"));
                HarassMenu.Add("useWhr", new CheckBox("W Kullan"));
                HarassMenu.Add("useEhr", new CheckBox("E Kullan"));
                //HarassMenu.Add("useQEhr", new CheckBox("Use E on minion that colision in Q Width"));
                HarassMenu.Add("hrmanage", new Slider("Eğer canım şunun altındaysa {0}% Dürtmeyi durdur", 50));
                var HarassKey = HarassMenu.Add("keyharass", new KeyBind("Otomatik Dürtme", false, KeyBind.BindTypes.PressToggle, 'Z'));
                HarassKey.OnValueChange += delegate
                {
                    var On  = new SimpleNotification("Otomatik Dürtme Durumu:", "Aktif. ");
                    var Off = new SimpleNotification("Otomatik Dürtme Durumu:", "Pasif. ");

                    Notifications.Show(HarassKey.CurrentValue ? On : Off, 2000);
                };
                HarassMenu.Add("autohrmng", new Slider("Dürtmeyi durdur eğer canım şunun altındaysa {0}%", 80));
            }

            LaneClear = Menu.AddSubMenu("LaneClear");
            {
                LaneClear.Add("useQlc", new CheckBox("Q Kullan", false));
                LaneClear.Add("useWlc", new CheckBox("W Kullan", false));
                LaneClear.Add("useElc", new CheckBox("E Kullan", false));
                LaneClear.Add("lcmanage", new Slider("Eğer manam şunun altındaysa Büyü Kullanma", 50));
                LaneClear.Add("logiclc", new CheckBox("Akıllı Lanetemizleme Kullan[Deneme]", false));
                LaneClear.AddGroupLabel("AkıllıLanetemizleme");
                LaneClear.Add("Qlc", new Slider("Sadece şu kadar minyona E Kullan", 5, 1, 15));
                LaneClear.Add("Elc", new CheckBox("E atma Mantığı Aktif"));
            }

            JungleClear = Menu.AddSubMenu("JungClear");
            {
                JungleClear.Add("useQjc", new CheckBox("Q Kullan"));
                JungleClear.Add("onlyQjc", new CheckBox("Sadece Q Kullan"));
                JungleClear.Add("useWjc", new CheckBox("W Kullan"));
                JungleClear.Add("useEjc", new CheckBox("E Kullan"));
                JungleClear.Add("jcmanage", new Slider("Eğer manam şunun altında düşerse büyü Kullanma", 50));
            }

            LasthitMenu = Menu.AddSubMenu("Lasthit");
            {
                LasthitMenu.AddLabel("Bu büyüler sadece minyon ölecekse Kullanılır");
                LasthitMenu.Add("useQlh", new CheckBox("Q Kullan"));
                LasthitMenu.Add("useWlh", new CheckBox("W Kullan"));
                LasthitMenu.Add("useElh", new CheckBox("E Kullan"));
                LasthitMenu.Add("lhmanage", new Slider("Manam şunun altındayken Büyü Kullanma", 50));
                LasthitMenu.AddGroupLabel("Ölmeyecek minyonlara Büyü Kullan");
                LasthitMenu.Add("Qlh", new CheckBox("Q Kullan"));
                LasthitMenu.Add("Wlh", new CheckBox("W Kullan"));
                LasthitMenu.Add("Elh", new CheckBox("E Kullan"));
                LasthitMenu.Add("unkillmanage", new Slider("Manam şunun altındaysa KUllanma {0}%", 15));
            }

            AutoMenu = Menu.AddSubMenu("AutoMenu");
            {
                AutoBox = AutoMenu.Add("autofl", new ComboBox("Flashtan Sonra Otomatik W", 1, "None", "W", "E + W"));
                AutoBox.OnValueChange += AutoBox_OnValueChange;
                //AutoMenu.AddSeparator();
                //AutoMenu.Add("Rzh", new Slider("Auto use Zhonya & R to your nearesr Nexus if around you >= {0}", 5, 1, 6));
                //AutoMenu.Add("Rzhe", new Slider("Get enemy around you {0}0 distance", 50, 0, 150));
                //AutoMenu.Add("Rzha", new Slider("Get ally around you {0}0 distance", 100, 0, 150));
                //AutoMenu.AddLabel("This mean if x enemy around you and no ally around, you will R into nearest Turret");
            }

            MiscMenu = Menu.AddSubMenu("Ek");
            {
                MiscMenu.AddGroupLabel("Killçalma");
                MiscMenu.Add("Qks", new CheckBox("Q ile Çal"));
                MiscMenu.Add("Wks", new CheckBox("W ile Çal"));
                MiscMenu.Add("Eks", new CheckBox("E ile çal"));
                MiscMenu.AddGroupLabel("Hasar Tespitçisi");
                MiscMenu.Add("dmg", new ComboBox("Nasıl Hesaplansın?", 0, "Basic Combo(QWE)", "Highest Damage you can take"));
                MiscMenu.Add("gapcloser", new CheckBox("Rakibe Yaklaşma/Uzaklaşma için W"));
            }

            DrawMenu = Menu.AddSubMenu("Drawing");
            {
                DrawMenu.Add("draw", new CheckBox("Göstergeler Aktif"));
                DrawMenu.Add("drQ", new CheckBox("Q Göster"));
                DrawMenu.Add("drW", new CheckBox("W+E Göster"));
                DrawMenu.Add("drR", new CheckBox("R Göster"));
                DrawMenu.Add("drdamage", new CheckBox("Hasar Tespitçisi"));
                DrawMenu.Add("Color", new ColorPicker("Hasar Tespitçisi Rengi", Color.FromArgb(255, 255, 236, 0)));
            }
        }
Пример #33
0
        public static void LoadMenu()
        {
            var startMenu = MainMenu.AddMenu(MenuName, MenuName.ToLower());

            var notStart = new SimpleNotification("Mario`s Wukong Loaded", "Mario`s Wukong sucessfully loaded.");
            Notifications.Show(notStart, 2500);

            #region Combo
            ComboMenu = startMenu.AddSubMenu(":-Combo Menu-:");
            ComboMenu.AddGroupLabel("-:Combo Settings:-");
            var list = new List<string> {"Agressive", "Safe"};
            var comboBox = ComboMenu.Add("comboBoxComboMode", new ComboBox("Type of combos:", list));
            var key = ComboMenu.Add("keyBindModeCombo",
                new KeyBind("Key to change the mode", true, KeyBind.BindTypes.PressToggle, 'Z'));
            key.OnValueChange += delegate
            {
                comboBox.SelectedIndex = comboBox.SelectedIndex == 1 ? 0 : 1;
               
                var notModeChange = new SimpleNotification("Combo Mode Change", "Combo Mode changed to " + comboBox.SelectedText);
                Notifications.Show(notModeChange, 1000);
            };
            //
            ComboMenu.AddSeparator(5);
            ComboMenu.AddGroupLabel("-:Combo Spells:-");
            ComboMenu.Add("qCombo", new CheckBox("• Use Q."));
            ComboMenu.Add("eCombo", new CheckBox("• Use E."));
            ComboMenu.Add("rCombo", new CheckBox("• Use R."));
            ComboMenu.Add("rComboCount", new Slider("Only use R if there are ({0}) near.", 2, 0, 5));
            #endregion Combo

            #region Harass
            HarassMenu = startMenu.AddSubMenu(":-Harass Menu-:");
            HarassMenu.AddGroupLabel("-:Harass Spells:-");
            HarassMenu.Add("qHarass", new CheckBox("• Use Q."));
            HarassMenu.Add("eHarass", new CheckBox("• Use E."));
            HarassMenu.AddGroupLabel("-:Harass Settings:-");
            HarassMenu.Add("manaHarass", new Slider("Mana must be greater than ({0}) to use harass spells.", 30));
            HarassMenu.AddGroupLabel("-:AutoHarass Spells:-");
            HarassMenu.Add("qAutoHarass", new CheckBox("• Use Q."));
            HarassMenu.Add("eAutoHarass", new CheckBox("• Use E."));
            HarassMenu.AddGroupLabel("-:AutoHarass Settings:-");
            var keyAutoHarass = HarassMenu.Add("keyAutoHarass",
                new KeyBind("KeyBind to change on/off AutoHarass", false, KeyBind.BindTypes.PressToggle, 'T'));
            keyAutoHarass.OnValueChange += delegate
            {
                var notHarassOn = new SimpleNotification("AutoHarass Mode Change", "AutoHarass is now On. ");
                var notHarassOff = new SimpleNotification("AutoHarass Mode Change", "AutoHarass is now Off. ");

                Notifications.Show(keyAutoHarass.CurrentValue ? notHarassOn : notHarassOff, 1000);
            };
            HarassMenu.Add("manaAutoHarass", new Slider("Mana must be greater than ({0}) to use auto harass spells.", 45));
            #endregion Harass

            #region LaneClear
            LaneClearMenu = startMenu.AddSubMenu(":-LaneClear Menu-:");
            LaneClearMenu.AddGroupLabel("-:LaneClear Spells:-");
            LaneClearMenu.Add("qLane", new CheckBox("• Use Q."));
            LaneClearMenu.Add("wLane", new CheckBox("• Use W."));
            LaneClearMenu.Add("eLane", new CheckBox("• Use E."));
            LaneClearMenu.Add("rLane", new CheckBox("• Use R."));
            LaneClearMenu.AddGroupLabel("-:LaneClear Settings:-");
            LaneClearMenu.Add("manaLane", new Slider("Mana must be greater than ({0}) to use laneclear spells", 30));
            #endregion LaneClear

            #region JungleClear
            JungleClearMenu = startMenu.AddSubMenu(":-JungleClear Menu-:");
            JungleClearMenu.AddGroupLabel("-:JungleClear Spells:-");
            JungleClearMenu.Add("qJungle", new CheckBox("• Use Q."));
            JungleClearMenu.Add("wJungle", new CheckBox("• Use W."));
            JungleClearMenu.Add("eJungle", new CheckBox("• Use E."));
            JungleClearMenu.Add("rJungle", new CheckBox("• Use R."));
            JungleClearMenu.AddGroupLabel("-:JungleClear Settings:-");
            JungleClearMenu.Add("manaJungle", new Slider("Mana must be greater than ({0}) to use jungleclear spells.", 30));
            #endregion JungleClear

            #region Lasthit
            LastHitMenu = startMenu.AddSubMenu(":-LastHit Menu-:");
            LastHitMenu.AddGroupLabel("-:LastHit Spells:-");
            LastHitMenu.Add("qLast", new CheckBox("• Use Q."));
            LastHitMenu.Add("wLast", new CheckBox("• Use W."));
            LastHitMenu.Add("eLast", new CheckBox("• Use E."));
            LastHitMenu.Add("rLast", new CheckBox("• Use R."));
            LastHitMenu.AddGroupLabel("-:LastHit Settings:-");
            LastHitMenu.Add("manaLast", new Slider("Mana must be greater than ({0}) to use jungleclear spells.", 30));
            #endregion Lasthit

            #region Settings
            SettingsMenu = startMenu.AddSubMenu(":-Settings Menu-:");
            SettingsMenu.AddGroupLabel("-:Auto R:-");
            SettingsMenu.Add("rAutoCount", new Slider("Auto use R if there are ({0}) near.(0 = Off)", 3, 0, 5));
            SettingsMenu.AddGroupLabel("-:Interrupt/Gapcloser:-");
            SettingsMenu.Add("spellInterrupt", new CheckBox("• Use X, on interruptables spells."));
            SettingsMenu.Add("spellGapcloser", new CheckBox("• Use X, on gapcloser."));
            SettingsMenu.AddGroupLabel("-:Settings:-");
            LastHitMenu.Add("manaSettings", new Slider("Mana must be greater than ({0}) to use any spell in this menu.", 30));
            #endregion Settings

            #region Drawings
            DrawingsMenu = startMenu.AddSubMenu(":-Drawings Menu-:");
            DrawingsMenu.Add("readyDraw", new CheckBox("• Draw Spell`s range only if they are ready."));
            DrawingsMenu.Add("damageDraw", new CheckBox("• Draw damage indicator."));
            DrawingsMenu.Add("perDraw", new CheckBox("• Draw damage indicator percent."));
            DrawingsMenu.Add("statDraw", new CheckBox("• Draw damage indicator statistics"));
            DrawingsMenu.AddGroupLabel("-:Spells:-");
            DrawingsMenu.Add("qDraw", new CheckBox("• Draw Q."));
            DrawingsMenu.Add("eDraw", new CheckBox("• Draw E."));
            DrawingsMenu.Add("rDraw", new CheckBox("• Draw R."));
            #endregion Drawings
        }
Пример #34
0
        public static void Dattenosa()
        {
            // Menu
            Menu = MainMenu.AddMenu("Nidalee", "Nidalee");
            Menu.AddGroupLabel("Made by Uzumaki Boruto");
            Menu.AddLabel("Dattenosa");

            //Q
            QMenu = Menu.AddSubMenu("Q Settings");
            {
                QMenu.AddGroupLabel("Combo Settings");
                QMenu.AddLabel("Human Q");
                QMenu.Add("Qcb", new CheckBox("Use Q"));
                QMenu.AddLabel("HitChance : 1 = Low, 2 = Medium, 3 = High");
                QMenu.Add("PredQ1", new Slider("Q (human) HitChance", 2, 1, 3));
                //QMenu.Add("Qrange", new Slider("Lower for more accuracy, Higher for range (66 recommended)", 66));
                QMenu.Add("autoQ", new CheckBox("Auto Q if target in immobilize"));
                QMenu.AddLabel("Cougar Q");
                QMenu.Add("Q2cb", new CheckBox("Use Q"));
                QMenu.Add("Q2aa", new CheckBox("Use Q to reset a.a"));
                QMenu.AddGroupLabel("Harass Settings");
                QMenu.Add("Qhr", new CheckBox("Use Q (human)"));
                QMenu.Add("Qmodehr", new ComboBox("Mode for Q", 0, "Harass Mode", "Auto"));
                QMenu.Add("Qmnghr", new Slider("If below {0}% mana, stop use Q", 50));
                QMenu.AddGroupLabel("JungleClear Settings");
                QMenu.Add("Qjc", new CheckBox("Use Q (human)"));
                QMenu.Add("Qmngjc", new Slider("If below {0}% mana, stop use Q", 20));
                QMenu.Add("Q2jc", new CheckBox("Use Q (Cougar, reset a.a)"));
                QMenu.AddGroupLabel("Flee");
                QMenu.Add("Qfl", new CheckBox("Use Q (human) on flee"));
                QMenu.AddGroupLabel("Killsteal Settings");
                QMenu.Add("Qks", new CheckBox("Enable"));
                QMenu.AddGroupLabel("Jungsteal Settings");
                QMenu.Add("Qjs", new CheckBox("Use Q Human to jungsteal"));
            }
            //W
            WMenu = Menu.AddSubMenu("W Settings");
            {
                WMenu.AddGroupLabel("Combo Settings");
                WMenu.AddLabel("Human W");
                WMenu.Add("Wcb", new CheckBox("Use W"));
                WMenu.AddLabel("HitChance : 1 = Low, 2 = Medium, 3 = High");
                WMenu.Add("PredW1", new Slider("W (human) HitChance", 2, 1, 3));

                WMenu.AddLabel("Cougar W");
                WMenu.Add("W2cb", new ComboBox("Use W", 3, "Off", "Use W always", "Only Target has passive", "Smart"));

                WMenu.AddGroupLabel("Lane & Jung Clear Settings");
                WMenu.AddLabel("Human W");
                WMenu.Add("Wjc", new CheckBox("Use W in JungleClear"));
                WMenu.Add("Wmng", new Slider("If below {0}% mana, stop use W", 20));
                WMenu.AddLabel("Cougar W");
                WMenu.Add("W2lc", new CheckBox("Use W in LaneClear"));
                WMenu.Add("W2jc", new CheckBox("Use W in JungleClear"));
                WMenu.AddGroupLabel("Flee & Sight");
                WMenu.Add("Ws", new KeyBind("Use W (Human) to get sight", false, KeyBind.BindTypes.HoldActive, 'W'));
                WMenu.Add("Wfl", new CheckBox("Use W (Human) in Flee"));
                WMenu.Add("W2fl", new CheckBox("Use W (Cougar) in Flee"));
                WMenu.AddGroupLabel("Killsteal");
                WMenu.Add("W2ks", new CheckBox("Use W (Cougar) to KS"));
            }
            //E
            EMenu = Menu.AddSubMenu("E Settings");
            {
                EMenu.AddGroupLabel("E Human Setting");
                EMenu.AddLabel("Main Settings");
                EMenu.Add("E", new CheckBox("Auto use E"));
                EMenu.Add("Emode", new ComboBox("Mode for E", 0, "LeastHP", "CarryHP", "AP HP", "SelfHP"));
                EMenu.Add("Emng", new Slider("Stop use E if your mana below {0}%", 50));
                EMenu.Add("Emng2", new Slider("Don't use E if target's HP more than {0}%", 70));
                EMenu.AddLabel("White list to E");
                foreach (var a in EntityManager.Heroes.Allies.OrderBy(a => a.ChampionName))
                {
                    EMenu.Add(a.ChampionName, new CheckBox("Heal " + a.ChampionName));
                }
                EMenu.AddGroupLabel("Cougar E");
                EMenu.Add("E2cb", new CheckBox("Use E in Combo"));
                EMenu.AddGroupLabel("Lane & Jung Clear Settings");
                EMenu.AddLabel("Cougar E");
                EMenu.Add("E2lc", new CheckBox("Use E in LaneClear"));
                EMenu.Add("E2jc", new CheckBox("Use E in JungleClear"));
                EMenu.AddGroupLabel("Killsteal");
                EMenu.Add("E2ks", new CheckBox("Use E (Cougar) to KS"));
            }

            //R
            RMenu = Menu.AddSubMenu("R Settings");
            {
                RMenu.AddGroupLabel("R Setting");
                RMenu.Add("R", new CheckBox("Use R to reset a.a (logic)"));
                RMenu.Add("Rform", new ComboBox("I want change form when: ", 0, "My human spell is cooldown", "Has a passive target around me", "I want change form myself"));
                RMenu.Add("Rformjc", new CheckBox("Logic R in JungleClear"));
            }

            //ItemMenu
            ItemMenu = Menu.AddSubMenu("Item Menu");
            {
                ItemMenu.Add("item1", new CheckBox("Auto use Zhonya's Hourglass"));
                ItemMenu.Add("item.1MyHp", new Slider("My HP less than {0}%", 50));
                ItemMenu.AddSeparator();

                ItemMenu.Add("item2", new CheckBox("Auto use Seraph's Embrace"));
                ItemMenu.Add("item2MyHp", new Slider("My HP less than {0}%", 75));
                ItemMenu.AddSeparator();

                ItemMenu.Add("item3", new CheckBox("Auto use Bilgewater Cutlass"));
                ItemMenu.Add("item4", new CheckBox("Auto use Hextech Gunblade"));
                ItemMenu.Add("item34EnemyHP", new Slider("Enemy HP less than {0}%", 75));
                ItemMenu.AddSeparator();

                ItemMenu.Add("item5", new CheckBox("Auto use Randuin's Omen"));
                ItemMenu.Add("item5Enemy", new Slider("Enemy around to use", 3, 1, 5));
                ItemMenu.AddSeparator();

                ItemMenu.Add("item6", new CheckBox("Auto use Righteous Glory (Logic)"));
                ItemMenu.Add("item6Ally", new Slider("Use it if buff {0} ally", 3, 1, 4));
                ItemMenu.AddSeparator();

                ItemMenu.Add("item7", new CheckBox("Auto use Locket of the Iron Solari"));
                ItemMenu.Add("item7Ally", new Slider("Use it if buff {0} ally", 4, 1, 4));
            }
            //MiscMenu
            MiscMenu = Menu.AddSubMenu("MiscMenu");
            {
                MiscMenu.AddGroupLabel("Misc Settings");
                MiscMenu.AddLabel("Ignite");
                MiscMenu.Add("ig", new CheckBox("Use Ignite"));
                MiscMenu.AddLabel("Smite");
                MiscMenu.Add("smcb", new CheckBox("Use Smite in Combo"));
                MiscMenu.Add("sm", new CheckBox("Use Smite to killsteal"));
                MiscMenu.Add("smjc", new CheckBox("Smite on Important buff"));
                MiscMenu.AddLabel("Auto Jump System");
                var JumpKey = MiscMenu.Add("jump", new KeyBind("Enable Auto jump system", true, KeyBind.BindTypes.PressToggle, 'G'));
                JumpKey.OnValueChange += delegate
                {
                    var On  = new SimpleNotification("Auto Jump System :", "Activated. ");
                    var Off = new SimpleNotification("Auto Jump System:", "Disable. ");

                    Notifications.Show(JumpKey.CurrentValue ? On : Off, 2000);
                };
            }

            //DrawMenu
            DrawMenu = Menu.AddSubMenu("Drawings");
            {
                DrawMenu.AddGroupLabel("Drawings settings");
                DrawMenu.Add("drawform", new CheckBox("Draw ability range other form", false));
                DrawMenu.Add("drawaa", new CheckBox("Draw other form A.A range", false));
                DrawMenu.Add("drawjump", new CheckBox("Draw Jump spot"));
                DrawMenu.Add("formdraw", new CheckBox("Draw ability cooldown other form"));
                DrawMenu.Add("Xbonus", new Slider("X", 500, 0, 1000));
                DrawMenu.Add("Ybonus", new Slider("Y", 500, 0, 1000));
                DrawMenu.Add("drawdamage", new CheckBox("Damage Indicator"));
                DrawMenu.AddGroupLabel("Human Form");
                DrawMenu.Add("drawQ", new CheckBox("Draw Q"));
                DrawMenu.Add("drawW", new CheckBox("Draw W"));
                DrawMenu.Add("drawE", new CheckBox("Draw E"));
                DrawMenu.AddGroupLabel("Cougar Form");
                DrawMenu.Add("drawW2", new CheckBox("Draw W"));
                DrawMenu.Add("drawW2p", new CheckBox("Draw W (passive)", false));
                DrawMenu.Add("drawE2", new CheckBox("Draw E"));
            }
        }
Пример #35
0
        public static void Dattenosa()
        {
            Menu = MainMenu.AddMenu("UB Anivia", "UBAnivia");
            Menu.AddGroupLabel("Made by Uzumaki Boruto");
            Menu.AddLabel("Dattenosa");


            ComboMenu = Menu.AddSubMenu("Combo");
            {
                ComboMenu.Add("Q", new CheckBox("Use Q"));
                ComboMenu.Add("Qcb", new Slider("Min {0}% hit Q", 80));
                ComboMenu.Add("W", new CheckBox("Use W"));
                ComboMenu.Add("E", new CheckBox("Use E"));
                ComboMenu.Add("R", new CheckBox("Use R"));
                ComboMenu.AddSeparator();
                //ComboMenu.Add("Qcb", new CheckBox("Only Q on CC target"));
                //ComboMenu.AddLabel("Include slow");
                ComboMenu.Add("chill", new CheckBox("Use E only target is Chills"));
            }

            HarassMenu = Menu.AddSubMenu("Harass");
            {
                HarassMenu.Add("Q", new CheckBox("Use Q"));
                HarassMenu.Add("Qhr", new Slider("Min {0}% hit Q", 80));
                HarassMenu.Add("E", new CheckBox("Use E"));
                HarassMenu.Add("R", new CheckBox("Use R"));
                HarassMenu.Add("hr", new Slider("If my MP below {0}% stop use spell to harass", 50));
                var HarassKey = HarassMenu.Add("keyharass", new KeyBind("Auto Harass", false, KeyBind.BindTypes.PressToggle, 'Z'));
                HarassKey.OnValueChange += delegate
                {
                    var On  = new SimpleNotification("Auto Harass status:", "Activated. ");
                    var Off = new SimpleNotification("Auto Harass status:", "Disable. ");

                    Notifications.Show(HarassKey.CurrentValue ? On : Off, 2000);
                };
                HarassMenu.Add("autohrmng", new Slider("Stop auto harass if my MP  below {0}%", 80));
            }

            LaneClear = Menu.AddSubMenu("LaneClear");
            {
                LaneClear.Add("Q", new CheckBox("Use Q", false));
                LaneClear.Add("E", new CheckBox("Use E", false));
                LaneClear.Add("R", new CheckBox("Use R"));
                LaneClear.Add("Rlc", new Slider("Use R only hit {0} minion", 5, 1, 15));
                LaneClear.Add("lc", new Slider("If my MP below {0}% stop use spell to Lanclear", 50));
            }

            JungleClear = Menu.AddSubMenu("JungClear");
            {
                JungleClear.Add("Q", new CheckBox("Use Q"));
                JungleClear.Add("E", new CheckBox("Use E"));
                JungleClear.Add("R", new CheckBox("Use R"));
                JungleClear.Add("jc", new Slider("If my MP below {0}% stop use spell to Jungclear", 50));
            }

            LasthitMenu = Menu.AddSubMenu("Lasthit");
            {
                LasthitMenu.AddGroupLabel("Use spell on Unkillable minnion");
                LasthitMenu.Add("Qlh", new CheckBox("Use Q"));
                LasthitMenu.Add("Elh", new CheckBox("Use E"));
                LasthitMenu.Add("Rlh", new CheckBox("Use R"));
                LasthitMenu.Add("manage", new Slider("Stop this if my MP below {0}%", 15));
            }

            MiscMenu = Menu.AddSubMenu("Misc");
            {
                MiscMenu.AddGroupLabel("Killsteal");
                MiscMenu.Add("Qks", new CheckBox("Use Q to Killsteal"));
                MiscMenu.Add("Eks", new CheckBox("Use E to Killsteal"));
                MiscMenu.Add("Rks", new CheckBox("Use R to Killsteal"));
                MiscMenu.AddGroupLabel("Damage calculator");
                MiscMenu.Add("dmg", new Slider("R Tick Damage", 2, 1, 8));
                MiscMenu.AddGroupLabel("Antigapcloser");
                MiscMenu.Add("Qgap", new CheckBox("Use Q on Gapcloser"));
                MiscMenu.Add("Wgap", new CheckBox("Use W on Gapcloser"));
                MiscMenu.AddGroupLabel("Interrupt");
                MiscMenu.Add("Qinter", new CheckBox("Use Q on interrupt"));
                MiscMenu.Add("Winter", new CheckBox("Use W on interrupt"));
                MiscMenu.Add("level", new ComboBox("Interrupt Level", 0, "High", "Medium", "Low"));
                MiscMenu.AddGroupLabel("Auto on CC");
                MiscMenu.Add("Qcc", new CheckBox("Auto Q on CC"));
                MiscMenu.Add("Rcc", new CheckBox("Auto R on CC"));
                MiscMenu.AddGroupLabel("Auto Spells");
                MiscMenu.Add("Eauto", new CheckBox("Auto E on chilled target"));
                MiscMenu.Add("Rauto", new CheckBox("Auto R when cast E"));
                MiscMenu.AddGroupLabel("Auto turn off R");
                MiscMenu.Add("turnoffR", new CheckBox("Auto Turn off R"));
                MiscMenu.AddGroupLabel("Safe with W");
                MiscMenu.Add("safeW", new CheckBox("Auto W to keep me safe"));
            }

            DrawMenu = Menu.AddSubMenu("Drawing");
            {
                DrawMenu.Add("draw", new CheckBox("Enable Drawing"));
                DrawMenu.Add("notif", new CheckBox("Enable notification"));
                DrawMenu.AddSeparator();
                DrawMenu.Add("drQ", new CheckBox("Draw Q"));
                DrawMenu.Add("drW", new CheckBox("Draw W"));
                DrawMenu.Add("drE", new CheckBox("Draw E"));
                DrawMenu.Add("drR", new CheckBox("Draw R"));
                DrawMenu.Add("dmg", new CheckBox("Damage Indicator"));
                var ColorPick = DrawMenu.Add("Color", new ColorPicker("Damage Indicator Color", SaveColor.Load()));
                ColorPick.OnLeftMouseUp += delegate(Control sender, System.EventArgs args)
                {
                    SaveColor.Save(ColorPick.CurrentValue);
                };
            }
        }
Пример #36
0
 public void Show(SimpleNotification notification)
 {
     _manager.Show(notification);
 }
Пример #37
0
        public static void LoadMenu()
        {
            var startMenu = MainMenu.AddMenu(MenuName, MenuName.ToLower());

            var notStart = new SimpleNotification("Mario`s Wukong Loaded", "Mario`s Wukong sucessfully loaded.");

            Notifications.Show(notStart, 2500);

            #region Combo
            ComboMenu = startMenu.AddSubMenu(":-Combo Menu-:");
            ComboMenu.AddGroupLabel("-:Combo Settings:-");
            var list = new List <string> {
                "Agressive", "Safe"
            };
            var comboBox = ComboMenu.Add("comboBoxComboMode", new ComboBox("Type of combos:", list));
            var key      = ComboMenu.Add("keyBindModeCombo",
                                         new KeyBind("Key to change the mode", true, KeyBind.BindTypes.PressToggle, 'Z'));
            key.OnValueChange += delegate
            {
                comboBox.SelectedIndex = comboBox.SelectedIndex == 1 ? 0 : 1;

                var notModeChange = new SimpleNotification("Combo Mode Change", "Combo Mode changed to " + comboBox.SelectedText);
                Notifications.Show(notModeChange, 1000);
            };
            //
            ComboMenu.AddSeparator(5);
            ComboMenu.AddGroupLabel("-:Combo Spells:-");
            ComboMenu.Add("qCombo", new CheckBox("• Use Q."));
            ComboMenu.Add("eCombo", new CheckBox("• Use E."));
            ComboMenu.Add("rCombo", new CheckBox("• Use R."));
            ComboMenu.Add("rComboCount", new Slider("Only use R if there are ({0}) near.", 2, 0, 5));
            #endregion Combo

            #region Harass
            HarassMenu = startMenu.AddSubMenu(":-Harass Menu-:");
            HarassMenu.AddGroupLabel("-:Harass Spells:-");
            HarassMenu.Add("qHarass", new CheckBox("• Use Q."));
            HarassMenu.Add("eHarass", new CheckBox("• Use E."));
            HarassMenu.AddGroupLabel("-:Harass Settings:-");
            HarassMenu.Add("manaHarass", new Slider("Mana must be greater than ({0}) to use harass spells.", 30));
            HarassMenu.AddGroupLabel("-:AutoHarass Spells:-");
            HarassMenu.Add("qAutoHarass", new CheckBox("• Use Q."));
            HarassMenu.Add("eAutoHarass", new CheckBox("• Use E."));
            HarassMenu.AddGroupLabel("-:AutoHarass Settings:-");
            var keyAutoHarass = HarassMenu.Add("keyAutoHarass",
                                               new KeyBind("KeyBind to change on/off AutoHarass", false, KeyBind.BindTypes.PressToggle, 'T'));
            keyAutoHarass.OnValueChange += delegate
            {
                var notHarassOn  = new SimpleNotification("AutoHarass Mode Change", "AutoHarass is now On. ");
                var notHarassOff = new SimpleNotification("AutoHarass Mode Change", "AutoHarass is now Off. ");

                Notifications.Show(keyAutoHarass.CurrentValue ? notHarassOn : notHarassOff, 1000);
            };
            HarassMenu.Add("manaAutoHarass", new Slider("Mana must be greater than ({0}) to use auto harass spells.", 45));
            #endregion Harass

            #region LaneClear
            LaneClearMenu = startMenu.AddSubMenu(":-LaneClear Menu-:");
            LaneClearMenu.AddGroupLabel("-:LaneClear Spells:-");
            LaneClearMenu.Add("qLane", new CheckBox("• Use Q."));
            LaneClearMenu.Add("wLane", new CheckBox("• Use W."));
            LaneClearMenu.Add("eLane", new CheckBox("• Use E."));
            LaneClearMenu.Add("rLane", new CheckBox("• Use R."));
            LaneClearMenu.AddGroupLabel("-:LaneClear Settings:-");
            LaneClearMenu.Add("manaLane", new Slider("Mana must be greater than ({0}) to use laneclear spells", 30));
            #endregion LaneClear

            #region JungleClear
            JungleClearMenu = startMenu.AddSubMenu(":-JungleClear Menu-:");
            JungleClearMenu.AddGroupLabel("-:JungleClear Spells:-");
            JungleClearMenu.Add("qJungle", new CheckBox("• Use Q."));
            JungleClearMenu.Add("wJungle", new CheckBox("• Use W."));
            JungleClearMenu.Add("eJungle", new CheckBox("• Use E."));
            JungleClearMenu.Add("rJungle", new CheckBox("• Use R."));
            JungleClearMenu.AddGroupLabel("-:JungleClear Settings:-");
            JungleClearMenu.Add("manaJungle", new Slider("Mana must be greater than ({0}) to use jungleclear spells.", 30));
            #endregion JungleClear

            #region Lasthit
            LastHitMenu = startMenu.AddSubMenu(":-LastHit Menu-:");
            LastHitMenu.AddGroupLabel("-:LastHit Spells:-");
            LastHitMenu.Add("qLast", new CheckBox("• Use Q."));
            LastHitMenu.Add("wLast", new CheckBox("• Use W."));
            LastHitMenu.Add("eLast", new CheckBox("• Use E."));
            LastHitMenu.Add("rLast", new CheckBox("• Use R."));
            LastHitMenu.AddGroupLabel("-:LastHit Settings:-");
            LastHitMenu.Add("manaLast", new Slider("Mana must be greater than ({0}) to use jungleclear spells.", 30));
            #endregion Lasthit

            #region Settings
            SettingsMenu = startMenu.AddSubMenu(":-Settings Menu-:");
            SettingsMenu.AddGroupLabel("-:Auto R:-");
            SettingsMenu.Add("rAutoCount", new Slider("Auto use R if there are ({0}) near.(0 = Off)", 3, 0, 5));
            SettingsMenu.AddGroupLabel("-:Interrupt/Gapcloser:-");
            SettingsMenu.Add("spellInterrupt", new CheckBox("• Use X, on interruptables spells."));
            SettingsMenu.Add("spellGapcloser", new CheckBox("• Use X, on gapcloser."));
            SettingsMenu.AddGroupLabel("-:Settings:-");
            LastHitMenu.Add("manaSettings", new Slider("Mana must be greater than ({0}) to use any spell in this menu.", 30));
            #endregion Settings

            #region Drawings
            DrawingsMenu = startMenu.AddSubMenu(":-Drawings Menu-:");
            DrawingsMenu.Add("readyDraw", new CheckBox("• Draw Spell`s range only if they are ready."));
            DrawingsMenu.Add("damageDraw", new CheckBox("• Draw damage indicator."));
            DrawingsMenu.Add("perDraw", new CheckBox("• Draw damage indicator percent."));
            DrawingsMenu.Add("statDraw", new CheckBox("• Draw damage indicator statistics"));
            DrawingsMenu.AddGroupLabel("-:Spells:-");
            DrawingsMenu.Add("qDraw", new CheckBox("• Draw Q."));
            DrawingsMenu.Add("eDraw", new CheckBox("• Draw E."));
            DrawingsMenu.Add("rDraw", new CheckBox("• Draw R."));
            #endregion Drawings
        }
Пример #38
0
        public static void Dattenosa()
        {
            // Menu
            Menu = MainMenu.AddMenu("UB Ryze", "Ryze");
            Menu.AddGroupLabel("Made by Uzumaki Boruto");
            Menu.AddLabel("Dattenosa");

            ComboMenu = Menu.AddSubMenu("Combo");
            {
                ComboMenu.Add("useQcb", new CheckBox("Use Q"));
                ComboMenu.Add("useWcb", new CheckBox("Use W"));
                ComboMenu.Add("useEcb", new CheckBox("Use E"));
                ComboMenu.Add("useRcb", new CheckBox("Use R", false));
                ComboMenu.AddSeparator();
                ComboMenu.Add("combostyle", new ComboBox("Combo Style", 2, "Full Damage", "Shield & Movement speed", "Smart"));
                ComboMenu.Add("hpcbsmart", new Slider("If my HP below {0}% use Q to get Ms & shield (Smart)", 30));
                ComboMenu.Add("disatt", new CheckBox("Disable auto attack", false));
                ComboMenu.Add("logicdisatt", new CheckBox("Logic Disable A.A"));
                ComboMenu.AddSeparator();
                ComboMenu.Add("useflee", new CheckBox("Allow use Flee Combo"));
                ComboMenu.AddLabel("Flee combo is always use Q to get Shield & MS");
                ComboMenu.AddLabel("Active this by press your flee key");

            }

            HarassMenu = Menu.AddSubMenu("Harass");
            {
                HarassMenu.Add("useQhr", new CheckBox("Use Q"));
                HarassMenu.Add("useWhr", new CheckBox("Use W"));
                HarassMenu.Add("useEhr", new CheckBox("Use E"));
                //HarassMenu.Add("useQEhr", new CheckBox("Use E on minion that colision in Q Width"));
                HarassMenu.Add("hrmanage", new Slider("If my MP below {0}% stop use spell to harass", 50));
                var HarassKey = HarassMenu.Add("keyharass", new KeyBind("Auto Harass", false, KeyBind.BindTypes.PressToggle, 'Z'));
                HarassKey.OnValueChange += delegate
                {
                    var On = new SimpleNotification("Auto Harass status:", "Activated. ");
                    var Off = new SimpleNotification("Auto Harass status:", "Disable. ");

                    Notifications.Show(HarassKey.CurrentValue ? On : Off, 2000);
                };
                HarassMenu.Add("autohrmng", new Slider("Stop auto harass if my MP  below {0}%", 80));
            }

            LaneClear = Menu.AddSubMenu("LaneClear");
            {
                LaneClear.Add("useQlc", new CheckBox("Use Q", false));
                LaneClear.Add("useWlc", new CheckBox("Use W", false));
                LaneClear.Add("useElc", new CheckBox("Use E", false));
                LaneClear.Add("lcmanage", new Slider("If my MP below {0}% stop use spell to Lanclear", 50));
                LaneClear.Add("logiclc", new CheckBox("Enable Smart Lanclear[BETA]", false));
                LaneClear.AddGroupLabel("Smart Laneclear Settings");
                LaneClear.Add("Qlc", new Slider("Use Q only {0} minion has buff of E", 5, 1, 15));
                LaneClear.Add("Elc", new CheckBox("Enable E Logic cast"));
            }

            JungleClear = Menu.AddSubMenu("JungClear");
            {
                JungleClear.Add("useQjc", new CheckBox("Use Q"));
                JungleClear.Add("onlyQjc", new CheckBox("Only Q if Target has E buff"));
                JungleClear.Add("useWjc", new CheckBox("Use W"));
                JungleClear.Add("useEjc", new CheckBox("Use E"));
                JungleClear.Add("jcmanage", new Slider("If my MP below {0}% stop use spell to Jungclear", 50));
            }

            LasthitMenu = Menu.AddSubMenu("Lasthit");
            {
                LasthitMenu.AddLabel("This only work if you can kill minion wwith spell");
                LasthitMenu.Add("useQlh", new CheckBox("Use Q"));
                LasthitMenu.Add("useWlh", new CheckBox("Use W"));
                LasthitMenu.Add("useElh", new CheckBox("Use E"));
                LasthitMenu.Add("lhmanage", new Slider("If my MP below {0}% stop use spell to Lasthit", 50));
                LasthitMenu.AddGroupLabel("Use spell on Unkillable minnion");
                LasthitMenu.Add("Qlh", new CheckBox("Use Q"));
                LasthitMenu.Add("Wlh", new CheckBox("Use W"));
                LasthitMenu.Add("Elh", new CheckBox("Use E"));
                LasthitMenu.Add("unkillmanage", new Slider("Stop this if my MP below {0}%", 15));
            }

            AutoMenu = Menu.AddSubMenu("AutoMenu");
            {
                AutoBox = AutoMenu.Add("autofl", new ComboBox("Auto W when flash", 1, "None", "W", "E + W"));
                AutoBox.OnValueChange += AutoBox_OnValueChange;
                //AutoMenu.AddSeparator();
                //AutoMenu.Add("Rzh", new Slider("Auto use Zhonya & R to your nearesr Nexus if around you >= {0}", 5, 1, 6));
                //AutoMenu.Add("Rzhe", new Slider("Get enemy around you {0}0 distance", 50, 0, 150));
                //AutoMenu.Add("Rzha", new Slider("Get ally around you {0}0 distance", 100, 0, 150));
                //AutoMenu.AddLabel("This mean if x enemy around you and no ally around, you will R into nearest Turret");
            }

            MiscMenu = Menu.AddSubMenu("Misc");
            {
                MiscMenu.AddGroupLabel("Killsteal");
                MiscMenu.Add("Qks", new CheckBox("Use Q to Killsteal"));
                MiscMenu.Add("Wks", new CheckBox("Use W to Killsteal"));
                MiscMenu.Add("Eks", new CheckBox("Use E to Killsteal"));
                MiscMenu.AddGroupLabel("Damage calculator");
                MiscMenu.Add("dmg", new ComboBox("How to damage cal?", 0, "Basic Combo(QWE)", "Highest Damage you can take"));
                MiscMenu.Add("gapcloser", new CheckBox("Use W on Gapcloser"));

            }

            DrawMenu = Menu.AddSubMenu("Drawing");
            {
                DrawMenu.Add("draw", new CheckBox("Enable Drawing"));
                DrawMenu.Add("drQ", new CheckBox("Draw Q"));
                DrawMenu.Add("drW", new CheckBox("Draw W + E"));
                DrawMenu.Add("drR", new CheckBox("Draw R"));
                DrawMenu.Add("drdamage", new CheckBox("Damage Indicator"));
                DrawMenu.Add("Color", new ColorPicker("Damage Indicator Color", Color.FromArgb(255, 255, 236, 0)));
            }
        }
 private void GameOnUpdate(EventArgs args)
 {
     if (ObjectManager.Player.HasItem(Id))
     {
         if (!ActivatedMessage)
         {
             ActivatedMessage = true;
             var notifie = new SimpleNotification("CarryMe Activator", "Item+ : " + Name + " activated!");
             Notifications.Show(notifie);
         }
         if (!Item.CanUseItem(Id))
         {
             return;
         }
         if (DelayTick + Menu[IdentBase + ".CheckDelay"].Cast <Slider>().CurrentValue < Core.GameTickCount)
         {
             DelayTick = Core.GameTickCount;
             var target = TargetSelector.GetTarget(550, DamageType.Physical);
             if (Menu[IdentBase + ".Killstealer"].Cast <CheckBox>().CurrentValue)
             {
                 foreach (var unit in ObjectManager.Get <AIHeroClient>().Where(u => !u.IsDead && u.IsValidTarget(550)))
                 {
                     var damage = (unit.MaxHealth * 0.1f);
                     if (damage < 100)
                     {
                         damage = 100;
                     }
                     var realdmgamount = ObjectManager.Player.CalculateDamageOnUnit(target, DamageType.Physical, damage, true, true);
                     if (!(realdmgamount >= unit.Health))
                     {
                         continue;
                     }
                     Item.UseItem(Id, unit);
                     return;
                 }
             }
             if (Menu[IdentBase + ".ActiveInCombo"].Cast <CheckBox>().CurrentValue&&
                 Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo))
             {
                 if (target != null)
                 {
                     if (Menu[IdentBase + ".Combo.UseIfEnemyHPbelow"].Cast <Slider>().CurrentValue >= target.HealthPercent ||
                         Menu[IdentBase + ".Combo.UseIfHeroHPbelow"].Cast <Slider>().CurrentValue >= target.HealthPercent)
                     {
                         var damage = (target.MaxHealth * 0.1f);
                         if (damage < 100)
                         {
                             damage = 100;
                         }
                         var realdmgamount = ObjectManager.Player.CalculateDamageOnUnit(target, DamageType.Physical, damage, true, true);
                         if (!Menu[IdentBase + ".Combo.Overhealcheck"].Cast <CheckBox>().CurrentValue || realdmgamount + ObjectManager.Player.Health <= ObjectManager.Player.MaxHealth)
                         {
                             Item.UseItem(Id, target);
                         }
                     }
                 }
             }
             if (Menu[IdentBase + ".ActiveInHarras"].Cast <CheckBox>().CurrentValue&&
                 Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Harass))
             {
                 if (target != null)
                 {
                     if (Menu[IdentBase + ".Harras.UseIfEnemyHPbelow"].Cast <Slider>().CurrentValue >= target.HealthPercent ||
                         Menu[IdentBase + ".Harras.UseIfHeroHPbelow"].Cast <Slider>().CurrentValue >= target.HealthPercent)
                     {
                         var damage = (target.MaxHealth * 0.1f);
                         if (damage < 100)
                         {
                             damage = 100;
                         }
                         var realdmgamount = ObjectManager.Player.CalculateDamageOnUnit(target, DamageType.Physical, damage, true, true);
                         if (!Menu[IdentBase + ".Combo.Overhealcheck"].Cast <CheckBox>().CurrentValue || realdmgamount + ObjectManager.Player.Health <= ObjectManager.Player.MaxHealth)
                         {
                             Item.UseItem(Id, target);
                         }
                     }
                 }
             }
         }
     }
     else
     {
         if (!ActivatedMessage)
         {
             return;
         }
         ActivatedMessage = false;
         var notifie = new SimpleNotification("CarryMe Activator", "Item- : " + Name + " disabled!");
         Notifications.Show(notifie);
     }
 }