コード例 #1
0
ファイル: Config.cs プロジェクト: Rafiters25/Schzneger-
                static Settings()
                {
                    SettingsMenu.AddGroupLabel("Danger Settings(Ty to fluxy :D)");
                    SettingsMenu.AddLabel("HP Tracking");

                    HPDanger       = SettingsMenu.Add("HPDanger", new CheckBox("HP For Danger"));
                    HPDangerSlider = SettingsMenu.Add("HPDangerSlider", new Slider("HP % For Danger", 15));
                    RequireEnemy   = SettingsMenu.Add("EnemiesDanger", new CheckBox("Require Enemies"));
                    EnemySlider    = SettingsMenu.Add("EnemiesDangerSlider", new Slider("Enemies Around", 1, 1, 5));
                    EnemyRange     = SettingsMenu.Add("EnemiesDangerRange", new Slider("Range", 850, 1, 2000));
                    SettingsMenu.AddGroupLabel("Handler Settings");
                    Spells     = SettingsMenu.Add("ConsiderSpells", new CheckBox("Consider Spells"));
                    Skillshots = SettingsMenu.Add("ConsiderSkillshots", new CheckBox("Consider Skillshots"));
                    Targeted   = SettingsMenu.Add("ConsiderTargeted", new CheckBox("Consider Targeted"));
                    Attacks    = SettingsMenu.Add("ConsiderAttacks", new CheckBox("Consider Basic Attacks"));
                    Minions    = SettingsMenu.Add("ConsiderMinions", new CheckBox("Consider Non-Champions", false));
                    SettingsMenu.AddLabel("Dont uncheck the setting below if you dont know what it is.");
                    DisableExecuteCheck = SettingsMenu.Add("DisableExecuteCheck", new CheckBox("Disable Execute Check", false));

                    SettingsMenu.AddGroupLabel("Dangerous Spells");
                    foreach (
                        var dangerousSpell in
                        DangerousSpells.Spells.Where(
                            a => EntityManager.Heroes.Enemies.Any(b => b.Hero == a.Champion)))
                    {
                        SettingsMenu.Add(dangerousSpell.Champion.ToString() + dangerousSpell.Slot,
                                         new CheckBox(dangerousSpell.Champion + ": " + dangerousSpell.Slot +
                                                      (dangerousSpell.IsCleanseable ? " (Cleanseable)" : "")));
                    }

                    SettingsMenu.AddLabel("Ty to fluxy :D");
                }
コード例 #2
0
 static Settings()
 {
     SettingsMenu.AddGroupLabel("Tehlike Ayarları");
     EnemySlider = SettingsMenu.Add("minenemiesinrange", new Slider("En az düşman", 1, 1, 5));
     EnemyRange  = SettingsMenu.Add("minrangeenemy", new Slider("Enemies must be in ({0}) range to be in danger", 1000, 600, 2500));
     Spells      = SettingsMenu.Add("considerspells", new CheckBox("Dikkatli Büyü Kullan ?"));
     Skillshots  = SettingsMenu.Add("considerskilshots", new CheckBox("Dikkatli Büyüler ?"));
     AAs         = SettingsMenu.Add("consideraas", new CheckBox("Dikkatli Otomatik Atak ?"));
     SettingsMenu.AddSeparator();
     SettingsMenu.AddGroupLabel("Tehlike Büyüleri");
     foreach (var spell in DangerousSpells.Spells.Where(x => EntityManager.Heroes.Enemies.Any(b => b.Hero == x.Hero)))
     {
         SettingsMenu.Add(spell.Hero.ToString() + spell.Slot, new CheckBox(spell.Hero + " - " + spell.Slot + ".", spell.DefaultValue));
     }
 }
コード例 #3
0
 static Settings()
 {
     SettingsMenu.AddGroupLabel("危险判断设置");
     EnemySlider = SettingsMenu.Add("minenemiesinrange", new Slider("最少敌人数量范围判断", 1, 1, 5));
     EnemyRange  = SettingsMenu.Add("minrangeenemy", new Slider("敌人必须在 ({0}) 范围内视为危险", 1000, 600, 2500));
     Spells      = SettingsMenu.Add("considerspells", new CheckBox("考虑技能 ?"));
     Skillshots  = SettingsMenu.Add("considerskilshots", new CheckBox("考虑线形技能 ?"));
     AAs         = SettingsMenu.Add("consideraas", new CheckBox("考虑普攻 ?"));
     SettingsMenu.AddSeparator();
     SettingsMenu.AddGroupLabel("危险技能");
     foreach (var spell in DangerousSpells.Spells.Where(x => EntityManager.Heroes.Enemies.Any(b => b.Hero == x.Hero)))
     {
         SettingsMenu.Add(spell.Hero.ToString() + spell.Slot, new CheckBox(spell.Hero + " - " + spell.Slot + ".", spell.DefaultValue));
     }
 }
コード例 #4
0
ファイル: Config.cs プロジェクト: giaanthunder/Elobuddy
 static Settings()
 {
     SettingsMenu.AddGroupLabel("Danger Settings");
     EnemySlider = SettingsMenu.Add("minenemiesinrange", new Slider("Min enemies in the range determined below", 1, 1, 5));
     EnemyRange  = SettingsMenu.Add("minrangeenemy", new Slider("Enemies must be in ({0}) range to be in danger", 1000, 600, 2500));
     Spells      = SettingsMenu.Add("considerspells", new CheckBox("Consider spells ?"));
     Skillshots  = SettingsMenu.Add("considerskilshots", new CheckBox("Consider SkillShots ?"));
     AAs         = SettingsMenu.Add("consideraas", new CheckBox("Consider Auto Attacks ?"));
     SettingsMenu.AddSeparator();
     SettingsMenu.AddGroupLabel("Dangerous Spells");
     foreach (var spell in DangerousSpells.Spells.Where(x => EntityManager.Heroes.Enemies.Any(b => b.Hero == x.Hero)))
     {
         SettingsMenu.Add(spell.Hero.ToString() + spell.Slot, new CheckBox(spell.Hero + " - " + spell.Slot + ".", spell.DefaultValue));
     }
 }
コード例 #5
0
 static Settings()
 {
     SettingsMenu.AddGroupLabel("Offensive Settings");
     _AAcancel = SettingsMenu.Add("aacanceloff", new CheckBox("Cancel AA animation with items ?"));
     _DelayOff = SettingsMenu.Add("delayoffbetween", new Slider("Delay between each offensive item used(in MS)", 1000, 100, 5000));
     SettingsMenu.AddGroupLabel("Danger Settings");
     EnemySlider = SettingsMenu.Add("minenemiesinrange", new Slider("Min enemies in the range determined below", 1, 1, 5));
     EnemyRange  = SettingsMenu.Add("minrangeenemy", new Slider("Enemies must be in ({0}) range to be in danger", 1000, 600, 2500));
     Spells      = SettingsMenu.Add("considerspells", new CheckBox("Consider spells ?"));
     Skillshots  = SettingsMenu.Add("considerskilshots", new CheckBox("Consider SkillShots ?"));
     AAs         = SettingsMenu.Add("consideraas", new CheckBox("Consider Auto Attacks ?"));
     SettingsMenu.AddSeparator();
     SettingsMenu.AddGroupLabel("Dangerous Spells");
     foreach (var spell in DMGHandler.DangerousSpells.Spells.Where(x => EntityManager.Heroes.Enemies.Any(b => b.Hero == x.Hero)))
     {
         SettingsMenu.Add(spell.Hero.ToString() + spell.Slot, new CheckBox(spell.Hero + " - " + spell.Slot + ".", spell.DefaultValue));
     }
 }
コード例 #6
0
        static void SetupMenu()
        {
            ChatMenu = MainMenu.AddMenu("ChatMotivator", "chat_motivator");
            ChatMenu.AddGroupLabel("Chat Settings");
            ChatMenu.AddSeparator();
            ChatMenu.AddLabel("By Xaxixeo");

            SettingsMenu = ChatMenu.AddSubMenu("Settings", "settings");
            SettingsMenu.AddGroupLabel("Settings");
            SettingsMenu.AddLabel("Chat");
            SettingsMenu.Add("sayGreeting", new CheckBox("Greeting"));
            SettingsMenu.Add("sayGreetingAllChat", new CheckBox("All Chat Greeting"));
            SettingsMenu.Add("sayGreetingDelayMin", new Slider("Greeting Min Delay", 30, 10, 120));
            SettingsMenu.Add("sayGreetingDelayMax", new Slider("Greeting Max Delay", 90, 10, 120));
            SettingsMenu.AddSeparator();
            SettingsMenu.Add("sayCongratulate", new CheckBox("Congratulate players"));
            SettingsMenu.Add("sayCongratulateDelayMin", new Slider("Congratulate Min Delay", 7, 5, 60));
            SettingsMenu.Add("sayCongratulateDelayMax", new Slider("Congratulate Max Delay", 15, 5, 60));
            SettingsMenu.Add("sayCongratulateInterval", new Slider("Interval Between Messages", 30, 5, 600));
            SettingsMenu.AddSeparator();
            SettingsMenu.Add("sayEnding", new CheckBox("End Message"));
        }
コード例 #7
0
        static void SetupMenu()
        {
            ChatMenu = MainMenu.AddMenu("ChatMotivator", "chat_motivator");
            ChatMenu.AddGroupLabel("Sohbet Ayarları");
            ChatMenu.AddSeparator();
            ChatMenu.AddLabel("By Xaxixeo");

            SettingsMenu = ChatMenu.AddSubMenu("Settings", "settings");
            SettingsMenu.AddGroupLabel("Ayarlar");
            SettingsMenu.AddLabel("Sohbet");
            SettingsMenu.Add("sayGreeting", new CheckBox("Tebrik"));
            SettingsMenu.Add("sayGreetingAllChat", new CheckBox("Sohbetin hepsine tebrik"));
            SettingsMenu.Add("sayGreetingDelayMin", new Slider("Tebrik etme en az zaman gecikmesi", 30, 10, 120));
            SettingsMenu.Add("sayGreetingDelayMax", new Slider("Tebrik etme en Fazla zaman", 90, 10, 120));
            SettingsMenu.AddSeparator();
            SettingsMenu.Add("sayCongratulate", new CheckBox("Oyunculara Tebrik"));
            SettingsMenu.Add("sayCongratulateDelayMin", new Slider("Tebrik etme gecikmesi en az", 7, 5, 60));
            SettingsMenu.Add("sayCongratulateDelayMax", new Slider("Tebrik etme gecikmesi en fazla", 15, 5, 60));
            SettingsMenu.Add("sayCongratulateInterval", new Slider("Tebrik arasındaki bekleme aralığı", 30, 5, 600));
            SettingsMenu.AddSeparator();
            SettingsMenu.Add("sayEnding", new CheckBox("Kapatma Mesajı"));
        }
コード例 #8
0
ファイル: Program.cs プロジェクト: emicovi/EloBuddy
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (_Player.ChampionName != "Blitzcrank")
            {
                return;
            }
            Chat.Print("emicovi's Blitzcrank - LOADED", Color.GreenYellow);


            Q = new Spell.Skillshot(SpellSlot.Q, 925, SkillShotType.Linear, 0, 1750);
            W = new Spell.Active(SpellSlot.W, 200);
            E = new Spell.Active(SpellSlot.E, 125);
            R = new Spell.Active(SpellSlot.R, 600);



            Menu = MainMenu.AddMenu("emicovi - Blitzcrank", "emicovi");
            Menu.AddGroupLabel("emicovi- Blitzcrank");
            Menu.AddSeparator();
            Menu.AddLabel("Developed By emicovi");
            SettingsMenu = Menu.AddSubMenu("Settings", "Settings");
            SettingsMenu.AddLabel("MISC");
            SettingsMenu.Add("FleeW", new CheckBox("FleeW", true));
            SettingsMenu.Add("AutoE", new CheckBox("AutoE", true));
            SettingsMenu.Add("showgrab", new CheckBox("Show statistcis", true));

            SettingsMenu.Add("ts", new CheckBox("Use Common Target Selector", true));
            SettingsMenu.AddLabel("Custom Target Selector");
            foreach (var unit in HeroManager.Enemies)
            {
                SettingsMenu.Add(unit.ChampionName, new CheckBox("Grab " + unit.ChampionName));
            }

            SettingsMenu.AddLabel("MISC");
            SettingsMenu.Add("qCC", new CheckBox("Auto Q cc & dash enemy", true));
            SettingsMenu.Add("minGrab", new Slider("Min range grab ({0}%)", 125, 250));
            SettingsMenu.Add("maxGrab", new Slider("Max range grab ({0}%)", 125, 925));

            SettingsMenu.Add("rCount", new CheckBox("Auto R if enemies in range", true));
            SettingsMenu.Add("enemis in range", new Slider("Min", 3, 0, 5));
            SettingsMenu.Add("afterGrab", new CheckBox("Auto R after grab", true));
            //  SettingsMenu.Add("afterAA", new CheckBox("Auto R before AA", true));
            SettingsMenu.Add("rks", new CheckBox("R ks", false));
            //SettingsMenu.Add("inter", new CheckBox("R OnPossibleToInterrupt", true));
            //SettingsMenu.Add("Gap", new CheckBox("R OnEnemyGapcloser", true));
            SettingsMenu.Add("Qdrawn", new CheckBox("Drawn Q"));
            SettingsMenu.Add("Edrawn", new CheckBox("Drawn E"));
            SettingsMenu.Add("Rdrawn", new CheckBox("Drawn R"));
            SettingsMenu.AddLabel("HARASS");
            SettingsMenu.Add("Qh", new CheckBox("Use Q", true));
            SettingsMenu.Add("Eh", new CheckBox("Use E", true));
            // SettingsMenu.AddLabel("LANE CLEAR");
            //SettingsMenu.Add("Rlc",new CheckBox("Lane Clear with R",true));
            //SettingsMenu.Add("minionw", new Slider("Min Minions to use R to Lane Clear",0, 1, 50));
            //SettingsMenu.Add("mana.lane", new Slider("Min Mana to use R to Lane Clear ({0}%)", 10, 100));
            SettingsMenu.AddLabel("SMART KS");
            SettingsMenu.Add("KSQ", new CheckBox("Use Q", false));
            SettingsMenu.Add("KSE", new CheckBox("Use E", false));
            SettingsMenu.Add("KSR", new CheckBox("Use R", false));
            SettingsMenu.AddLabel("AUTO SPELL");
            SettingsMenu.Add("auto", new CheckBox("Use AutoSpell", false));

            SettingsMenu.AddLabel("JUNGLE STEAL");
            SettingsMenu.Add("ksjg", new KeyBind("Q Steal Drag/Baron", false, KeyBind.BindTypes.HoldActive));
            if (Game.MapId == GameMapId.SummonersRift)
            {
                SettingsMenu.Add("SRU_Baron", new CheckBox("Baron"));
                SettingsMenu.Add("SRU_Dragon", new CheckBox("Dragon"));
            }



            Game.OnTick    += Game_OnTick;
            Drawing.OnDraw += Drawing_OnDraw;
        }
コード例 #9
0
ファイル: MenuSettings.cs プロジェクト: Random007/Elobuddy-1
        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
        }
コード例 #10
0
ファイル: MenuSettings.cs プロジェクト: Random007/Elobuddy-1
        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
        }
コード例 #11
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Ryze")
            {
                return;
            }

            //Hacks.AntiAFK = true;
            Bootstrap.Init(null);

            Q = new Spell.Skillshot(SpellSlot.Q, 1000, SkillShotType.Linear, 250, 1700, 100, DamageType.Magical);
            W = new Spell.Targeted(SpellSlot.W, 615, DamageType.Magical);
            E = new Spell.Targeted(SpellSlot.E, 615, DamageType.Magical);
            R = new Spell.Skillshot(SpellSlot.R, 1750, SkillShotType.Circular);

            menu = MainMenu.AddMenu("Unsigned Ryze", "UnsignedRyze");

            ComboMenu = menu.AddSubMenu("Combo", "combomenu");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("QU", new CheckBox("Use Q"));
            ComboMenu.Add("WU", new CheckBox("Use W"));
            ComboMenu.Add("EU", new CheckBox("Use E"));
            //ComboMenu.Add("RU", new CheckBox("Use R"));
            ComboMenu.Add("IU", new CheckBox("Use Items"));
            //ComboMenu.Add("IgU", new CheckBox("Use Ignite"));

            LaneClear = menu.AddSubMenu("Lane Clear", "laneclear");
            LaneClear.AddGroupLabel("Lane Clear Settings");
            LaneClear.Add("LCQ", new CheckBox("Use Q"));
            LaneClear.Add("LCE", new CheckBox("Use E"));

            Harass = menu.AddSubMenu("Harass", "harass");
            Harass.AddGroupLabel("Harass Settings");
            Harass.Add("HQ", new CheckBox("Use Q"));
            Harass.Add("HE", new CheckBox("Use E"));

            LastHit = menu.AddSubMenu("Last Hit", "lasthitmenu");
            LastHit.AddGroupLabel("Last Hit Settings");
            LastHit.Add("LHQ", new CheckBox("Use Q"));
            LastHit.Add("LHE", new CheckBox("Use E"));

            Killsteal = menu.AddSubMenu("Killsteal", "killstealmenu");
            Killsteal.AddGroupLabel("Killsteal Settings");
            Killsteal.Add("KSER", new CheckBox("Activate Killsteal"));
            Killsteal.Add("KSQ", new CheckBox("Use Q"));
            Killsteal.Add("KSW", new CheckBox("Use W"));
            Killsteal.Add("KSE", new CheckBox("Use E"));
            Killsteal.Add("KSI", new CheckBox("Use Ignite"));

            DrawingsMenu = menu.AddSubMenu("Drawings", "drawingsmenu");
            DrawingsMenu.AddGroupLabel("Drawings Settings");
            DrawingsMenu.Add("DQ", new CheckBox("Draw Q"));
            DrawingsMenu.Add("DWE", new CheckBox("Draw W/E"));
            DrawingsMenu.Add("DR", new CheckBox("Draw R"));

            SettingsMenu = menu.AddSubMenu("Settings", "settingsmenu");
            SettingsMenu.AddGroupLabel("Settings");
            SettingsMenu.Add("SHM", new CheckBox("Auto-Use Mana and Health Potions"));
            SettingsMenu.Add("ST", new CheckBox("Stack Tear in Base"));

            SpellDataInst Sum1 = _Player.Spellbook.GetSpell(SpellSlot.Summoner1);
            SpellDataInst Sum2 = _Player.Spellbook.GetSpell(SpellSlot.Summoner2);

            if (Sum1.Name == "SummonerDot")
            {
                Ignite = new Spell.Targeted(SpellSlot.Summoner1, 600);
            }
            else if (Sum2.Name == "SummonerDot")
            {
                Ignite = new Spell.Targeted(SpellSlot.Summoner2, 600);
            }

            Game.OnTick    += Game_OnTick;
            Drawing.OnDraw += Drawing_OnDraw;
            Chat.Print(Sum1.Name);
            Chat.Print(Sum2.Name);
        }
コード例 #12
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
        }
コード例 #13
0
ファイル: Program.cs プロジェクト: wwomegaww/xaxiAddons
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            //Only if u select Caitlyn
            if (Player.Instance.ChampionName != "Caitlyn")
            {
                return;
            }

            Bootstrap.Init(null);
            TargetSelector.Init();
            Chat.Print("<font color = \"#2fff0a\">xaxiCait by xaxi</font>");

            //      SpellSlot, Range, Skillshot Type, Cast, Delay, Width.
            Q = new Spell.Skillshot(SpellSlot.Q, 1240, SkillShotType.Linear, (int)0.25f, (int)2000f, (int)60f);
            W = new Spell.Targeted(SpellSlot.W, 820);
            E = new Spell.Skillshot(SpellSlot.E, 800, SkillShotType.Linear, (int)0.25f, (int)1600f, (int)80f);
            R = new Spell.Targeted(SpellSlot.R, 2000);

            //Menu
            CaityMenu = MainMenu.AddMenu("xaxiCaitlyn", "xaxi_cait");
            CaityMenu.AddGroupLabel("Caitlyn Settings");
            CaityMenu.AddSeparator();
            CaityMenu.AddLabel("Rewritten by Xaxixeo credis: CookieMonster10");

            SettingsMenu = CaityMenu.AddSubMenu("Settings", "settings");
            SettingsMenu.AddGroupLabel("Settings");
            SettingsMenu.AddLabel("Combo");
            SettingsMenu.Add("comboQ", new CheckBox("Use Q"));
            SettingsMenu.Add("comboW", new CheckBox("Use W"));
            SettingsMenu.Add("comboE", new CheckBox("Use E KS"));
            SettingsMenu.Add("comboE2", new CheckBox("Use E Escape"));
            SettingsMenu.Add("comboR", new CheckBox("Use R KS in Combo"));
            SettingsMenu.AddSeparator();
            SettingsMenu.AddLabel("Harass");
            SettingsMenu.Add("harassQ", new CheckBox("Use Q"));
            SettingsMenu.Add("harassMana", new Slider("Mana% Q", 70, 1, 99));
            SettingsMenu.AddSeparator();
            SettingsMenu.AddLabel("LaneClear");
            SettingsMenu.Add("laneclearQ", new CheckBox("Use Q"));
            SettingsMenu.Add("laneclearMana", new Slider("Mana% Q", 90, 1, 99));
            SettingsMenu.AddSeparator();
            SettingsMenu.AddLabel("JungleClear");
            SettingsMenu.Add("jungleclearQ", new CheckBox("Use Q"));
            SettingsMenu.Add("jungleclearMana", new Slider("Mana% Q", 10, 1, 99));
            SettingsMenu.AddSeparator();
            SettingsMenu.AddLabel("Drawings");
            SettingsMenu.Add("drawQ", new CheckBox("Q Range"));
            SettingsMenu.Add("drawW", new CheckBox("W Range"));
            SettingsMenu.Add("drawE", new CheckBox("E Range"));
            SettingsMenu.Add("drawR", new CheckBox("R Range"));
            SettingsMenu.AddSeparator();
            SettingsMenu.AddLabel("Misc");
            SettingsMenu.Add("Dash", new KeyBind("Dash to mouse pos", false, KeyBind.BindTypes.HoldActive, 'Z'));
            SettingsMenu.Add("Smart Q", new CheckBox("Smart Q"));
            SettingsMenu.Add("Smart W", new CheckBox("Smart W"));
            SettingsMenu.Add("Smart E", new CheckBox("Smart E"));
            SettingsMenu.Add("Smart R", new CheckBox("KS R No Combo"));

            Game.OnTick    += Game_onTick;
            Drawing.OnDraw += Drawing_OnDraw;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapCloser;
        }
コード例 #14
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Annie")
            {
                return;
            }

            //Hacks.AntiAFK = true;
            Bootstrap.Init(null);

            Q = new Spell.Targeted(SpellSlot.Q, 625, DamageType.Magical);
            W = new Spell.Skillshot(SpellSlot.W, 625, SkillShotType.Cone, 250, null, null, DamageType.Mixed)
            {
                ConeAngleDegrees = 50
            };
            E = new Spell.Active(SpellSlot.E);
            R = new Spell.Skillshot(SpellSlot.R, 600, SkillShotType.Circular, 0, int.MaxValue, 290, DamageType.Magical);

            menu = MainMenu.AddMenu("Unsigned Annie", "UnsignedAnnie");

            ComboMenu = menu.AddSubMenu("Combo", "combomenu");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("Q", new CheckBox("Use Q"));
            ComboMenu.Add("W", new CheckBox("Use W"));
            ComboMenu.Add("E", new CheckBox("Use E"));
            ComboMenu.Add("R", new CheckBox("Use R"));
            //ComboMenu.Add("Flash Ult", new CheckBox("Flash R"));
            //ComboMenu.Add("Flash Ult People", new Slider("Flash R at x People: ", 4, 0, 5));
            ComboMenu.Add("Items", new CheckBox("Use Items"));
            ComboMenu.Add("Ignite", new CheckBox("Use Ignite"));

            LaneClear = menu.AddSubMenu("Lane Clear", "laneclear");
            LaneClear.AddGroupLabel("Lane Clear Settings");
            LaneClear.Add("Q", new CheckBox("Use Q"));
            LaneClear.Add("QForLastHit", new CheckBox("Use Q Only to Last Hit"));
            LaneClear.Add("W", new CheckBox("Use W"));

            Harass = menu.AddSubMenu("Harass", "harass");
            Harass.AddGroupLabel("Harass Settings");
            Harass.Add("Q", new CheckBox("Use Q"));
            Harass.Add("W", new CheckBox("Use W"));

            LastHit = menu.AddSubMenu("Last Hit", "lasthitmenu");
            LastHit.AddGroupLabel("Last Hit Settings");
            LastHit.Add("Q", new CheckBox("Use Q"));
            LastHit.Add("W", new CheckBox("Use W", false));

            Killsteal = menu.AddSubMenu("Killsteal", "killstealmenu");
            Killsteal.AddGroupLabel("Killsteal Settings");
            Killsteal.Add("KS", new CheckBox("Activate Killsteal"));
            Killsteal.Add("Q", new CheckBox("Use Q"));
            Killsteal.Add("W", new CheckBox("Use W"));
            Killsteal.Add("R", new CheckBox("Use R", false));
            Killsteal.Add("Ignite", new CheckBox("Use Ignite"));

            DrawingsMenu = menu.AddSubMenu("Drawings", "drawingsmenu");
            DrawingsMenu.AddGroupLabel("Drawings Settings");
            DrawingsMenu.Add("Q", new CheckBox("Draw Q/W"));
            DrawingsMenu.Add("R", new CheckBox("Draw R"));

            SettingsMenu = menu.AddSubMenu("Settings", "settingsmenu");
            SettingsMenu.AddGroupLabel("Settings");
            SettingsMenu.Add("Stack", new CheckBox("Prepare Stun at Base"));
            SettingsMenu.Add("Health Potions", new CheckBox("Auto-Use Health Potions"));
            SettingsMenu.Add("Tibbers Controller", new CheckBox("Auto-Control Tibbers"));
            SettingsMenu.Add("Auto R", new CheckBox("Auto Tibbers on 4 or more units (with stun)"));

            SpellDataInst Sum1 = _Player.Spellbook.GetSpell(SpellSlot.Summoner1);
            SpellDataInst Sum2 = _Player.Spellbook.GetSpell(SpellSlot.Summoner2);

            if (Sum1.Name == "summonerdot")
            {
                Ignite = new Spell.Targeted(SpellSlot.Summoner1, 600);
            }
            else if (Sum2.Name == "summonerdot")
            {
                Ignite = new Spell.Targeted(SpellSlot.Summoner2, 600);
            }

            Game.OnTick    += Game_OnTick;
            Drawing.OnDraw += Drawing_OnDraw;
        }