예제 #1
0
파일: Program.cs 프로젝트: AkumaCORE/ezreal
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Olaf"))
            {
                return;
            }
            Chat.Print("Olaf7 Loaded!", Color.Red);
            Chat.Print("Doctor7", Color.GreenYellow);
            Bootstrap.Init(null);
            Q = new Spell.Skillshot(SpellSlot.Q, 1000, SkillShotType.Linear, 250, 1550, 75);
            Q.AllowedCollisionCount = int.MaxValue;
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Targeted(SpellSlot.E, 325);
            R = new Spell.Active(SpellSlot.R);
            if (_Player.GetSpellSlotFromName("summonerdot") != SpellSlot.Unknown)
            {
                Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            }
            Botrk   = new Item(ItemId.Blade_of_the_Ruined_King);
            Tiamat  = new Item(ItemId.Tiamat_Melee_Only, 400);
            Hydra   = new Item(ItemId.Ravenous_Hydra_Melee_Only, 400);
            Titanic = new Item(ItemId.Titanic_Hydra, Player.Instance.GetAutoAttackRange());
            Menu    = MainMenu.AddMenu("Olaf7", "Olaf");
            Menu.AddGroupLabel("Olaf7");
            Menu.AddLabel(" Leave Feedback For Any Bugs ");

            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Use [Q]"));
            ComboMenu.Add("ComboW", new CheckBox("Use [W]"));
            ComboMenu.Add("ComboE", new CheckBox("Use [E]"));
            ComboMenu.Add("item", new CheckBox("Use [Item]"));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HarassQ", new CheckBox("Use [Q]"));
            HarassMenu.Add("HarassW", new CheckBox("Use [W]", false));
            HarassMenu.Add("ManaQ", new Slider("Min Mana For Harass", 40));

            LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear");
            LaneClearMenu.AddGroupLabel("LaneClear Settings");
            LaneClearMenu.Add("ClearQ", new CheckBox("Use [Q]"));
            LaneClearMenu.Add("minq", new Slider("Min Minions Use [Q]", 3, 1, 6));
            LaneClearMenu.Add("ClearW", new CheckBox("Use [W]"));
            LaneClearMenu.Add("Wlc", new Slider("Health For [W] LaneClear", 80));
            LaneClearMenu.Add("ClearE", new CheckBox("Use [E]"));
            LaneClearMenu.Add("ManaLC", new Slider("Min Mana For LaneClear", 60));

            LastHitMenu = Menu.AddSubMenu("LastHit Settings", "LastHit");
            LastHitMenu.AddGroupLabel("LastHit Settings");
            LastHitMenu.Add("LastE", new CheckBox("Use [E] LastHit"));
            LastHitMenu.Add("LastAA", new CheckBox("Only [E] If Out AA Range", false));
            LastHitMenu.Add("LastQ", new CheckBox("Use [Q] LastHit", false));
            LastHitMenu.Add("LhMana", new Slider("Min Mana For LastHit", 60));


            JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear");
            JungleClearMenu.AddGroupLabel("JungleClear Settings");
            JungleClearMenu.Add("QJungle", new CheckBox("Use [Q]"));
            JungleClearMenu.Add("WJungle", new CheckBox("Use [W]"));
            JungleClearMenu.Add("EJungle", new CheckBox("Use [E]"));
            JungleClearMenu.Add("MnJungle", new Slider("Min Mana JungleClear", 30));

            Misc = Menu.AddSubMenu("Ultimate Settings", "Misc");
            Misc.AddGroupLabel("Ultimate Setting");
            Misc.Add("Ulti", new CheckBox("Use Ultimate"));
            Misc.AddGroupLabel("Use [R] On");
            Misc.Add("stun", new CheckBox("Stuns"));
            Misc.Add("knockup", new CheckBox("Knock Ups"));
            Misc.Add("tunt", new CheckBox("Taunt"));
            Misc.Add("charm", new CheckBox("Charm", false));
            Misc.Add("snare", new CheckBox("Snare"));
            Misc.Add("sleep", new CheckBox("Sleep", false));
            Misc.Add("blind", new CheckBox("Blinds", false));
            Misc.Add("disarm", new CheckBox("Disarm", false));
            Misc.Add("fear", new CheckBox("Fear", false));
            Misc.Add("silence", new CheckBox("Silence", false));
            Misc.Add("frenzy", new CheckBox("Frenzy", false));
            Misc.Add("supperss", new CheckBox("Supperss", false));
            Misc.Add("slow", new CheckBox("Slows", false));
            Misc.Add("poison", new CheckBox("Poisons", false));
            Misc.Add("knockback", new CheckBox("Knock Backs", false));
            Misc.Add("nearsight", new CheckBox("NearSight", false));
            Misc.Add("poly", new CheckBox("Polymorph", false));

            KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillSteal");
            KillStealMenu.AddGroupLabel("KillSteal Settings");
            KillStealMenu.Add("KsQ", new CheckBox("Use [Q] KillSteal"));
            KillStealMenu.Add("KsE", new CheckBox("Use [E] KillSteal"));
            KillStealMenu.Add("KsIgnite", new CheckBox("Use [Ignite] KillSteal"));

            Skin = Menu.AddSubMenu("Skin Changer", "SkinChanger");
            Skin.AddGroupLabel("Skin Settings");
            Skin.Add("checkSkin", new CheckBox("Use Skin Changer"));
            Skin.Add("skin.Id", new ComboBox("Skin Mode", 3, "Default", "1", "2", "3", "4", "5"));

            Drawings = Menu.AddSubMenu("Misc Settings", "Draw");
            Drawings.AddGroupLabel("Misc Setting");
            Drawings.Add("QStun", new CheckBox("Use [Q] If Enemy Has CC", false));
            Drawings.Add("AntiGap", new CheckBox("Use [Q] Anti Gapcloser"));
            Drawings.AddGroupLabel("Drawing Settings");
            Drawings.Add("DrawQ", new CheckBox("Q Range"));
            Drawings.Add("DrawE", new CheckBox("E Range", false));

            Drawing.OnDraw        += Drawing_OnDraw;
            Game.OnTick           += Game_OnTick;
            Gapcloser.OnGapcloser += Gapcloser_OnGapcloser;
        }
예제 #2
0
파일: Olaf.cs 프로젝트: MBalack/Balles
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Olaf"))
            {
                return;
            }
            Chat.Print("Doctor's Olaf Loaded!", Color.Orange);
            Q = new Spell.Skillshot(SpellSlot.Q, 1000, SkillShotType.Linear, 250, 1550, 75);
            Q.AllowedCollisionCount = int.MaxValue;
            W       = new Spell.Active(SpellSlot.W);
            E       = new Spell.Targeted(SpellSlot.E, 325);
            R       = new Spell.Active(SpellSlot.R);
            Ignite  = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            Botrk   = new Item(ItemId.Blade_of_the_Ruined_King);
            Bil     = new Item(3144, 475f);
            Tiamat  = new Item(ItemId.Tiamat_Melee_Only, 400);
            Hydra   = new Item(ItemId.Ravenous_Hydra_Melee_Only, 400);
            Titanic = new Item(ItemId.Titanic_Hydra, Player.Instance.GetAutoAttackRange());
            Menu    = MainMenu.AddMenu("Olaf", "Olaf");
            Menu.AddGroupLabel("Doctor7");
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Use [Q]"));
            ComboMenu.Add("ComboW", new CheckBox("Use [W]"));
            ComboMenu.Add("ComboE", new CheckBox("Use [E]"));
            ComboMenu.AddGroupLabel("Items Settings");
            ComboMenu.Add("item", new CheckBox("Use [BOTRK]"));
            ComboMenu.Add("hyd", new CheckBox("Use [Hydra] Reset AA"));
            ComboMenu.Add("ihp", new Slider("My HP Use BOTRK <=", 50));
            ComboMenu.Add("ihpp", new Slider("Enemy HP Use BOTRK <=", 50));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HarassQ", new CheckBox("Use [Q]"));
            HarassMenu.Add("HarassW", new CheckBox("Use [W]", false));
            HarassMenu.Add("HarassE", new CheckBox("Use [E]"));
            HarassMenu.Add("ManaQ", new Slider("Min Mana For Harass", 40));

            LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear");
            LaneClearMenu.AddGroupLabel("LaneClear Settings");
            LaneClearMenu.Add("ClearQ", new CheckBox("Use [Q]"));
            LaneClearMenu.Add("CantLC", new CheckBox("Only [Q] If Orbwalker Cant Killable Minion", false));
            LaneClearMenu.Add("minQ", new Slider("Min Hit Minions Use [Q]", 3, 1, 6));
            LaneClearMenu.Add("ClearE", new CheckBox("Use [E]"));
            LaneClearMenu.Add("ClearW", new CheckBox("Use [W]", false));
            LaneClearMenu.Add("ManaLC", new Slider("Min Mana For LaneClear", 60));

            LastHitMenu = Menu.AddSubMenu("LastHit Settings", "LastHit");
            LastHitMenu.AddGroupLabel("LastHit Settings");
            LastHitMenu.Add("LastQ", new CheckBox("Use [Q] LastHit", false));
            LastHitMenu.Add("LhAA", new CheckBox("Only [Q] If Orbwalker Cant Killable Minion"));
            LastHitMenu.Add("LastE", new CheckBox("Use [E] LastHit"));
            LastHitMenu.Add("LhMana", new Slider("Min Mana For LastHit", 60));

            JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear");
            JungleClearMenu.AddGroupLabel("JungleClear Settings");
            JungleClearMenu.Add("QJungle", new CheckBox("Use [Q]"));
            JungleClearMenu.Add("WJungle", new CheckBox("Use [W]"));
            JungleClearMenu.Add("EJungle", new CheckBox("Use [E]"));
            JungleClearMenu.Add("MnJungle", new Slider("Min Mana JungleClear", 30));

            Misc = Menu.AddSubMenu("Ultimate Settings", "Misc");
            Misc.Add("Ulti", new CheckBox("Use Ultimate"));
            Misc.AddGroupLabel("Use [R] On");
            Misc.Add("stun", new CheckBox("Stuns"));
            Misc.Add("rot", new CheckBox("Root"));
            Misc.Add("knockup", new CheckBox("Knock Ups"));
            Misc.Add("tunt", new CheckBox("Taunt"));
            Misc.Add("charm", new CheckBox("Charm", false));
            Misc.Add("snare", new CheckBox("Snare"));
            Misc.Add("sleep", new CheckBox("Sleep", false));
            Misc.Add("blind", new CheckBox("Blinds", false));
            Misc.Add("disarm", new CheckBox("Disarm", false));
            Misc.Add("fear", new CheckBox("Fear", false));
            Misc.Add("silence", new CheckBox("Silence", false));
            Misc.Add("frenzy", new CheckBox("Frenzy", false));
            Misc.Add("supperss", new CheckBox("Supperss", false));
            Misc.Add("slow", new CheckBox("Slows", false));
            Misc.Add("poison", new CheckBox("Poisons", false));
            Misc.Add("knockback", new CheckBox("Knock Backs", false));
            Misc.Add("nearsight", new CheckBox("NearSight", false));
            Misc.Add("poly", new CheckBox("Polymorph", false));
            Misc.AddGroupLabel("Ultimate Setting");
            Misc.Add("healulti", new Slider("Min Health Use [R]", 60));
            Misc.Add("Rulti", new Slider("Min Enemies Around Use [R]", 1, 1, 5));
            Misc.AddGroupLabel("Ultimate Delay");
            Misc.Add("delay", new Slider("Humanizer Delay", 0, 0, 1000));

            KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillSteal");
            KillStealMenu.AddGroupLabel("KillSteal Settings");
            KillStealMenu.Add("KsQ", new CheckBox("Use [Q] KillSteal"));
            KillStealMenu.Add("KsE", new CheckBox("Use [E] KillSteal"));
            KillStealMenu.Add("KsIgnite", new CheckBox("Use [Ignite] KillSteal"));

            Skin = Menu.AddSubMenu("Skin Changer", "SkinChanger");
            Skin.AddGroupLabel("Skin Settings");
            Skin.Add("checkSkin", new CheckBox("Use Skin Changer"));
            Skin.Add("skin.Id", new ComboBox("Skin Mode", 3, "Default", "1", "2", "3", "4", "5", "6"));

            Drawings = Menu.AddSubMenu("Misc Settings", "Draw");
            Drawings.AddGroupLabel("Misc Setting");
            Drawings.Add("QStun", new CheckBox("Use [Q] If Enemy Has CC", false));
            Drawings.Add("AntiGap", new CheckBox("Use [Q] Anti Gapcloser"));
            Drawings.AddGroupLabel("Drawing Settings");
            Drawings.Add("DrawQ", new CheckBox("Q Range"));
            Drawings.Add("DrawE", new CheckBox("E Range", false));
            Drawings.Add("Axe", new CheckBox("Axe Draw"));

            Drawing.OnDraw               += Drawing_OnDraw;
            Game.OnUpdate                += Game_OnUpdate;
            Orbwalker.OnPostAttack       += ResetAttack;
            Gapcloser.OnGapcloser        += Gapcloser_OnGapcloser;
            GameObject.OnCreate          += GameObject_OnCreate;
            GameObject.OnDelete          += GameObject_OnDelete;
            Orbwalker.OnUnkillableMinion += Orbwalker_CantLasthit;
        }
예제 #3
0
파일: Olaf.cs 프로젝트: tekintr/Elobuddy
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Olaf"))
            {
                return;
            }
            Chat.Print("Doctor's Olaf Yuklendi.Ceviri TekinTR!", Color.Orange);
            Q = new Spell.Skillshot(SpellSlot.Q, 1000, SkillShotType.Linear, 250, 1550, 75);
            Q.AllowedCollisionCount = int.MaxValue;
            W       = new Spell.Active(SpellSlot.W);
            E       = new Spell.Targeted(SpellSlot.E, 325);
            R       = new Spell.Active(SpellSlot.R);
            Ignite  = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            Botrk   = new Item(ItemId.Blade_of_the_Ruined_King);
            Bil     = new Item(3144, 475f);
            Tiamat  = new Item(ItemId.Tiamat_Melee_Only, 400);
            Hydra   = new Item(ItemId.Ravenous_Hydra_Melee_Only, 400);
            Titanic = new Item(ItemId.Titanic_Hydra, Player.Instance.GetAutoAttackRange());
            Menu    = MainMenu.AddMenu("Olaf", "Olaf");
            Menu.AddGroupLabel("Doctor7");
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Kullan [Q]"));
            ComboMenu.Add("ComboW", new CheckBox("Kullan [W]"));
            ComboMenu.Add("ComboE", new CheckBox("Kullan [E]"));
            ComboMenu.AddGroupLabel("Items Settings");
            ComboMenu.Add("item", new CheckBox("Kullan [Mahvolmus]"));
            ComboMenu.Add("hyd", new CheckBox("Kullan [Hydra] Reset AA"));
            ComboMenu.Add("ihp", new Slider("Benim HP Kullan Mahvolmus <=", 50));
            ComboMenu.Add("ihpp", new Slider("Dusman HP Kullan Mahvolmus <=", 50));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HarassQ", new CheckBox("Kullan [Q]"));
            HarassMenu.Add("HarassW", new CheckBox("Kullan [W]", false));
            HarassMenu.Add("HarassE", new CheckBox("Kullan [E]"));
            HarassMenu.Add("ManaQ", new Slider("Durtmek icin enaz mana", 40));

            LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear");
            LaneClearMenu.AddGroupLabel("LaneClear Settings");
            LaneClearMenu.Add("ClearQ", new CheckBox("Kullan [Q]"));
            LaneClearMenu.Add("CantLC", new CheckBox("Sadece [Q] Oldurulemiyecek minyonlara", false));
            LaneClearMenu.Add("minQ", new Slider("Enaz minyona carpicaksa kullan [Q]", 3, 1, 6));
            LaneClearMenu.Add("ClearE", new CheckBox("Kullan [E]"));
            LaneClearMenu.Add("ClearW", new CheckBox("Kullan [W]", false));
            LaneClearMenu.Add("ManaLC", new Slider("Koridortemizleme icin enaz mana", 60));

            LastHitMenu = Menu.AddSubMenu("LastHit Settings", "LastHit");
            LastHitMenu.AddGroupLabel("LastHit Settings");
            LastHitMenu.Add("LastQ", new CheckBox("Kullan [Q] SonVurus", false));
            LastHitMenu.Add("LhAA", new CheckBox("Sadece [Q] Oldurulemiyecek minyonlara"));
            LastHitMenu.Add("LastE", new CheckBox("Kullan [E] SonVurus"));
            LastHitMenu.Add("LhMana", new Slider("SonVurus icin enaz mana", 60));

            JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear");
            JungleClearMenu.AddGroupLabel("JungleClear Settings");
            JungleClearMenu.Add("QJungle", new CheckBox("Kullan [Q]"));
            JungleClearMenu.Add("WJungle", new CheckBox("Kullan [W]"));
            JungleClearMenu.Add("EJungle", new CheckBox("Kullan [E]"));
            JungleClearMenu.Add("MnJungle", new Slider("Orman icin enaz mana", 30));

            Misc = Menu.AddSubMenu("Ultimate Settings", "Misc");
            Misc.Add("Ulti", new CheckBox("Kullan Ulti"));
            Misc.AddGroupLabel("Kullanilsin [R]");
            Misc.Add("stun", new CheckBox("Sabitlenme"));
            Misc.Add("rot", new CheckBox("Root"));
            Misc.Add("knockup", new CheckBox("Itilme"));
            Misc.Add("tunt", new CheckBox("Taunt"));
            Misc.Add("charm", new CheckBox("Cekilme", false));
            Misc.Add("snare", new CheckBox("Kapan"));
            Misc.Add("blind", new CheckBox("Korlesme", false));
            Misc.Add("disarm", new CheckBox("Engellenme", false));
            Misc.Add("fear", new CheckBox("Korku", false));
            Misc.Add("silence", new CheckBox("Susturma", false));
            Misc.Add("supperss", new CheckBox("Supperss", false));
            Misc.Add("slow", new CheckBox("Yavaslama", false));
            Misc.Add("poison", new CheckBox("Zehir", false));
            Misc.Add("knockback", new CheckBox("Tekmelenince", false));
            Misc.Add("nearsight", new CheckBox("Gorus Engellenince", false));
            Misc.Add("poly", new CheckBox("Polymorph", false));
            Misc.AddGroupLabel("Ultimate Setting");
            Misc.Add("healulti", new Slider("Kullanmak icin enaz HP [R]", 60));
            Misc.Add("Rulti", new Slider("Enaz dusman sayisi [R]", 1, 1, 5));
            Misc.AddGroupLabel("Ultimate Delay");
            Misc.Add("delay", new Slider("Gecikme", 0, 0, 1000));

            KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillSteal");
            KillStealMenu.AddGroupLabel("KillSteal Settings");
            KillStealMenu.Add("KsQ", new CheckBox("Kullan [Q] Oldururken"));
            KillStealMenu.Add("KsE", new CheckBox("Kullan [E] Oldururken"));
            KillStealMenu.Add("KsIgnite", new CheckBox("Kullan [Tutustur] Oldururken"));

            Skin = Menu.AddSubMenu("Skin Changer", "SkinChanger");
            Skin.AddGroupLabel("Skin Settings");
            Skin.Add("checkSkin", new CheckBox("Skin Secici kullan"));
            Skin.Add("skin.Id", new ComboBox("Skin Mode", 3, "Default", "1", "2", "3", "4", "5", "6"));

            Drawings = Menu.AddSubMenu("Misc Settings", "Draw");
            Drawings.AddGroupLabel("Misc Setting");
            Drawings.Add("QStun", new CheckBox("Kullan [Q] eger dusman CC'lenirse(Stan vb.)", false));
            Drawings.Add("AntiGap", new CheckBox("Kullan [Q] Atilma Yapanlara"));
            Drawings.AddGroupLabel("Drawing Settings");
            Drawings.Add("DrawQ", new CheckBox("Goster Q Menzili"));
            Drawings.Add("DrawE", new CheckBox("Goster E Menzili", false));
            Drawings.Add("Axe", new CheckBox("Baltayi Goster"));

            Drawing.OnDraw               += Drawing_OnDraw;
            Game.OnUpdate                += Game_OnUpdate;
            Orbwalker.OnPostAttack       += ResetAttack;
            Gapcloser.OnGapcloser        += Gapcloser_OnGapcloser;
            GameObject.OnCreate          += GameObject_OnCreate;
            GameObject.OnDelete          += GameObject_OnDelete;
            Orbwalker.OnUnkillableMinion += Orbwalker_CantLasthit;
        }