コード例 #1
0
ファイル: MenuManager.cs プロジェクト: TristeMyth/Triste
 public static void Itemmenu()
 {
     ItemMenu = YMenu.AddSubMenu("物品设置", "QSS");
     ItemMenu.Add("Items", new CheckBox("使用物品"));
     ItemMenu.Add("myhp", new Slider("使用破败当我血<或=", 70, 0, 101));
     ItemMenu.AddSeparator();
     ItemMenu.Add("use", new KeyBind("使用水银/小水银", true, KeyBind.BindTypes.PressToggle, 'K'));
     ItemMenu.Add("delay", new Slider("使用延迟", 1000, 0, 2000));
     ItemMenu.Add("Blind",
         new CheckBox("当被-致盲", false));
     ItemMenu.Add("Charm",
         new CheckBox("当被-魅惑"));
     ItemMenu.Add("Fear",
         new CheckBox("当被-恐惧"));
     ItemMenu.Add("Polymorph",
         new CheckBox("当被-变形"));
     ItemMenu.Add("Stun",
         new CheckBox("当被-眩晕"));
     ItemMenu.Add("Snare",
         new CheckBox("当-踩到陷阱"));
     ItemMenu.Add("Silence",
         new CheckBox("当被-沉默", false));
     ItemMenu.Add("Taunt",
         new CheckBox("当被-嘲讽"));
     ItemMenu.Add("Suppression",
         new CheckBox("当被-压制"));
 }
コード例 #2
0
 public static void Itemmenu()
 {
     ItemMenu = YMenu.AddSubMenu("Items", "QSS");
     ItemMenu.Add("Items", new CheckBox("Use Items"));
     ItemMenu.Add("myhp", new Slider("Use BOTRK if my HP is <=", 70, 0, 101));
     ItemMenu.AddSeparator();
     ItemMenu.Add("use", new KeyBind("Use QSS/Mercurial", true, KeyBind.BindTypes.PressToggle, 'K'));
     ItemMenu.Add("delay", new Slider("Activation Delay", 1000, 0, 2000));
     ItemMenu.Add("Blind",
                  new CheckBox("Blind", false));
     ItemMenu.Add("Charm",
                  new CheckBox("Charm"));
     ItemMenu.Add("Fear",
                  new CheckBox("Fear"));
     ItemMenu.Add("Polymorph",
                  new CheckBox("Polymorph"));
     ItemMenu.Add("Stun",
                  new CheckBox("Stun"));
     ItemMenu.Add("Snare",
                  new CheckBox("Snare"));
     ItemMenu.Add("Silence",
                  new CheckBox("Silence", false));
     ItemMenu.Add("Taunt",
                  new CheckBox("Taunt"));
     ItemMenu.Add("Suppression",
                  new CheckBox("Suppression"));
 }
コード例 #3
0
ファイル: MenuManager.cs プロジェクト: lolscripts/Aka-s
 public static void Itemmenu()
 {
     ItemMenu = YMenu.AddSubMenu("Items", "QSS");
     ItemMenu.Add("Items", new CheckBox("Usar Items"));
     ItemMenu.Add("myhp", new Slider("Uar Rey Arruinado si mi vida esta en <=", 70, 0, 101));
     ItemMenu.AddSeparator();
     ItemMenu.Add("use", new KeyBind("Usar QSS/Mercurial", true, KeyBind.BindTypes.PressToggle, 'K'));
     ItemMenu.Add("delay", new Slider("Activacion de delay", 1000, 0, 2000));
     ItemMenu.Add("Blind",
                  new CheckBox("Ciego", false));
     ItemMenu.Add("Charm",
                  new CheckBox("Hechizo"));
     ItemMenu.Add("Fear",
                  new CheckBox("Temor"));
     ItemMenu.Add("Polymorph",
                  new CheckBox("Organismo polimorfo"));
     ItemMenu.Add("Stun",
                  new CheckBox("Stun"));
     ItemMenu.Add("Snare",
                  new CheckBox("Snare"));
     ItemMenu.Add("Silence",
                  new CheckBox("Silenciar", false));
     ItemMenu.Add("Taunt",
                  new CheckBox("Taunt"));
     ItemMenu.Add("Suppression",
                  new CheckBox("Supresión"));
 }
コード例 #4
0
        public static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (EloBuddy.Player.Instance.Hero != Champion.Varus)
            {
                return;
            }

            Q = new Spell.Chargeable(SpellSlot.Q, 925, 1600, 1250, 0, 1500, 70)
            {
                AllowedCollisionCount = int.MaxValue
            };
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Skillshot(SpellSlot.E, 925, SkillShotType.Circular, 250, 1750, 250)
            {
                AllowedCollisionCount = int.MaxValue
            };
            R = new Spell.Skillshot(SpellSlot.R, 1200, SkillShotType.Linear, 250, 1200, 120)
            {
                AllowedCollisionCount = int.MaxValue
            };

            var slot = Player.GetSpellSlotFromName("summonerheal");

            if (slot != SpellSlot.Unknown)
            {
                Heal = new Spell.Active(slot, 600);
            }
            Ignite = ObjectManager.Player.GetSpellSlotFromName("summonerdot");

            HealthPotion     = new Item(2003, 0);
            TotalBiscuit     = new Item(2010, 0);
            CorruptingPotion = new Item(2033, 0);
            RefillablePotion = new Item(2031, 0);
            HuntersPotion    = new Item(2032, 0);

            Chat.Print(
                "<font color=\"#580dd9\" >MeLoDag Presents </font><font color=\"#ffffff\" > VarusTheTroll </font><font color=\"#580dd9\" >Kappa Kippo</font>");


            Menu = MainMenu.AddMenu("Varus The Troll", "VarusTheTroll");
            Menu.AddLabel(" Varus The Troll " + Version);
            Menu.AddLabel(" Made by MeLoDag");

            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Q Ayarları");
            ComboMenu.Add("useQComboAlways", new CheckBox("Her zaman Q kullan"));
            ComboMenu.Add("useQCombo", new CheckBox("Q için yük say", false));
            ComboMenu.Add("StackCount", new Slider("Q yükü >= ", 3, 1, 3));
            ComboMenu.AddLabel("E Ayarları");
            ComboMenu.Add("useEComboAlways", new CheckBox("Use E"));
            ComboMenu.AddLabel("R Ayarları");
            ComboMenu.Add("useRCombo", new CheckBox("Kullan R"));
            ComboMenu.Add("Rcount", new Slider("R için gereken düşman >= ", 1, 1, 5));
            ComboMenu.Add("UseRcomboHP", new CheckBox("R yi düşmanın canına göre kullan"));
            ComboMenu.Add("RHP", new Slider("R kullanmak için gereken düşman canı >= ", 50));
            ComboMenu.AddSeparator();
            ComboMenu.AddGroupLabel("Kombo özellikleri:");
            ComboMenu.Add("useWComboFocus", new CheckBox("W hedefe odakla"));
            ComboMenu.Add("ForceR",
                          new KeyBind("Force R On Target Selector", false, KeyBind.BindTypes.HoldActive, "T".ToCharArray()[0]));
            ComboMenu.Add("combo.ignite", new CheckBox("Tutuştur kullan hedef ölecekse"));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.Add("useQHarass", new CheckBox("Kullan Q"));
            HarassMenu.Add("useEHarass", new CheckBox("Kullan E"));
            HarassMenu.Add("useEHarassMana", new Slider("E Mana > %", 70));
            HarassMenu.Add("useQHarassMana", new Slider("Q Mana > %", 70));

            JungleLaneMenu = Menu.AddSubMenu("Lane Clear Settings", "FarmSettings");
            JungleLaneMenu.AddLabel("Lane Temizleme");
            JungleLaneMenu.Add("useQFarm", new CheckBox("Kullan Q"));
            JungleLaneMenu.Add("useEFarm", new CheckBox("Kullan E"));
            JungleLaneMenu.Add("LaneMana", new Slider("Mana > %", 70));
            JungleLaneMenu.AddSeparator();
            JungleLaneMenu.AddLabel("Orman Temizleme");
            JungleLaneMenu.Add("useQJungle", new CheckBox("Kullan Q"));
            JungleLaneMenu.Add("useEJungle", new CheckBox("Kullan E"));
            JungleLaneMenu.Add("JungleMana", new Slider("E Mana > %", 70));

            MiscMenu = Menu.AddSubMenu("Misc Settings", "MiscSettings");
            MiscMenu.AddGroupLabel("Gap Close/Interrupt Ayarları");
            MiscMenu.Add("gapcloser", new CheckBox("Otomatik Q Gapcloser"));
            MiscMenu.Add("interrupter", new CheckBox("Otomatik R Interrupter"));
            MiscMenu.AddLabel("Otomatik büyü kullanma hedefe(CC)");
            MiscMenu.Add("CCQ", new CheckBox("Otomatik hedefe Q (CC)"));
            MiscMenu.AddLabel("Killçalma ayarları");
            MiscMenu.Add("UseQks", new CheckBox("Q ile çal"));
            MiscMenu.Add("UseRKs", new CheckBox("R ile çal"));

            AutoPotHealMenu = Menu.AddSubMenu("Potion & Heal", "Potion & Heal");
            AutoPotHealMenu.AddGroupLabel("Otomatik Pot Kullanımı");
            AutoPotHealMenu.Add("potion", new CheckBox("Kullan İksir"));
            AutoPotHealMenu.Add("potionminHP", new Slider("İksir için Canım şundan az", 40));
            AutoPotHealMenu.Add("potionMinMP", new Slider("İksir için manam şundan az", 20));
            AutoPotHealMenu.AddGroupLabel("Otomatik iyileştirme kullan");
            AutoPotHealMenu.Add("UseHeal", new CheckBox("İyileştirme Kullan"));
            AutoPotHealMenu.Add("useHealHP", new Slider("İyileştirme için benim canım", 20));

            ItemMenu = Menu.AddSubMenu("Item Settings", "ItemMenuettings");
            ItemMenu.Add("useBOTRK", new CheckBox("Kullan Mahvolmuş kılıcı"));
            ItemMenu.Add("useBotrkMyHP", new Slider("Canım < ", 60));
            ItemMenu.Add("useBotrkEnemyHP", new Slider("Düşmanın canı < ", 60));
            ItemMenu.Add("useYoumu", new CheckBox("Kullan Youmu"));
            ItemMenu.AddSeparator();
            ItemMenu.Add("useQSS", new CheckBox("Kullan QSS"));
            ItemMenu.Add("Qssmode", new ComboBox(" ", 0, "Auto", "Combo"));
            ItemMenu.Add("Stun", new CheckBox("Sabitse", true));
            ItemMenu.Add("Blind", new CheckBox("Körse", true));
            ItemMenu.Add("Charm", new CheckBox("Çekiliyorsa(ahri)", true));
            ItemMenu.Add("Suppression", new CheckBox("Durmuşsa", true));
            ItemMenu.Add("Polymorph", new CheckBox("Polymorph", true));
            ItemMenu.Add("Fear", new CheckBox("Korkmuşsa", true));
            ItemMenu.Add("Taunt", new CheckBox("Alay ediliyorsa", true));
            ItemMenu.Add("Silence", new CheckBox("Susturulmuşsa", false));
            ItemMenu.Add("QssDelay", new Slider("QSS gecikmesi(ms)", 250, 0, 1000));


            SkinMenu = Menu.AddSubMenu("Skin Changer", "SkinChanger");
            SkinMenu.Add("checkSkin", new CheckBox("Kostüm hilesi kullan", false));
            SkinMenu.Add("skin.Id", new Slider("Skin", 1, 0, 5));

            DrawMenu = Menu.AddSubMenu("Drawing Settings");
            DrawMenu.Add("drawRange", new CheckBox("Göster Q Menzili"));
            DrawMenu.Add("drawE", new CheckBox("Göster E Menzili"));
            DrawMenu.Add("drawR", new CheckBox("Göster R Menzili"));
            DrawMenu.AddLabel("Hasar Tespitçisi");
            DrawMenu.Add("healthbar", new CheckBox("Can barı gösterimi"));
            DrawMenu.Add("percent", new CheckBox("Hasarı yüzde olarak göster"));


            Game.OnTick                      += Game_OnTick;
            Game.OnUpdate                    += OnGameUpdate;
            Obj_AI_Base.OnBuffGain           += OnBuffGain;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapCloser;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Drawing.OnDraw                   += Drawing_OnDraw;
            DamageIndicator.Initialize(ComboDamage);
        }
コード例 #5
0
ファイル: Program.cs プロジェクト: spall9/ZERO
        private static void OnLoadingComplete(EventArgs args)

        {
            if (Player.Instance.ChampionName != "Camille")
            {
                return;
            }
            //Spells
            Q = new Spell.Active(SpellSlot.Q, 325);

            W = new Spell.Skillshot(SpellSlot.W, 630, SkillShotType.Cone, 250, 1750, 100, DamageType.Physical);
            { W.ConeAngleDegrees = 45; }
            E = new Spell.Skillshot(SpellSlot.E, 800, SkillShotType.Linear, 250, 500, 50, DamageType.Physical);

            R = new Spell.Targeted(SpellSlot.R, 800);
            //
            SpellList.Add(Q);
            SpellList.Add(W);
            SpellList.Add(E);
            SpellList.Add(R);

            //Items
            bilgewater = new Item(3144, 550);
            botrk      = new Item(3153, 550);
            tiamat     = new Item(3077, 400);
            hydra      = new Item(3074, 400);
            Youmuu     = new Item(3142, 800);
            titanic    = new Item(3748, 0);

            //Potions
            HealthPotion  = new Item(2003, 0);
            Biscuit       = new Item(2010, 0);
            CorruptPotion = new Item(2033, 0);
            RefillPotion  = new Item(2031, 0);
            HuntersPotion = new Item(2032, 0);

            //MainMenu
            CamilleMenu = MainMenu.AddMenu("CamilleZero", "CamilleZero");

            //ComboMenu
            ComboMenu = CamilleMenu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("Q", new CheckBox("Use Q in Combo"));
            ComboMenu.Add("Q2", new CheckBox("Use Q2 for true DMG"));
            ComboMenu.Add("W", new CheckBox("Use W in Combo"));
            ComboMenu.Add("W2", new CheckBox("Only use outer range W"));
            ComboMenu.Add("E", new CheckBox("Use E in Combo"));
            ComboMenu.Add("R", new CheckBox("Use R in Combo"));
            ComboMenu.AddSeparator();
            ComboMenu.AddLabel("Use R on:");
            foreach (var Enemy in EntityManager.Heroes.Enemies)
            {
                ComboMenu.Add(Enemy.ChampionName, new CheckBox("Use R on " + Enemy.ChampionName));
            }

            //LaneclearMenu
            LaneclearMenu = CamilleMenu.AddSubMenu("Laneclear");
            LaneclearMenu.AddGroupLabel("Laneclear Settings");
            LaneclearMenu.Add("QLC", new CheckBox("Use Q in Laneclear"));
            LaneclearMenu.Add("Q2LC", new CheckBox("Use Q2 in Laneclear"));
            LaneclearMenu.Add("WLC", new CheckBox("Use W in Laneclear"));

            //ItemsMenu
            ItemMenu = CamilleMenu.AddSubMenu("Items");
            ItemMenu.AddGroupLabel("Item Settings");
            ItemMenu.AddGroupLabel("Combo:");
            ItemMenu.Add("bilge", new CheckBox("Use Bilgewater Cutlass in Combo"));
            ItemMenu.Add("youmuu", new CheckBox("Use Youmuu's in Combo"));
            ItemMenu.Add("tia", new CheckBox("Use Tiamat in Combo"));
            ItemMenu.Add("hydra", new CheckBox("Use Hydra in Combo"));
            ItemMenu.Add("titanic", new CheckBox("Use Titanic Hydra in Combo"));
            ItemMenu.Add("botrk", new CheckBox("Use BotrK in Combo"));
            ItemMenu.Add("bork", new Slider("%HP to use BotrK <=", 75, 0, 100));
            ItemMenu.AddSeparator();
            ItemMenu.AddGroupLabel("LaneClear/JungleClear:");
            ItemMenu.Add("tialc", new CheckBox("Use Tiamat in Laneclear/JungleClear"));
            ItemMenu.Add("hydralc", new CheckBox("Use Hydra in Laneclear/JungleClear"));
            ItemMenu.Add("titaniclc", new CheckBox("Use Titanic Hydra in Laneclear/Jungleclear"));
            ItemMenu.AddSeparator(50);
            ItemMenu.Add("potion", new CheckBox("Auto Use Potion"));
            ItemMenu.Add("potionhp", new Slider("Use Auto Potion when %HP <=", 50, 0, 100));

            //DrawMenu
            DrawMenu = CamilleMenu.AddSubMenu("Draw");
            DrawMenu.AddGroupLabel("Draw Settings");
            DrawMenu.Add("DrawW", new CheckBox("Draw W Range"));
            DrawMenu.Add("DrawE", new CheckBox("Draw E Range"));
            DrawMenu.Add("DrawR", new CheckBox("Draw R Range"));

            //SkinchangerMenu
            SkinMenu = CamilleMenu.AddSubMenu("Skinchanger");
            SkinMenu.AddGroupLabel("Skin Settings");
            SkinMenu.Add("SkinEnable", new CheckBox("Enable Skinchanger", false));
            SkinMenu.Add("SkinID", new ComboBox("Skins:", 0, "Classic Camille", "Program Camille"));



            //Chatnotification
            Chat.Print("CamilleZero loaded successfully");

            //Current Skin before choosing any
            CurrentSkin = User.SkinId;

            //Events
            Orbwalker.OnPostAttack += Orbwalker_OnPostAttack;
            Drawing.OnDraw         += Drawing_OnDraw;
            Game.OnTick            += Game_OnTick;
        }
コード例 #6
0
ファイル: AsheTheTroll.cs プロジェクト: LXMedia1/Elobuddy-1
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.Hero != Champion.Ashe)
            {
                return;
            }


            _q = new Spell.Active(SpellSlot.Q);
            _w = new Spell.Skillshot(SpellSlot.W, 1200, SkillShotType.Linear, 0, int.MaxValue, 60);
            _w.AllowedCollisionCount = 0;
            _e = new Spell.Skillshot(SpellSlot.E, 15000, SkillShotType.Linear, 0, int.MaxValue, 0);
            _r = new Spell.Skillshot(SpellSlot.R, 15000, SkillShotType.Linear, 500, 1000, 250);
            _r.AllowedCollisionCount = int.MaxValue;
            var slot = _Player.GetSpellSlotFromName("summonerheal");

            if (slot != SpellSlot.Unknown)
            {
                Heal = new Spell.Active(slot, 600);
            }
            HealthPotion     = new Item(2003, 0);
            TotalBiscuit     = new Item(2010, 0);
            CorruptingPotion = new Item(2033, 0);
            RefillablePotion = new Item(2031, 0);
            HuntersPotion    = new Item(2032, 0);

            Chat.Print(
                "<font color=\"#4dd5ea\" >MeLoDag Presents </font><font color=\"#ffffff\" >AsheTheToLL </font><font color=\"#4dd5ea\" >Kappa Kippo</font>");


            Menu = MainMenu.AddMenu("AsheTheTroll", "AsheTheTroll");

            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.Add("useQCombo", new CheckBox("Use Q"));
            ComboMenu.Add("useWCombo", new CheckBox("Use W"));
            ComboMenu.Add("useRCombo", new CheckBox("Use R [45%hp]"));
            ComboMenu.Add("useRComboENEMIES", new CheckBox("Use R[Count]"));
            ComboMenu.Add("Rcount", new Slider("R when enemies >= ", 1, 1, 5));
            ComboMenu.AddSeparator();
            ComboMenu.Add("useRComboFinisher", new CheckBox("Use R [FinisherMode]"));
            ComboMenu.Add("ForceR",
                          new KeyBind("Force R On Target Selector", false, KeyBind.BindTypes.HoldActive, "T".ToCharArray()[0]));
            ComboMenu.Add("useRComboRange", new Slider("R Max Range ", 1000, 500, 2000));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.Add("useQHarass", new CheckBox("Use Q"));
            HarassMenu.Add("useWHarass", new CheckBox("Use W"));
            HarassMenu.Add("useWHarassMana", new Slider("W Mana > %", 70, 0, 100));
            HarassMenu.AddLabel("AutoHarass");
            HarassMenu.Add("autoWHarass", new CheckBox("Auto W for Harass", false));
            HarassMenu.Add("autoWHarassMana", new Slider("W Mana > %", 70, 0, 100));

            JungleLaneMenu = Menu.AddSubMenu("Lane Clear Settings", "FarmSettings");
            JungleLaneMenu.AddLabel("Lane Clear");
            JungleLaneMenu.Add("useWFarm", new CheckBox("Use W"));
            JungleLaneMenu.Add("useWManalane", new Slider("W Mana > %", 70, 0, 100));
            JungleLaneMenu.AddSeparator(14);
            JungleLaneMenu.AddLabel("Jungle Clear");
            // JungleLaneMenu.Add("useQJungle", new CheckBox("Use Q"));
            JungleLaneMenu.Add("useWJungle", new CheckBox("Use W"));
            JungleLaneMenu.Add("useWMana", new Slider("W Mana > %", 70, 0, 100));

            MiscMenu = Menu.AddSubMenu("Misc Settings", "MiscSettings");
            MiscMenu.Add("gapcloser", new CheckBox("Auto W for Gapcloser"));
            MiscMenu.Add("interrupter", new CheckBox("Auto R for Interrupter"));
            MiscMenu.Add("CCE", new CheckBox("Auto W on Enemy CC"));
            MiscMenu.Add("UseWks", new CheckBox("Use W ks"));

            AutoPotHealMenu = Menu.AddSubMenu("Potion & HeaL", "Potion & HeaL");
            AutoPotHealMenu.AddGroupLabel("Auto pot usage");
            AutoPotHealMenu.Add("potion", new CheckBox("Use potions"));
            AutoPotHealMenu.Add("potionminHP", new Slider("Minimum Health % to use potion", 70));
            AutoPotHealMenu.Add("potionMinMP", new Slider("Minimum Mana % to use potion", 20));
            AutoPotHealMenu.AddGroupLabel("AUto Heal Usage");
            AutoPotHealMenu.Add("UseHeal", new CheckBox("Use Heal"));
            AutoPotHealMenu.Add("useHealHP", new Slider("Minimum Health % to use Heal", 70));

            ItemMenu = Menu.AddSubMenu("Item Settings", "ItemMenuettings");
            ItemMenu.Add("useBOTRK", new CheckBox("Use BOTRK"));
            ItemMenu.Add("useBotrkMyHP", new Slider("My Health < ", 60, 1, 100));
            ItemMenu.Add("useBotrkEnemyHP", new Slider("Enemy Health < ", 60, 1, 100));
            ItemMenu.Add("useYoumu", new CheckBox("Use Youmu"));
            ItemMenu.AddSeparator();
            ItemMenu.Add("useQSS", new CheckBox("Use QSS"));
            ItemMenu.Add("Qssmode", new ComboBox(" ", 0, "Auto", "Combo"));
            ItemMenu.Add("Stun", new CheckBox("Stun", true));
            ItemMenu.Add("Blind", new CheckBox("Blind", true));
            ItemMenu.Add("Charm", new CheckBox("Charm", true));
            ItemMenu.Add("Suppression", new CheckBox("Suppression", true));
            ItemMenu.Add("Polymorph", new CheckBox("Polymorph", true));
            ItemMenu.Add("Fear", new CheckBox("Fear", true));
            ItemMenu.Add("Taunt", new CheckBox("Taunt", true));
            ItemMenu.Add("Silence", new CheckBox("Silence", false));
            ItemMenu.Add("QssDelay", new Slider("Use QSS Delay(ms)", 250, 0, 1000));
            ItemMenu.AddGroupLabel("Qqs Utly");
            ItemMenu.Add("ZedUlt", new CheckBox("Zed R", true));
            ItemMenu.Add("VladUlt", new CheckBox("Vladimir R", true));
            ItemMenu.Add("FizzUlt", new CheckBox("Fizz R", true));
            ItemMenu.Add("MordUlt", new CheckBox("Mordekaiser R", true));
            ItemMenu.Add("PoppyUlt", new CheckBox("Poppy R", true));
            ItemMenu.Add("QssUltDelay", new Slider("Use QSS Delay(ms) for Ult", 250, 0, 1000));

            SkinMenu = Menu.AddSubMenu("Skin Changer", "SkinChanger");
            SkinMenu.Add("checkSkin", new CheckBox("Use Skin Changer"));
            SkinMenu.Add("skin.Id", new Slider("Skin", 1, 0, 8));

            PrediMenu = Menu.AddSubMenu("Prediction Settings", "_PrediMenuettings");
            var style = PrediMenu.Add("style", new Slider("Min Prediction", 1, 0, 2));

            style.OnValueChange += delegate
            {
                style.DisplayName = "Min Prediction: " + new[] { "Low", "Medium", "High" }[style.CurrentValue];
            };
            style.DisplayName = "Min Prediction: " + new[] { "Low", "Medium", "High" }[style.CurrentValue];

            DrawMenu = Menu.AddSubMenu("Drawing Settings");
            DrawMenu.Add("drawRange", new CheckBox("Draw Q Range"));
            DrawMenu.Add("drawW", new CheckBox("Draw W Range"));
            DrawMenu.Add("drawR", new CheckBox("Draw R Range"));

            Game.OnTick                      += Game_OnTick;
            Game.OnUpdate                    += OnGameUpdate;
            Obj_AI_Base.OnBuffGain           += OnBuffGain;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapCloser;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Drawing.OnDraw                   += Drawing_OnDraw;
        }
コード例 #7
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (User.ChampionName != "Tryndamere")
            {
                return;
            }

            Q = new Spell.Active(spellSlot: SpellSlot.Q);

            W = new Spell.Targeted(spellSlot: SpellSlot.W, spellRange: 850);

            E = new Spell.Skillshot(spellSlot: SpellSlot.E, spellRange: 660, skillShotType: SkillShotType.Circular, spellSpeed: 700, spellWidth: 225);

            R = new Spell.Active(spellSlot: SpellSlot.R);



            bilgewater = new Item(3144, 550);
            botrk      = new Item(3153, 550);
            tiamat     = new Item(3077, 400);
            hydra      = new Item(3074, 400);
            Youmuu     = new Item(3142, 800);



            HealthPotion  = new Item(2003, 0);
            Biscuit       = new Item(2010, 0);
            CorruptPotion = new Item(2033, 0);
            RefillPotion  = new Item(2031, 0);
            HuntersPotion = new Item(2032, 0);



            SpellList.Add(Q);
            SpellList.Add(W);
            SpellList.Add(E);
            SpellList.Add(R);



            Chat.Print("TryndaZero loaded successfully");



            CurrentSkinID = User.SkinId;



            TryndaMenu = MainMenu.AddMenu("TryndaZero", "TryndaZero");

            ComboMenu = TryndaMenu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("W", new CheckBox("Use W"));
            ComboMenu.Add("E", new CheckBox("Use E"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("UseE", new CheckBox("Use E Only if out of AA Range"));
            ComboMenu.AddSeparator(50);
            ComboMenu.AddGroupLabel("Auto Q Settings");
            ComboMenu.Add("Q", new CheckBox("Auto Use Q"));
            ComboMenu.Add("UseQ", new Slider("% HP to cast Q", 70, 1, 100));
            ComboMenu.AddSeparator(50);
            ComboMenu.AddGroupLabel("Auto R Settings(Use Key for quick changing)");
            ComboMenu.Add("R", new KeyBind("Auto Use R(Enemy in 1200 Range)", true, KeyBind.BindTypes.PressToggle, 'L'));
            ComboMenu.Add("AR", new CheckBox("Always Auto Use R", false));
            ComboMenu.Add("UseR", new Slider("% HP to cast R", 20, 1, 100));
            ComboMenu.AddSeparator();


            LaneClearMenu = TryndaMenu.AddSubMenu("LaneClear");
            LaneClearMenu.AddGroupLabel("LaneClear Settings");
            LaneClearMenu.Add("E", new CheckBox("Use E"));
            LaneClearMenu.AddSeparator();
            LaneClearMenu.Add("Elc", new Slider("Minions to use E >=", 3, 1, 10));


            JungleClearMenu = TryndaMenu.AddSubMenu("JungleClear");
            JungleClearMenu.AddGroupLabel("Jungle Clear Settings");
            JungleClearMenu.Add("EJ", new CheckBox("Use E"));

            FleeMenu = TryndaMenu.AddSubMenu("Flee");
            FleeMenu.AddGroupLabel("Flee Settings");
            FleeMenu.Add("EF", new CheckBox("Use E"));

            ItemMenu = TryndaMenu.AddSubMenu("Items");
            ItemMenu.AddGroupLabel("Item Settings");
            ItemMenu.AddGroupLabel("Combo:");
            ItemMenu.Add("bilge", new CheckBox("Use Bilgewater Cutlass in Combo"));
            ItemMenu.Add("youmuu", new CheckBox("Use Youmuu's in Combo"));
            ItemMenu.Add("tia", new CheckBox("Use Tiamat in Combo"));
            ItemMenu.Add("hydra", new CheckBox("Use Hydra in Combo"));
            ItemMenu.Add("botrk", new CheckBox("Use BotrK in Combo"));
            ItemMenu.Add("bork", new Slider("%HP to use BotrK <=", 75, 0, 100));
            ItemMenu.AddSeparator();
            ItemMenu.AddGroupLabel("LaneClear/JungleClear:");
            ItemMenu.Add("tialc", new CheckBox("Use Tiamat in Laneclear/JungleClear"));
            ItemMenu.Add("hydralc", new CheckBox("Use Hydra in Laneclear/JungleClear"));
            ItemMenu.AddSeparator(50);
            ItemMenu.Add("potion", new CheckBox("Auto Use Potion"));
            ItemMenu.Add("potionhp", new Slider("Use Auto Potion when %HP <=", 50, 0, 100));



            DrawingsMenu = TryndaMenu.AddSubMenu("Drawings");
            DrawingsMenu.AddGroupLabel("Drawing Settings");
            DrawingsMenu.Add("DrawW", new CheckBox("Draw W"));
            DrawingsMenu.Add("DrawE", new CheckBox("Draw E"));



            SkinChangerMenu = TryndaMenu.AddSubMenu("Skin Changer");
            SkinChangerMenu.Add("EnableSkin", new CheckBox("Enable Skinchanger", false));
            SkinChangerMenu.Add("SkinID", new Slider("Skin ID", 1, 0, 8));



            Drawing.OnDraw += Drawing_OnDraw;



            Game.OnTick += Game_OnTick;
        }
コード例 #8
0
ファイル: Program.cs プロジェクト: qazji3/Elobuddy-1
        public static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (EloBuddy.Player.Instance.Hero != Champion.Vayne)
            {
                return;
            }

            Q  = new Spell.Skillshot(SpellSlot.Q, int.MaxValue, SkillShotType.Linear);
            E  = new Spell.Targeted(SpellSlot.E, 590);
            E2 = new Spell.Skillshot(SpellSlot.E, 590, SkillShotType.Linear, 250, 1250);
            VayneTheTroll.Condemn.ESpell = new Spell.Skillshot(SpellSlot.E, 590, SkillShotType.Linear, 250, 1250);
            R = new Spell.Active(SpellSlot.R);


            var slot = Player.GetSpellSlotFromName("summonerheal");

            if (slot != SpellSlot.Unknown)
            {
                Heal = new Spell.Active(slot, 600);
            }

            HealthPotion     = new Item(2003, 0);
            TotalBiscuit     = new Item(2010, 0);
            CorruptingPotion = new Item(2033, 0);
            RefillablePotion = new Item(2031, 0);
            HuntersPotion    = new Item(2032, 0);

            Chat.Print(
                "<font color=\"#ef0101\" >MeLoSenpai Presents </font><font color=\"#ffffff\" > VayneTHeTroll </font><font color=\"#ef0101\" >Kappa Kippo</font>");
            Chat.Print("Version 1.5 (28/12/2016)", Color.GreenYellow);
            Chat.Print("Gl and HF also Dont Feed!!", Color.GreenYellow);


            Menu      = MainMenu.AddMenu("VayneTheTroll", "VayneTheTroll");
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Q Settings");
            ComboMenu.Add("useQcombo",
                          new ComboBox("Q Logic", 0, "Side", "Cursor", "SmartQ", "SafeQ", "AggroQ", "Burst"));
            ComboMenu.Add("UseQulty", new CheckBox("Auto Q when using R", false));
            ComboMenu.AddLabel("W Settings:");
            ComboMenu.Add("FocusW", new CheckBox("Focus target With Silver Bolt"));
            ComboMenu.AddLabel("E Settings:");
            ComboMenu.Add("UseEks", new CheckBox("Use E Ks"));
            ComboMenu.Add("useEcombo", new ComboBox("E Logic", 0, "VayneTheTroll", "360 Fluxy"));
            ComboMenu.Add("pushDistance", new Slider("Push Distance", 410, 350, 420));
            ComboMenu.Add("condemnPercent", new Slider("HitChange %", 70));
            ComboMenu.AddLabel("Use R Settings");
            ComboMenu.Add("useRCombo", new CheckBox("Use R"));
            ComboMenu.Add("Rcount", new Slider("R when enemies >= ", 2, 1, 5));
            ComboMenu.Add("noaa", new CheckBox("No AA If active Ulty "));
            ComboMenu.Add("Noaaslider", new Slider("No AA when enemy in range ", 2, 1, 5));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddLabel("SoonTM");
            //  HarassMenu.Add("useQHarass", new CheckBox("Use Q"));
            //   HarassMenu.Add("useEHarass", new CheckBox("Use E"));
            //   HarassMenu.Add("useEHarassMana", new Slider("E Mana > %", 70, 0, 100));
            //  HarassMenu.Add("useQHarassMana", new Slider("Q Mana > %", 70, 0, 100));

            JungleLaneMenu = Menu.AddSubMenu("Lane Clear Settings", "FarmSettings");
            JungleLaneMenu.AddLabel("Lane Clear");
            JungleLaneMenu.Add("useQFarm", new CheckBox("Use Q[LastHit]"));
            JungleLaneMenu.Add("useQMana", new Slider("Q Mana > %", 75));
            JungleLaneMenu.AddLabel("Jungle Clear");
            JungleLaneMenu.Add("useQJungle", new CheckBox("Use Q"));
            JungleLaneMenu.Add("useEJungle", new CheckBox("Use E"));
            JungleLaneMenu.Add("useQJunglemana", new Slider("Mana > %", 40));

            MiscMenu = Menu.AddSubMenu("Misc Settings", "MiscSettings");
            MiscMenu.AddGroupLabel("Gapcloser Settings");
            MiscMenu.Add("gapcloser", new CheckBox("Auto Q for Gapcloser", false));
            MiscMenu.AddLabel("Interrupter Settings:");
            MiscMenu.Add("interrupter", new CheckBox("Enable Interrupter Using E"));
            MiscMenu.Add("interrupt.value", new ComboBox("Interrupter DangerLevel", 0, "High", "Medium", "Low"));
            MiscMenu.Add("delayinter", new Slider("Use Interrupter Delay(ms)", 50));


            //     MiscMenu.Add("UseQks", new CheckBox("Use Q ks"));

            AutoPotHealMenu = Menu.AddSubMenu("Potion & Heal", "Potion & Heal");
            AutoPotHealMenu.AddGroupLabel("Auto pot usage");
            AutoPotHealMenu.Add("potion", new CheckBox("Use potions"));
            AutoPotHealMenu.Add("potionminHP", new Slider("Minimum Health % to use potion", 40));
            AutoPotHealMenu.Add("potionMinMP", new Slider("Minimum Mana % to use potion", 20));
            AutoPotHealMenu.AddGroupLabel("AUto Heal Usage");
            AutoPotHealMenu.Add("UseHeal", new CheckBox("Use Heal"));
            AutoPotHealMenu.Add("useHealHP", new Slider("Minimum Health % to use Heal", 20));

            ItemMenu = Menu.AddSubMenu("Item Settings", "ItemMenuettings");
            ItemMenu.Add("useBOTRK", new CheckBox("Use BOTRK"));
            ItemMenu.Add("useBotrkMyHP", new Slider("My Health < ", 60));
            ItemMenu.Add("useBotrkEnemyHP", new Slider("Enemy Health < ", 60));
            ItemMenu.Add("useYoumu", new CheckBox("Use Youmu"));
            ItemMenu.AddSeparator();
            ItemMenu.Add("useQSS", new CheckBox("Use QSS"));
            ItemMenu.Add("Qssmode", new ComboBox(" ", 0, "Auto", "Combo"));
            ItemMenu.Add("Stun", new CheckBox("Stun"));
            ItemMenu.Add("Blind", new CheckBox("Blind"));
            ItemMenu.Add("Charm", new CheckBox("Charm"));
            ItemMenu.Add("Suppression", new CheckBox("Suppression"));
            ItemMenu.Add("Polymorph", new CheckBox("Polymorph"));
            ItemMenu.Add("Fear", new CheckBox("Fear"));
            ItemMenu.Add("Taunt", new CheckBox("Taunt"));
            ItemMenu.Add("Silence", new CheckBox("Silence", false));
            ItemMenu.Add("QssDelay", new Slider("Use QSS Delay(ms)", 250, 0, 1000));

            FleeMenu = Menu.AddSubMenu("Flee Settings", "FleeSettings");
            FleeMenu.Add("fleeQ", new CheckBox("Use Q"));
            FleeMenu.Add("fleeE", new CheckBox("Use E"));

            SkinMenu = Menu.AddSubMenu("Skin Changer", "SkinChanger");
            SkinMenu.Add("checkSkin", new CheckBox("Use Skin Changer", false));
            StringList(SkinMenu, "skin.Id", "Skin",
                       new[]
            {
                "Default", "Vindicator", "Aristocrat ", "Dragonslayer ", "Heartseeker", "SKT T1", "Arclight",
                "DragonSlayer Chaos", "DragonSlayer Curse", "DragonSlayer Element"
            },
                       0);


            DrawMenu = Menu.AddSubMenu("Drawing Settings");
            DrawMenu.Add("drawStun", new CheckBox("Draw Stun Pos"));
            DrawMenu.Add("drawE", new CheckBox("Draw E Range"));


            Game.OnTick            += Game_OnTick;
            Game.OnUpdate          += OnGameUpdate;
            Orbwalker.OnPostAttack += OnAfterAttack;
            //  Orbwalker.OnPostAttack += Orbwalking_AfterAttack1;
            Obj_AI_Base.OnBuffGain           += OnBuffGain;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapCloser;
            Interrupter.OnInterruptableSpell += Interupthighlvl;
            Interrupter.OnInterruptableSpell += Interuptmediumlvl;
            Interrupter.OnInterruptableSpell += Interuptlowlvl;
            Obj_AI_Base.OnProcessSpellCast   += OnProcessSpellCast;
            Drawing.OnDraw += Drawing_OnDraw;
            EloBuddy.Player.OnIssueOrder += Player_OnIssueOrder;
        }
コード例 #9
0
ファイル: VarusTheTroll.cs プロジェクト: qazji3/Elobuddy-1
        public static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (EloBuddy.Player.Instance.Hero != Champion.Varus)
            {
                return;
            }

            Q = new Spell.Chargeable(SpellSlot.Q, 925, 1600, 1250, 0, 1500, 70)
            {
                AllowedCollisionCount = int.MaxValue
            };
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Skillshot(SpellSlot.E, 925, SkillShotType.Circular, 250, 1750, 250)
            {
                AllowedCollisionCount = int.MaxValue
            };
            R = new Spell.Skillshot(SpellSlot.R, 1200, SkillShotType.Linear, 250, 1200, 120)
            {
                AllowedCollisionCount = int.MaxValue
            };

            var slot = Player.GetSpellSlotFromName("summonerheal");

            if (slot != SpellSlot.Unknown)
            {
                Heal = new Spell.Active(slot, 600);
            }
            Thm = new Font(Drawing.Direct3DDevice,
                           new FontDescription
            {
                FaceName        = "Tahoma",
                Height          = 32,
                Weight          = FontWeight.Bold,
                OutputPrecision = FontPrecision.Default,
                Quality         = FontQuality.ClearType
            });
            Ignite = ObjectManager.Player.GetSpellSlotFromName("summonerdot");

            HealthPotion     = new Item(2003, 0);
            TotalBiscuit     = new Item(2010, 0);
            CorruptingPotion = new Item(2033, 0);
            RefillablePotion = new Item(2031, 0);
            HuntersPotion    = new Item(2032, 0);

            Chat.Print(
                "<font color=\"#580dd9\" >MeloSenpai Presents </font><font color=\"#ffffff\" > VarusTheTroll </font><font color=\"#580dd9\" >Kappa Kippo</font>");

            Chat.Print("Hf Gl enjoy!!", Color.Aqua
                       );


            Menu = MainMenu.AddMenu("Varus The Troll", "VarusTheTroll");
            Menu.AddLabel(" Varus The Troll " + Version);
            Menu.AddLabel(" Made by MeloSenpai");

            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Q Settings");
            ComboMenu.Add("Qlogic", new ComboBox("Q Logic ", 0, "Always", "If 3 Stacks"));
            ComboMenu.AddLabel("E Settings");
            ComboMenu.Add("ELogic", new ComboBox("E Logic ", 0, "Normal", "After AA"));
            ComboMenu.AddLabel("R Settings:");
            ComboMenu.Add("useRCombo", new CheckBox("Use R", false));
            ComboMenu.Add("Rlogic", new ComboBox("Ulty Logic ", 0, "EnemyHp", "HitCountEnemys"));
            ComboMenu.Add("Hp", new Slider("Use R Enemy Health {0}(%)", 45, 0, 100));
            ComboMenu.Add("Rcount", new Slider("If Ulty Hit {0} Enemy ", 2, 1, 5));
            ComboMenu.Add("rpred", new Slider("Select Ulty {0}(%) Hitchance", 70, 0, 100));
            ComboMenu.AddLabel("Use R Range Settigs For all Logic:");
            ComboMenu.Add("useRRange", new Slider("Use Ulty Max Range", 1800, 500, 2000));
            ComboMenu.AddSeparator();
            ComboMenu.AddGroupLabel("Combo preferences:");
            ComboMenu.Add("useWComboFocus", new CheckBox("Focus Target W"));
            ComboMenu.Add("ForceR",
                          new KeyBind("Force R On Target Selector", false, KeyBind.BindTypes.HoldActive, "T".ToCharArray()[0]));
            ComboMenu.Add("combo.ignite", new CheckBox("Use Ignite If Combo Killable"));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.Add("useQHarass", new CheckBox("Use Q"));
            HarassMenu.Add("useEHarass", new CheckBox("Use E"));
            HarassMenu.Add("useEHarassMana", new Slider("E Mana > %", 70));
            HarassMenu.Add("useQHarassMana", new Slider("Q Mana > %", 70));

            JungleLaneMenu = Menu.AddSubMenu("Lane Clear Settings", "FarmSettings");
            JungleLaneMenu.AddLabel("Lane Clear");
            JungleLaneMenu.Add("useQFarm", new CheckBox("Use Q"));
            JungleLaneMenu.Add("useEFarm", new CheckBox("Use E"));
            JungleLaneMenu.Add("LaneMana", new Slider("Mana > %", 70));
            JungleLaneMenu.AddSeparator();
            JungleLaneMenu.AddLabel("Jungle Clear");
            JungleLaneMenu.Add("useQJungle", new CheckBox("Use Q"));
            JungleLaneMenu.Add("useEJungle", new CheckBox("Use E"));
            JungleLaneMenu.Add("JungleMana", new Slider("E Mana > %", 70));

            MiscMenu = Menu.AddSubMenu("Misc Settings", "MiscSettings");
            MiscMenu.AddGroupLabel("Gap Close/Interrupt Settings");
            MiscMenu.Add("gapcloser", new CheckBox("Auto E for Gapcloser"));
            MiscMenu.Add("interrupter", new CheckBox("Auto R for Interrupter"));
            MiscMenu.AddLabel("Auto Skills On CC Enemy");
            MiscMenu.Add("CCQ", new CheckBox("Auto Q on Enemy CC"));
            MiscMenu.AddLabel("KillSteal Settings");
            MiscMenu.Add("UseRKs", new CheckBox("Use R Ks"));

            AutoPotHealMenu = Menu.AddSubMenu("Potion & Heal", "Potion & Heal");
            AutoPotHealMenu.AddGroupLabel("Auto pot usage");
            AutoPotHealMenu.Add("potion", new CheckBox("Use potions"));
            AutoPotHealMenu.Add("potionminHP", new Slider("Minimum Health % to use potion", 40));
            AutoPotHealMenu.Add("potionMinMP", new Slider("Minimum Mana % to use potion", 20));
            AutoPotHealMenu.AddGroupLabel("AUto Heal Usage");
            AutoPotHealMenu.Add("UseHeal", new CheckBox("Use Heal"));
            AutoPotHealMenu.Add("useHealHP", new Slider("Minimum Health % to use Heal", 20));

            ItemMenu = Menu.AddSubMenu("Item Settings", "ItemMenuettings");
            ItemMenu.Add("useBOTRK", new CheckBox("Use BOTRK"));
            ItemMenu.Add("useBotrkMyHP", new Slider("My Health < ", 60));
            ItemMenu.Add("useBotrkEnemyHP", new Slider("Enemy Health < ", 60));
            ItemMenu.Add("useYoumu", new CheckBox("Use Youmu"));
            ItemMenu.AddSeparator();
            ItemMenu.Add("useQSS", new CheckBox("Use QSS"));
            ItemMenu.Add("Qssmode", new ComboBox(" ", 0, "Auto", "Combo"));
            foreach (var debuff in DeBuffsList)
            {
                ItemMenu.Add(debuff.ToString(), new CheckBox(debuff.ToString()));
            }
            ItemMenu.Add("QssDelay", new Slider("Use QSS Delay(ms)", 250, 0, 1000));


            SkinMenu = Menu.AddSubMenu("Skin Changer", "SkinChanger");
            SkinMenu.Add("checkSkin", new CheckBox("Use Skin Changer", false));
            SkinMenu.Add("skin.Id", new Slider("Skin", 1, 0, 5));

            DrawMenu = Menu.AddSubMenu("Drawing Settings");
            DrawMenu.Add("drawRange", new CheckBox("Draw Q Range"));
            DrawMenu.Add("drawE", new CheckBox("Draw E Range"));
            DrawMenu.Add("drawR", new CheckBox("Draw R Range"));
            DrawMenu.AddLabel("Damage indicators");
            DrawMenu.Add("healthbar", new CheckBox("Healthbar overlay"));
            DrawMenu.Add("percent", new CheckBox("Damage percent info"));
            DrawMenu.Add("howaa", new CheckBox("How Many AA"));
            DrawMenu.Add("Rkill", new CheckBox("R kill "));


            Game.OnTick                      += Game_OnTick;
            Game.OnUpdate                    += OnGameUpdate;
            Obj_AI_Base.OnBuffGain           += OnBuffGain;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapCloser;
            Orbwalker.OnPostAttack           += OnAfterAttack;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Drawing.OnDraw                   += Drawing_OnDraw;
            DamageIndicator.Initialize(ComboDamage);
        }
コード例 #10
0
        public static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (EloBuddy.Player.Instance.Hero != Champion.Varus)
            {
                return;
            }

            Q = new Spell.Chargeable(SpellSlot.Q, 925, 1600, 1250, 0, 1500, 70)
            {
                AllowedCollisionCount = int.MaxValue
            };
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Skillshot(SpellSlot.E, 925, SkillShotType.Circular, 250, 1750, 250)
            {
                AllowedCollisionCount = int.MaxValue
            };
            R = new Spell.Skillshot(SpellSlot.R, 1200, SkillShotType.Linear, 250, 1200, 120)
            {
                AllowedCollisionCount = int.MaxValue
            };

            var slot = Player.GetSpellSlotFromName("summonerheal");

            if (slot != SpellSlot.Unknown)
            {
                Heal = new Spell.Active(slot, 600);
            }
            Ignite = ObjectManager.Player.GetSpellSlotFromName("summonerdot");

            HealthPotion     = new Item(2003, 0);
            TotalBiscuit     = new Item(2010, 0);
            CorruptingPotion = new Item(2033, 0);
            RefillablePotion = new Item(2031, 0);
            HuntersPotion    = new Item(2032, 0);

            Chat.Print(
                "<font color=\"#580dd9\" >MeLoDag Presents </font><font color=\"#ffffff\" > VarusTheTroll </font><font color=\"#580dd9\" >Kappa Kippo</font>");


            Menu = MainMenu.AddMenu("Varus The Troll", "VarusTheTroll");
            Menu.AddLabel(" Varus The Troll " + Version);
            Menu.AddLabel(" Made by MeLoDag");

            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Q Settings");
            ComboMenu.Add("useQComboAlways", new CheckBox("Use Q[Always]"));
            ComboMenu.Add("useQCombo", new CheckBox("Use Q[StackCount]", false));
            ComboMenu.Add("StackCount", new Slider("Q when stacks >= ", 3, 1, 3));
            ComboMenu.AddLabel("E Settings");
            ComboMenu.Add("useEComboAlways", new CheckBox("Use E"));
            ComboMenu.AddLabel("R Settings");
            ComboMenu.Add("useRCombo", new CheckBox("Use R"));
            ComboMenu.Add("Rcount", new Slider("R when enemies >= ", 1, 1, 5));
            ComboMenu.Add("UseRcomboHP", new CheckBox("Use R[HpEnemy]"));
            ComboMenu.Add("RHP", new Slider("Use R If Hp enemies >= ", 50));
            ComboMenu.AddSeparator();
            ComboMenu.AddGroupLabel("Combo preferences:");
            ComboMenu.Add("useWComboFocus", new CheckBox("Focus Target W"));
            ComboMenu.Add("ForceR",
                          new KeyBind("Force R On Target Selector", false, KeyBind.BindTypes.HoldActive, "T".ToCharArray()[0]));
            ComboMenu.Add("combo.ignite", new CheckBox("Use Ignite If Combo Killable"));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.Add("useQHarass", new CheckBox("Use Q"));
            HarassMenu.Add("useEHarass", new CheckBox("Use E"));
            HarassMenu.Add("useEHarassMana", new Slider("E Mana > %", 70));
            HarassMenu.Add("useQHarassMana", new Slider("Q Mana > %", 70));

            JungleLaneMenu = Menu.AddSubMenu("Lane Clear Settings", "FarmSettings");
            JungleLaneMenu.AddLabel("Lane Clear");
            JungleLaneMenu.Add("useQFarm", new CheckBox("Use Q"));
            JungleLaneMenu.Add("useEFarm", new CheckBox("Use E"));
            JungleLaneMenu.Add("LaneMana", new Slider("Mana > %", 70));
            JungleLaneMenu.AddSeparator();
            JungleLaneMenu.AddLabel("Jungle Clear");
            JungleLaneMenu.Add("useQJungle", new CheckBox("Use Q"));
            JungleLaneMenu.Add("useEJungle", new CheckBox("Use E"));
            JungleLaneMenu.Add("JungleMana", new Slider("E Mana > %", 70));

            MiscMenu = Menu.AddSubMenu("Misc Settings", "MiscSettings");
            MiscMenu.AddGroupLabel("Gap Close/Interrupt Settings");
            MiscMenu.Add("gapcloser", new CheckBox("Auto E for Gapcloser"));
            MiscMenu.Add("interrupter", new CheckBox("Auto R for Interrupter"));
            MiscMenu.AddLabel("Auto Skills On CC Enemy");
            MiscMenu.Add("CCQ", new CheckBox("Auto Q on Enemy CC"));
            MiscMenu.AddLabel("KillSteal Settings");
            MiscMenu.Add("UseQks", new CheckBox("Use Q ks"));
            MiscMenu.Add("UseRKs", new CheckBox("Use R Ks"));

            AutoPotHealMenu = Menu.AddSubMenu("Potion & Heal", "Potion & Heal");
            AutoPotHealMenu.AddGroupLabel("Auto pot usage");
            AutoPotHealMenu.Add("potion", new CheckBox("Use potions"));
            AutoPotHealMenu.Add("potionminHP", new Slider("Minimum Health % to use potion", 40));
            AutoPotHealMenu.Add("potionMinMP", new Slider("Minimum Mana % to use potion", 20));
            AutoPotHealMenu.AddGroupLabel("AUto Heal Usage");
            AutoPotHealMenu.Add("UseHeal", new CheckBox("Use Heal"));
            AutoPotHealMenu.Add("useHealHP", new Slider("Minimum Health % to use Heal", 20));

            ItemMenu = Menu.AddSubMenu("Item Settings", "ItemMenuettings");
            ItemMenu.Add("useBOTRK", new CheckBox("Use BOTRK"));
            ItemMenu.Add("useBotrkMyHP", new Slider("My Health < ", 60));
            ItemMenu.Add("useBotrkEnemyHP", new Slider("Enemy Health < ", 60));
            ItemMenu.Add("useYoumu", new CheckBox("Use Youmu"));
            ItemMenu.AddSeparator();
            ItemMenu.Add("useQSS", new CheckBox("Use QSS"));
            ItemMenu.Add("Qssmode", new ComboBox(" ", 0, "Auto", "Combo"));
            ItemMenu.Add("Stun", new CheckBox("Stun", true));
            ItemMenu.Add("Blind", new CheckBox("Blind", true));
            ItemMenu.Add("Charm", new CheckBox("Charm", true));
            ItemMenu.Add("Suppression", new CheckBox("Suppression", true));
            ItemMenu.Add("Polymorph", new CheckBox("Polymorph", true));
            ItemMenu.Add("Fear", new CheckBox("Fear", true));
            ItemMenu.Add("Taunt", new CheckBox("Taunt", true));
            ItemMenu.Add("Silence", new CheckBox("Silence", false));
            ItemMenu.Add("QssDelay", new Slider("Use QSS Delay(ms)", 250, 0, 1000));


            SkinMenu = Menu.AddSubMenu("Skin Changer", "SkinChanger");
            SkinMenu.Add("checkSkin", new CheckBox("Use Skin Changer", false));
            SkinMenu.Add("skin.Id", new Slider("Skin", 1, 0, 5));

            DrawMenu = Menu.AddSubMenu("Drawing Settings");
            DrawMenu.Add("drawRange", new CheckBox("Draw Q Range"));
            DrawMenu.Add("drawE", new CheckBox("Draw E Range"));
            DrawMenu.Add("drawR", new CheckBox("Draw R Range"));
            DrawMenu.AddLabel("Damage indicators");
            DrawMenu.Add("healthbar", new CheckBox("Healthbar overlay"));
            DrawMenu.Add("percent", new CheckBox("Damage percent info"));


            Game.OnTick                      += Game_OnTick;
            Game.OnUpdate                    += OnGameUpdate;
            Obj_AI_Base.OnBuffGain           += OnBuffGain;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapCloser;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Drawing.OnDraw                   += Drawing_OnDraw;
            DamageIndicator.Initialize(ComboDamage);
        }
コード例 #11
0
ファイル: Program.cs プロジェクト: LXMedia1/Elobuddy-1
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.Hero != Champion.Irelia)
            {
                return;
            }

            Q = new Spell.Targeted(SpellSlot.Q, 650);
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Targeted(SpellSlot.E, 350);
            R = new Spell.Skillshot(SpellSlot.R, 1200, SkillShotType.Linear, 0, 1600, 65);

            Ignite           = ObjectManager.Player.GetSpellSlotFromName("summonerdot");
            HealthPotion     = new Item(2003, 0);
            TotalBiscuit     = new Item(2010, 0);
            CorruptingPotion = new Item(2033, 0);
            RefillablePotion = new Item(2031, 0);
            HuntersPotion    = new Item(2032, 0);


            Chat.Print(
                "<font color=\"#ac1616\" >MeLoDag Presents </font><font color=\"#CCFFFF\" >IreLia </font><font color=\"#ac1616\" >Kappa Kippo</font>");

            Menu      = MainMenu.AddMenu("IreliaTheTroll", "IreliaTheTroll");
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo");
            ComboMenu.AddGroupLabel("Q settings");
            ComboMenu.Add("combo.q", new CheckBox("Use Q on enemy"));
            ComboMenu.Add("combo.q.minrange", new Slider("Minimum range to Q enemy", 450, 0, 650));
            ComboMenu.AddLabel(
                "                                                                                                                                                               .",
                4);
            ComboMenu.Add("combo.q.undertower", new Slider("Q enemy under tower only if their health % under", 40));
            ComboMenu.AddLabel(
                "                                                                                                                                                               .",
                4);
            ComboMenu.Add("combo.q.lastsecond",
                          new CheckBox("Use Q to target always before W buff ends (range doesnt matter)"));
            ComboMenu.AddLabel(
                "                                                                                                                                                               .",
                4);
            ComboMenu.Add("combo.q.gc", new CheckBox("Use Q to gapclose (killable minions)"));
            ComboMenu.AddSeparator(12);
            ComboMenu.AddGroupLabel("W settings");
            ComboMenu.Add("combo.w", new CheckBox("Use W"));
            ComboMenu.AddSeparator(12);
            ComboMenu.AddGroupLabel("E settings");
            ComboMenu.Add("combo.e", new CheckBox("Use E"));
            ComboMenu.AddLabel(
                "                                                                                                                                                               .",
                4);
            ComboMenu.Add("combo.e.logic", new CheckBox("advanced logic"));
            ComboMenu.AddSeparator(12);
            ComboMenu.AddGroupLabel("R settings");
            ComboMenu.Add("combo.r", new CheckBox("Use R"));
            ComboMenu.AddLabel(
                "                                                                                                                                                               .",
                4);
            ComboMenu.Add("combo.r.weave", new CheckBox("sheen synergy"));
            ComboMenu.AddLabel(
                "                                                                                                                                                               .",
                4);
            ComboMenu.Add("combo.r.selfactivated", new CheckBox("only if self activated", false));
            ComboMenu.AddSeparator(12);
            ComboMenu.AddGroupLabel("Extra");
            ComboMenu.Add("combo.ignite", new CheckBox("Use ignite if combo killable"));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");

            HarassMenu.AddGroupLabel("harras");
            HarassMenu.AddGroupLabel("Q settings");
            HarassMenu.Add("harass.q", new CheckBox("Use Q on enemy"));
            HarassMenu.Add("harass.q.minrange", new Slider(" Minimum range to Q enemy", 450, 0, 650));
            HarassMenu.AddLabel(".", 4);
            HarassMenu.Add("harass.q.undertower", new Slider("Q enemy under tower only if their health % under", 40));
            HarassMenu.AddLabel(".", 4);
            HarassMenu.Add("harass.q.lastsecond",
                           new CheckBox("Use Q to target always before W buff ends (range doesnt matter)"));
            HarassMenu.AddLabel(".", 4);
            HarassMenu.Add("harass.q.gc", new CheckBox("Use Q to gapclose (killable minions)"));
            HarassMenu.AddSeparator(12);
            HarassMenu.AddGroupLabel("W settings");
            HarassMenu.Add("harass.w", new CheckBox("Use W"));
            HarassMenu.AddSeparator(12);
            HarassMenu.AddGroupLabel("E settings");
            HarassMenu.Add("harass.e", new CheckBox("Use E"));
            HarassMenu.AddLabel(".", 4);
            HarassMenu.Add("harass.e.logic", new CheckBox("advanced logic"));
            HarassMenu.AddSeparator(12);
            HarassMenu.AddGroupLabel("R settings");
            HarassMenu.Add("harass.r", new CheckBox("Use R"));
            HarassMenu.AddLabel(".", 4);
            HarassMenu.Add("harass.r.weave", new CheckBox("sheen synergy"));
            HarassMenu.AddLabel(".", 4);
            HarassMenu.Add("harass.r.selfactivated", new CheckBox("only if self activated", false));

            JungleLaneMenu = Menu.AddSubMenu("Lane Clear Settings", "FarmSettings");
            JungleLaneMenu.Add("laneclear.q", new CheckBox("LaneClear Q"));
            JungleLaneMenu.AddSeparator(12);
            JungleLaneMenu.Add("laneclear.mana", new Slider("Mana manager (%)", 40, 1));

            MiscMenu = Menu.AddSubMenu("Misc Settings", "MiscSettings");
            MiscMenu.Add("misc.ks.q", new CheckBox("Killsteal Q"));
            MiscMenu.Add("misc.ks.e", new CheckBox("Killsteal E"));
            MiscMenu.Add("misc.ks.r", new CheckBox("Killsteal R"));
            MiscMenu.Add("misc.ag.e", new CheckBox("Anti-Gapclose E"));
            MiscMenu.Add("misc.interrupt", new CheckBox("Stun interruptable spells"));

            ItemMenu = Menu.AddSubMenu("Item Settings", "ItemMenuettings");
            ItemMenu.Add("useBOTRK", new CheckBox("Use BOTRK"));
            ItemMenu.Add("useBotrkMyHP", new Slider("My Health < ", 60, 1, 100));
            ItemMenu.Add("useBotrkEnemyHP", new Slider("Enemy Health < ", 60, 1, 100));
            ItemMenu.Add("useYoumu", new CheckBox("Use Youmu"));
            ItemMenu.AddSeparator();
            ItemMenu.Add("useQSS", new CheckBox("Use QSS"));
            ItemMenu.Add("Qssmode", new ComboBox(" ", 0, "Auto", "Combo"));
            ItemMenu.Add("Stun", new CheckBox("Stun", true));
            ItemMenu.Add("Blind", new CheckBox("Blind", true));
            ItemMenu.Add("Charm", new CheckBox("Charm", true));
            ItemMenu.Add("Suppression", new CheckBox("Suppression", true));
            ItemMenu.Add("Polymorph", new CheckBox("Polymorph", true));
            ItemMenu.Add("Fear", new CheckBox("Fear", true));
            ItemMenu.Add("Taunt", new CheckBox("Taunt", true));
            ItemMenu.Add("Silence", new CheckBox("Silence", false));
            ItemMenu.Add("QssDelay", new Slider("Use QSS Delay(ms)", 250, 0, 1000));
            ItemMenu.AddGroupLabel("Qqs Utly");
            ItemMenu.Add("ZedUlt", new CheckBox("Zed R", true));
            ItemMenu.Add("VladUlt", new CheckBox("Vladimir R", true));
            ItemMenu.Add("FizzUlt", new CheckBox("Fizz R", true));
            ItemMenu.Add("MordUlt", new CheckBox("Mordekaiser R", true));
            ItemMenu.Add("PoppyUlt", new CheckBox("Poppy R", true));
            ItemMenu.Add("QssUltDelay", new Slider("Use QSS Delay(ms) for Ult", 250, 0, 1000));

            AutoPotHealMenu = Menu.AddSubMenu("Potion", "Potion");
            AutoPotHealMenu.AddGroupLabel("Auto pot usage");
            AutoPotHealMenu.Add("potion", new CheckBox("Use potions"));
            AutoPotHealMenu.Add("potionminHP", new Slider("Minimum Health % to use potion", 70));
            AutoPotHealMenu.Add("potionMinMP", new Slider("Minimum Mana % to use potion", 20));

            /*   SkinMenu = Menu.AddSubMenu("Skin Changer", "SkinChanger");
             * SkinMenu.Add("checkSkin", new CheckBox("Use Skin Changer"));
             * SkinMenu.Add("skin.Id", new Slider("Skin", 1, 0, 5)); */


            DrawMenu = Menu.AddSubMenu("Drawing Settings");
            DrawMenu.Add("drawings.q", new CheckBox("Draw Q"));
            DrawMenu.AddLabel(".", 4);
            DrawMenu.Add("drawings.e", new CheckBox("Draw E"));
            DrawMenu.AddLabel(".", 4);
            DrawMenu.Add("drawings.r", new CheckBox("Draw R"));


            Bootstrap.Init(null);

            Game.OnUpdate += OnGameUpdate;
            // Game.OnTick += OnTick;
            Orbwalker.OnPreAttack            += OnPreAttack;
            Drawing.OnDraw                   += OnDraw;
            Obj_AI_Base.OnBuffGain           += OnBuffGain;
            Gapcloser.OnGapcloser            += OnGapcloser;
            Interrupter.OnInterruptableSpell += OnInterruptableSpell;
        }
コード例 #12
0
ファイル: Program.cs プロジェクト: munters/EloBuddy
        private static void OnLoaded(EventArgs args)
        {
            //Check Champ Name
            if (Player.Instance.ChampionName != "Caitlyn")
            {
                return;
            }

            //Spell Instance
            Q = new Spell.Skillshot(SpellSlot.Q, 1200, SkillShotType.Linear);
            W = new Spell.Skillshot(SpellSlot.W, 800, SkillShotType.Circular);
            E = new Spell.Skillshot(SpellSlot.E, 980, SkillShotType.Linear);
            R = new Spell.Targeted(SpellSlot.R, 3000);


            // Menu Settings
            CaitMenu = MainMenu.AddMenu("xRP Caitlyn", "xrpcait");
            CaitMenu.AddGroupLabel("xRP-Caitlyn");
            CaitMenu.AddSeparator();
            CaitMenu.AddGroupLabel("Made by: xRPdev");


            ComboMenu = CaitMenu.AddSubMenu("Combo", "sbtw");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("useqcombo", new CheckBox("Use Q"));
            ComboMenu.Add("usewcombo", new CheckBox("Use W"));
            ComboMenu.Add("useecombo", new CheckBox("Use E"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("usercombo", new CheckBox("Use R if Killable"));
            ComboMenu.Add("minR", new Slider("Minimum Range to Cast R [Max for Full Range]", 1500, 0, 3000));


            PredMenu = CaitMenu.AddSubMenu("Prediction", "pred");
            PredMenu.AddGroupLabel("Prediction");
            PredMenu.AddSeparator();
            PredMenu.Add("predq", new CheckBox("Q Hit Chance [CHECK FOR MEDIUM | NO CHECK FOR HIGH]"));
            PredMenu.AddSeparator();
            PredMenu.Add("prede", new CheckBox("E Hit Chance [ CHECK FOR MEDIUM | NO CHECK FOR HIGH]"));
            PredMenu.AddSeparator();
            PredMenu.Add("predw", new CheckBox("W Hit Chance [ CHECK FOR MEDIUM | NO CHECK FOR HIGH]"));

            HarassMenu = CaitMenu.AddSubMenu("Harass", "sbtwharass");
            HarassMenu.AddGroupLabel("Harasss Settings");
            HarassMenu.Add("useQharass", new CheckBox("Use Q Harass"));
            HarassMenu.Add("useEharasss", new CheckBox("Use E Harass"));
            HarassMenu.Add("useQcc", new CheckBox("Use Q Enemy CC"));

            HarassMenu.Add("waitAA", new CheckBox("wait for AA to finish", false));

            FarmMenu = CaitMenu.AddSubMenu("Farm", "sbtwfarm");
            FarmMenu.AddGroupLabel("Farm Settings");
            FarmMenu.Add("useQfarm", new CheckBox("Use Q to Farm"));

            ItemMenu = CaitMenu.AddSubMenu("Items", "sbtwitem");
            ItemMenu.AddGroupLabel("Itens Settings");
            ItemMenu.Add("useER", new CheckBox("Use Botrk"));
            ItemMenu.Add("ERhealth", new Slider("Min Health % enemy to Botrk", 20));
            ItemMenu.Add("UseYommus", new CheckBox("Use Yommus"));
            ItemMenu.AddSeparator();

            PotionMenu = CaitMenu.AddSubMenu("Potion", "sbtwpotion");
            PotionMenu.AddGroupLabel("Potions Settings");
            PotionMenu.Add("hpPotion", new CheckBox("Hp Potion Use"));
            PotionMenu.Add("hp%", new Slider("Health Percent"));

            MiscMenu = CaitMenu.AddSubMenu("Misc", "sbtwmisc");
            MiscMenu.AddGroupLabel("Misc Settings");
            MiscMenu.Add("ksR", new CheckBox("R Killsteal"));
            MiscMenu.Add("intW", new CheckBox("Interrupt with W"));
            MiscMenu.Add("Egap", new CheckBox("E on Gapcloser"));

            DrawMenu = CaitMenu.AddSubMenu("Draw", "sbtwdraw");
            DrawMenu.AddGroupLabel("Draw Settings");
            DrawMenu.Add("drawAA", new CheckBox("Draw Auto Attack Range"));
            DrawMenu.Add("drawQ", new CheckBox("Draw Q Range"));
            DrawMenu.Add("drawE", new CheckBox("Draw E Range"));
            DrawMenu.Add("drawW", new CheckBox("Draw W Range"));
            DrawMenu.Add("drawR", new CheckBox("Draw R Range"));
            DrawMenu.AddSeparator();
            DrawMenu.Add("disable", new CheckBox("Disable all Drawing"));
            DrawMenu.AddSeparator();
            DrawMenu.Add("drawc", new CheckBox("Draw Combo Damage"));



            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Game.OnTick           += Tick;
            Drawing.OnDraw        += OnDraw;
            Gapcloser.OnGapcloser += Gapcloser_OnGapCloser;
            Drawing.OnDraw        += OnDamageDraw;
        }
コード例 #13
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (User.ChampionName != "Shyvana")
            {
                return;
            }

            Q = new Spell.Active(spellSlot: SpellSlot.Q, spellRange: 225);

            W = new Spell.Active(spellSlot: SpellSlot.W, spellRange: 325);

            E = new Spell.Skillshot(spellSlot: SpellSlot.E, spellRange: 925, skillShotType: SkillShotType.Linear, spellSpeed: 1200, spellWidth: 60);

            R = new Spell.Skillshot(spellSlot: SpellSlot.R, spellRange: 850, skillShotType: SkillShotType.Linear, spellSpeed: 700, spellWidth: 160);



            bilgewater = new Item(3144, 550);
            botrk      = new Item(3153, 550);
            tiamat     = new Item(3077, 400);
            hydra      = new Item(3074, 400);
            Youmuu     = new Item(3142, 800);
            titanic    = new Item(3748, 0);



            HealthPotion  = new Item(2003, 0);
            Biscuit       = new Item(2010, 0);
            CorruptPotion = new Item(2033, 0);
            RefillPotion  = new Item(2031, 0);
            HuntersPotion = new Item(2032, 0);



            SpellList.Add(Q);
            SpellList.Add(W);
            SpellList.Add(E);
            SpellList.Add(R);



            Chat.Print("ShyvanaZero loaded successfully");



            ShyvanaMenu = MainMenu.AddMenu("ShyvanaZero", "ShyvanaZero");

            ComboMenu = ShyvanaMenu.AddSubMenu("Combo");
            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.AddGroupLabel("Ultimate Settings");
            ComboMenu.Add("R", new CheckBox("Use R"));
            ComboMenu.Add("UR", new Slider("Use Ult if it hits atleast X Enemies", 2, 1, 5));

            LaneClearMenu = ShyvanaMenu.AddSubMenu("LaneClear");
            LaneClearMenu.AddGroupLabel("LaneClear Settings");
            LaneClearMenu.AddGroupLabel("Q Settings");
            LaneClearMenu.Add("QL", new CheckBox("Use Q"));
            LaneClearMenu.AddGroupLabel("W Settings");
            LaneClearMenu.Add("WL", new CheckBox("Use W"));
            LaneClearMenu.Add("WSL", new Slider("Use W if it hits atleast X Minions", 3, 1, 6));
            LaneClearMenu.AddGroupLabel("E Settings");
            LaneClearMenu.Add("EL", new CheckBox("Use E"));
            LaneClearMenu.Add("ESL", new Slider("Use E if it hits atleast X Minions", 3, 1, 6));


            JungleClearMenu = ShyvanaMenu.AddSubMenu("JungleClear");
            JungleClearMenu.AddGroupLabel("Jungle Clear Settings");
            JungleClearMenu.Add("QJ", new CheckBox("Use Q"));
            JungleClearMenu.Add("WJ", new CheckBox("Use W"));
            JungleClearMenu.Add("EJ", new CheckBox("Use E"));


            ItemMenu = ShyvanaMenu.AddSubMenu("Items");
            ItemMenu.AddGroupLabel("Item Settings");
            ItemMenu.AddGroupLabel("Combo:");
            ItemMenu.Add("bilge", new CheckBox("Use Bilgewater Cutlass in Combo"));
            ItemMenu.Add("youmuu", new CheckBox("Use Youmuu's in Combo"));
            ItemMenu.Add("tia", new CheckBox("Use Tiamat in Combo"));
            ItemMenu.Add("hydra", new CheckBox("Use Hydra in Combo"));
            ItemMenu.Add("titanic", new CheckBox("Use Titanic Hydra in Combo"));
            ItemMenu.Add("botrk", new CheckBox("Use BotrK in Combo"));
            ItemMenu.Add("bork", new Slider("%HP to use BotrK <=", 75, 0, 100));
            ItemMenu.AddSeparator();
            ItemMenu.AddGroupLabel("LaneClear/JungleClear:");
            ItemMenu.Add("tialc", new CheckBox("Use Tiamat in Laneclear/JungleClear"));
            ItemMenu.Add("hydralc", new CheckBox("Use Hydra in Laneclear/JungleClear"));
            ItemMenu.Add("titaniclc", new CheckBox("Use Titanic Hydra in Laneclear/Jungleclear"));
            ItemMenu.AddSeparator(50);
            ItemMenu.Add("potion", new CheckBox("Auto Use Potion"));
            ItemMenu.Add("potionhp", new Slider("Use Auto Potion when %HP <=", 50, 0, 100));



            DrawingsMenu = ShyvanaMenu.AddSubMenu("Drawings");
            DrawingsMenu.AddGroupLabel("Drawing Settings");
            DrawingsMenu.Add("DrawW", new CheckBox("Draw W"));
            DrawingsMenu.Add("DrawE", new CheckBox("Draw E"));
            DrawingsMenu.Add("DrawR", new CheckBox("Draw R"));



            Drawing.OnDraw += Drawing_OnDraw;

            Orbwalker.OnPostAttack += Orbwalker_OnPostAttack;

            Game.OnTick += Game_OnTick;
        }
コード例 #14
0
ファイル: Trynda0.cs プロジェクト: tekintr/Elobuddy
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (User.ChampionName != "Tryndamere")
            {
                return;
            }

            Q = new Spell.Active(spellSlot: SpellSlot.Q);

            W = new Spell.Targeted(spellSlot: SpellSlot.W, spellRange: 850);

            E = new Spell.Skillshot(spellSlot: SpellSlot.E, spellRange: 660, skillShotType: SkillShotType.Linear, spellSpeed: 700, spellWidth: 225);

            R = new Spell.Active(spellSlot: SpellSlot.R);



            bilgewater = new Item(3144, 550);
            botrk      = new Item(3153, 550);
            tiamat     = new Item(3077, 400);
            hydra      = new Item(3074, 400);
            Youmuu     = new Item(3142, 800);



            HealthPotion  = new Item(2003, 0);
            Biscuit       = new Item(2010, 0);
            CorruptPotion = new Item(2033, 0);
            RefillPotion  = new Item(2031, 0);
            HuntersPotion = new Item(2032, 0);



            SpellList.Add(Q);
            SpellList.Add(W);
            SpellList.Add(E);
            SpellList.Add(R);



            Chat.Print("TryndaZero Basari ile yuklendi.Ceviri TekinTR");



            CurrentSkinID = User.SkinId;



            TryndaMenu = MainMenu.AddMenu("TryndaZero", "TryndaZero");

            ComboMenu = TryndaMenu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("W", new CheckBox("Kullan W"));
            ComboMenu.Add("E", new CheckBox("Kullan E"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("UseE", new CheckBox("Kullan E oto atak menzilinden cikinca"));
            ComboMenu.AddSeparator(50);
            ComboMenu.AddGroupLabel("Auto Q Settings");
            ComboMenu.Add("Q", new CheckBox("Otomatik Q"));
            ComboMenu.Add("QA", new CheckBox("Sadece 100 ofkeden Q kullan"));
            ComboMenu.Add("UseQ", new Slider("% Q kullanmak icin HP", 70, 1, 100));
            ComboMenu.AddSeparator(50);
            ComboMenu.AddGroupLabel("Auto R Settings(Use Key for quick changing)");
            ComboMenu.Add("RE", new CheckBox("Kullan R"));
            ComboMenu.Add("R", new KeyBind("Oto kullan R(Dusman 1200 Uzaklikdaysa)", true, KeyBind.BindTypes.PressToggle, 'L'));
            ComboMenu.Add("AR", new CheckBox("Surekli oto kullan R", false));
            ComboMenu.Add("UseR", new Slider("% R icin gereken HP", 20, 1, 100));
            ComboMenu.AddSeparator();


            LaneClearMenu = TryndaMenu.AddSubMenu("LaneClear");
            LaneClearMenu.AddGroupLabel("LaneClear Settings");
            LaneClearMenu.Add("E", new CheckBox("Kullan E"));
            LaneClearMenu.AddSeparator();
            LaneClearMenu.Add("Elc", new Slider("Kac Minyona E >=", 3, 1, 10));


            JungleClearMenu = TryndaMenu.AddSubMenu("JungleClear");
            JungleClearMenu.AddGroupLabel("Jungle Clear Settings");
            JungleClearMenu.Add("EJ", new CheckBox("Kullan E"));

            FleeMenu = TryndaMenu.AddSubMenu("Flee");
            FleeMenu.AddGroupLabel("Flee Settings");
            FleeMenu.Add("EF", new CheckBox("Kullan E"));

            ItemMenu = TryndaMenu.AddSubMenu("Items");
            ItemMenu.AddGroupLabel("Item Settings");
            ItemMenu.AddGroupLabel("Combo:");
            ItemMenu.Add("bilge", new CheckBox("Komboda Bilgewater Palasi kullan"));
            ItemMenu.Add("youmuu", new CheckBox("Komboda Youmuu kullan"));
            ItemMenu.Add("tia", new CheckBox("Komboda Tiamat kullan"));
            ItemMenu.Add("hydra", new CheckBox("Komboda Hydra kullan"));
            ItemMenu.Add("botrk", new CheckBox("Komboda Mahvolmus kullan"));
            ItemMenu.Add("bork", new Slider("% HP azsa mahvolmus kullan <=", 75, 0, 100));
            ItemMenu.AddSeparator();
            ItemMenu.AddGroupLabel("LaneClear/JungleClear:");
            ItemMenu.Add("tialc", new CheckBox("Kullan Tiamat Koridor/Orman"));
            ItemMenu.Add("hydralc", new CheckBox("Kullan Hydra Koridor/Orman"));
            ItemMenu.AddSeparator(50);
            ItemMenu.Add("potion", new CheckBox("Oto iksir kullan"));
            ItemMenu.Add("potionhp", new Slider("Canim az ise oto iksir %HP <=", 50, 0, 100));



            DrawingsMenu = TryndaMenu.AddSubMenu("Drawings");
            DrawingsMenu.AddGroupLabel("Drawing Settings");
            DrawingsMenu.Add("DrawW", new CheckBox("Goster W"));
            DrawingsMenu.Add("DrawE", new CheckBox("Goster E"));



            SkinChangerMenu = TryndaMenu.AddSubMenu("Skin Changer");
            SkinChangerMenu.Add("EnableSkin", new CheckBox("Skin Secici Aktif", false));
            SkinChangerMenu.Add("SkinID", new Slider("Skin ID", 1, 0, 8));



            Orbwalker.OnPostAttack += Orbwalker_OnPostAttack;


            Drawing.OnDraw += Drawing_OnDraw;


            Game.OnTick += Game_OnTick;
        }
コード例 #15
0
ファイル: Program.cs プロジェクト: chienhao10/Elobuddy-11
        public static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.Hero != Champion.Vayne)
            {
                return;
            }

            _q  = new Spell.Skillshot(SpellSlot.Q, int.MaxValue, SkillShotType.Linear);
            _e  = new Spell.Targeted(SpellSlot.E, 590);
            _e2 = new Spell.Skillshot(SpellSlot.E, 590, SkillShotType.Linear, 250, 1250);
            _r  = new Spell.Active(SpellSlot.R);


            var slot = _Player.GetSpellSlotFromName("summonerheal");

            if (slot != SpellSlot.Unknown)
            {
                Heal = new Spell.Active(slot, 600);
            }

            HealthPotion     = new Item(2003, 0);
            TotalBiscuit     = new Item(2010, 0);
            CorruptingPotion = new Item(2033, 0);
            RefillablePotion = new Item(2031, 0);
            HuntersPotion    = new Item(2032, 0);

            Chat.Print(
                "<font color=\"#ef0101\" >MeLoDag Presents </font><font color=\"#ffffff\" > VayneTHeTroll </font><font color=\"#ef0101\" >Kappa Kippo</font>");


            Menu      = MainMenu.AddMenu("VayneTheTroll", "VayneTheTroll");
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Use Q Settings");
            ComboMenu.Add("useQcombo", new ComboBox(" ", 0, "Side", "Cursor", "SmartQ", "SafeQ", "AggroQ"));
            ComboMenu.AddGroupLabel("Use E Settings");
            ComboMenu.AddLabel("Use E on");
            foreach (var enemies in EntityManager.Heroes.Enemies.Where(i => !i.IsMe))
            {
                ComboMenu.Add("useEcombo" + enemies.ChampionName, new CheckBox("" + enemies.ChampionName));
            }
            ComboMenu.Add("pushDistance", new Slider("Push Distance", 410, 350, 420));
            ComboMenu.AddGroupLabel("Use R Settings");
            ComboMenu.Add("useRCombo", new CheckBox("Use R"));
            ComboMenu.Add("Rcount", new Slider("R when enemies >= ", 2, 1, 5));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddLabel("SoonTM");
            //  HarassMenu.Add("useQHarass", new CheckBox("Use Q"));
            //   HarassMenu.Add("useEHarass", new CheckBox("Use E"));
            //   HarassMenu.Add("useEHarassMana", new Slider("E Mana > %", 70, 0, 100));
            //  HarassMenu.Add("useQHarassMana", new Slider("Q Mana > %", 70, 0, 100));

            JungleLaneMenu = Menu.AddSubMenu("Lane Clear Settings", "FarmSettings");
            JungleLaneMenu.AddLabel("Lane Clear");
            JungleLaneMenu.Add("useQFarm", new CheckBox("Use Q[LastHit]"));
            JungleLaneMenu.Add("useQMana", new Slider("Q Mana > %", 75, 0, 100));
            JungleLaneMenu.AddLabel("Jungle Clear");
            JungleLaneMenu.Add("useQJungle", new CheckBox("Use Q"));
            JungleLaneMenu.Add("useQJunglemana", new Slider("Mana > %", 40, 0, 100));

            MiscMenu = Menu.AddSubMenu("Misc Settings", "MiscSettings");
            MiscMenu.AddGroupLabel("Gapcloser Settings");
            MiscMenu.Add("gapcloser", new CheckBox("Auto Q for Gapcloser"));
            MiscMenu.AddGroupLabel("Interrupter Settings & Dangerlvl");
            MiscMenu.Add("interrupter", new CheckBox("Auto E for Interrupter"));
            MiscMenu.Add("useQcombo", new ComboBox(" ", 2, "High", "Medium", "Low"));
            MiscMenu.AddGroupLabel("Focus W Settings");
            MiscMenu.Add("FocusW", new CheckBox("Focus target with 2 W"));


            //     MiscMenu.Add("UseQks", new CheckBox("Use Q ks"));

            AutoPotHealMenu = Menu.AddSubMenu("Potion & Heal", "Potion & Heal");
            AutoPotHealMenu.AddGroupLabel("Auto pot usage");
            AutoPotHealMenu.Add("potion", new CheckBox("Use potions"));
            AutoPotHealMenu.Add("potionminHP", new Slider("Minimum Health % to use potion", 40));
            AutoPotHealMenu.Add("potionMinMP", new Slider("Minimum Mana % to use potion", 20));
            AutoPotHealMenu.AddGroupLabel("AUto Heal Usage");
            AutoPotHealMenu.Add("UseHeal", new CheckBox("Use Heal"));
            AutoPotHealMenu.Add("useHealHP", new Slider("Minimum Health % to use Heal", 20));

            ItemMenu = Menu.AddSubMenu("Item Settings", "ItemMenuettings");
            ItemMenu.Add("useBOTRK", new CheckBox("Use BOTRK"));
            ItemMenu.Add("useBotrkMyHP", new Slider("My Health < ", 60, 1, 100));
            ItemMenu.Add("useBotrkEnemyHP", new Slider("Enemy Health < ", 60, 1, 100));
            ItemMenu.Add("useYoumu", new CheckBox("Use Youmu"));
            ItemMenu.AddSeparator();
            ItemMenu.Add("useQSS", new CheckBox("Use QSS"));
            ItemMenu.Add("Qssmode", new ComboBox(" ", 0, "Auto", "Combo"));
            ItemMenu.Add("Stun", new CheckBox("Stun", true));
            ItemMenu.Add("Blind", new CheckBox("Blind", true));
            ItemMenu.Add("Charm", new CheckBox("Charm", true));
            ItemMenu.Add("Suppression", new CheckBox("Suppression", true));
            ItemMenu.Add("Polymorph", new CheckBox("Polymorph", true));
            ItemMenu.Add("Fear", new CheckBox("Fear", true));
            ItemMenu.Add("Taunt", new CheckBox("Taunt", true));
            ItemMenu.Add("Silence", new CheckBox("Silence", false));
            ItemMenu.Add("QssDelay", new Slider("Use QSS Delay(ms)", 250, 0, 1000));
            ItemMenu.AddGroupLabel("Qqs Utly");
            ItemMenu.Add("ZedUlt", new CheckBox("Zed R", true));
            ItemMenu.Add("VladUlt", new CheckBox("Vladimir R", true));
            ItemMenu.Add("FizzUlt", new CheckBox("Fizz R", true));
            ItemMenu.Add("MordUlt", new CheckBox("Mordekaiser R", true));
            ItemMenu.Add("PoppyUlt", new CheckBox("Poppy R", true));
            ItemMenu.Add("QssUltDelay", new Slider("Use QSS Delay(ms) for Ult", 250, 0, 1000));

            SkinMenu = Menu.AddSubMenu("Skin Changer", "SkinChanger");
            SkinMenu.Add("checkSkin", new CheckBox("Use Skin Changer", false));
            StringList(SkinMenu, "skin.Id", "Skin",
                       new[]
            {
                "Default", "Vindicator", "Aristocrat ", "Dragonslayer ", "Heartseeker", "SKT T1", "Arclight",
                "DragonSlayer Chaos", "DragonSlayer Curse", "DragonSlayer Element"
            },
                       0);

            DrawMenu = Menu.AddSubMenu("Drawing Settings");
            DrawMenu.Add("drawE", new CheckBox("Draw E Range"));


            Game.OnTick                      += Game_OnTick;
            Game.OnUpdate                    += OnGameUpdate;
            Orbwalker.OnPostAttack           += OnAfterAttack;
            Obj_AI_Base.OnBuffGain           += OnBuffGain;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapCloser;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Drawing.OnDraw                   += Drawing_OnDraw;
        }