Пример #1
0
        static void Game_OnStart(EventArgs args)
        {
            if (ChampionName != Player.Instance.BaseSkinName)
            {
                return;
            }

            Game.OnUpdate += Game_OnUpdate;

            /*Drawing.OnDraw += Game_OnDraw;
             * Obj_AI_Base.OnBuffGain += Common.OnBuffGain;
             * Gapcloser.OnGapcloser += Common.Gapcloser_OnGapCloser;
             * Game.OnTick += Common.ItemUsage;
             * SkinBase = Player.Instance.SkinId;*/
            try
            {
                Q = new Spell.Skillshot(SpellSlot.Q, 1150, SkillShotType.Linear, 250, 2000, 60);
                Q.AllowedCollisionCount = 0;
                W = new Spell.Skillshot(SpellSlot.W, 1000, SkillShotType.Linear, 250, 1600, 80);
                W.AllowedCollisionCount = int.MaxValue;
                E = new Spell.Skillshot(SpellSlot.E, 475, SkillShotType.Linear);
                E.AllowedCollisionCount = int.MaxValue;
                R = new Spell.Skillshot(SpellSlot.R, 3000, SkillShotType.Linear, 1000, 2000, 160);
                R.AllowedCollisionCount = int.MaxValue;

                Bootstrap.Init(null);
                Chat.Print("GuTenTak Addon Loading Success", Color.Green);

                Menu = MainMenu.AddMenu("GuTenTak Ezreal", "Ezreal");
                Menu.AddSeparator();
                Menu.AddLabel("GuTenTak Ezreal Addon");

                //var Enemies = EntityManager.Heroes.Enemies.Where(a => !a.IsMe).OrderBy(a => a.BaseSkinName);
                ModesMenu1 = Menu.AddSubMenu("Menu", "Modes1Ezreal");
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("Combo Configs");
                ModesMenu1.Add("ComboQ", new CheckBox("Use Q on Combo", true));
                ModesMenu1.Add("ComboA", new CheckBox("Use AA => Q Combo", false));
                ModesMenu1.Add("ComboW", new CheckBox("Use W on Combo", true));
                ModesMenu1.Add("ComboR", new CheckBox("Use R on Combo", true));
                ModesMenu1.Add("ManaCW", new Slider("Use W Mana %", 30));
                ModesMenu1.Add("RCount", new Slider("Cast R if Will Hit >=", 3, 2, 5));
                ModesMenu1.AddSeparator();
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("AutoHarass Configs");
                ModesMenu1.Add("AutoHarass", new CheckBox("Use Q on AutoHarass", false));

                ModesMenu1.Add("ManaAuto", new Slider("Mana %", 80));
                ModesMenu1.AddLabel("Harass Configs");
                ModesMenu1.Add("HarassQ", new CheckBox("Use Q on Harass", true));
                ModesMenu1.Add("ManaHQ", new Slider("Mana %", 40));
                ModesMenu1.Add("HarassW", new CheckBox("Use W on Harass", true));
                ModesMenu1.Add("ManaHW", new Slider("Mana %", 60));
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("Kill Steal Configs");
                ModesMenu1.Add("KS", new CheckBox("Use KillSteal", true));
                ModesMenu1.Add("KQ", new CheckBox("Use Q on KillSteal", true));
                ModesMenu1.Add("KW", new CheckBox("Use W on KillSteal", true));
                ModesMenu1.Add("KR", new CheckBox("Use R on KillSteal", true));

                ModesMenu2 = Menu.AddSubMenu("Farm", "Modes2Ezreal");
                ModesMenu2.AddLabel("LastHit Configs");
                ModesMenu2.Add("ManaF", new Slider("Mana %", 60));
                ModesMenu2.Add("LastQ", new CheckBox("Use Q on LastHit", true));
                ModesMenu2.AddLabel("Lane Clear Config");
                ModesMenu2.Add("ManaL", new Slider("Mana %", 40));
                ModesMenu2.Add("FarmQ", new CheckBox("Use Q on LaneClear", true));
                ModesMenu2.AddLabel("Jungle Clear Config");
                ModesMenu2.Add("ManaJ", new Slider("Mana %", 40));
                ModesMenu2.Add("JungleQ", new CheckBox("Use Q on JungleClear", true));

                ModesMenu3 = Menu.AddSubMenu("Misc", "Modes3Ezreal");
                ModesMenu3.AddLabel("Misc Configs");
                ModesMenu3.Add("AntiGap", new CheckBox("Use E for Anti-Gapcloser", true));
                ModesMenu3.Add("StackTear", new CheckBox("Auto stack tear in fountain", true));
                ModesMenu3.AddLabel("Flee Configs");
                ModesMenu3.Add("FleeQ", new CheckBox("Use Q on Flee", true));
                ModesMenu3.Add("FleeOQ", new CheckBox("Use Q only hero", true));
                ModesMenu3.Add("FleeE", new CheckBox("Use E on Flee", true));
                //ModesMenu3.Add("BlockE", new CheckBox("Block EnemyUnderTurret", false));
                ModesMenu3.Add("ManaFlQ", new Slider("Q Mana %", 35));

                ModesMenu3.AddLabel("Item Usage on Combo");
                ModesMenu3.Add("useItems", new CheckBox("Use Items", true));
                ModesMenu3.AddSeparator(1);
                ModesMenu3.Add("useYoumuu", new CheckBox("Use Youmuu", true));
                ModesMenu3.Add("usehextech", new CheckBox("Use Hextech", true));
                ModesMenu3.Add("useBotrk", new CheckBox("Use Botrk & Cutlass", true));
                ModesMenu3.Add("minHPBotrk", new Slider("Min health to use Botrk %", 80));
                ModesMenu3.Add("enemyMinHPBotrk", new Slider("Min enemy health to use Botrk %", 80));

                ModesMenu3.AddLabel("QSS Configs");
                ModesMenu3.Add("useQss", new CheckBox("Use QuickSilver", true));
                ModesMenu3.AddSeparator(1);
                ModesMenu3.Add("Qssmode", new ComboBox(" ", 0, "Auto", "Combo"));
                ModesMenu3.Add("Stun", new CheckBox("Stun", true));
                ModesMenu3.Add("Blind", new CheckBox("Blind", true));
                ModesMenu3.Add("Charm", new CheckBox("Charm", true));
                ModesMenu3.Add("Suppression", new CheckBox("Suppression", true));
                ModesMenu3.Add("Polymorph", new CheckBox("Polymorph", true));
                ModesMenu3.Add("Fear", new CheckBox("Fear", true));
                ModesMenu3.Add("Taunt", new CheckBox("Taunt", true));
                ModesMenu3.Add("Silence", new CheckBox("Silence", false));
                ModesMenu3.Add("QssDelay", new Slider("Use QSS Delay(ms)", 250, 0, 1000));

                ModesMenu3.AddLabel("QSS Ult Configs");
                ModesMenu3.Add("ZedUlt", new CheckBox("Zed R", true));
                ModesMenu3.Add("VladUlt", new CheckBox("Vladimir R", true));
                ModesMenu3.Add("FizzUlt", new CheckBox("Fizz R", true));
                ModesMenu3.Add("MordUlt", new CheckBox("Mordekaiser R", true));
                ModesMenu3.Add("PoppyUlt", new CheckBox("Poppy R", true));
                ModesMenu3.Add("QssUltDelay", new Slider("Use QSS Delay(ms) for Ult", 250, 0, 1000));

                ModesMenu3.AddLabel("Skin Hack");
                ModesMenu3.Add("skinhack", new CheckBox("Activate Skin hack", false));
                ModesMenu3.Add("skinId", new ComboBox("Skin Mode", 0, "Default", "1", "2", "3", "4", "5", "6", "7", "8"));

                DrawMenu = Menu.AddSubMenu("Draws", "DrawEzreal");
                DrawMenu.Add("usedraw", new CheckBox("Enable Drawings", true));
                DrawMenu.AddSeparator(1);
                DrawMenu.Add("drawQ", new CheckBox(" Draw Q", true));
                DrawMenu.Add("drawW", new CheckBox(" Draw W", true));
                DrawMenu.Add("drawR", new CheckBox(" Draw R", false));
                DrawMenu.Add("drawXR", new CheckBox(" Draw Don't Use R", true));
                DrawMenu.Add("drawXFleeQ", new CheckBox(" Draw Don't Use Flee Q", false));

                if (ModesMenu3["useQss"].Cast <CheckBox>().CurrentValue)
                {
                    Obj_AI_Base.OnBuffGain += Common.OnBuffGain;
                }
                ModesMenu3["useQss"].Cast <CheckBox>().OnValueChange += (sender, vargs) =>
                {
                    if (vargs.NewValue)
                    {
                        Obj_AI_Base.OnBuffGain += Common.OnBuffGain;
                    }
                    else
                    {
                        Obj_AI_Base.OnBuffGain -= Common.OnBuffGain;
                    }
                };

                if (ModesMenu3["useItems"].Cast <CheckBox>().CurrentValue)
                {
                    Game.OnTick += Common.ItemUsage;
                }
                ModesMenu3["useItems"].Cast <CheckBox>().OnValueChange += (sender, vargs) =>
                {
                    if (vargs.NewValue)
                    {
                        Game.OnTick += Common.ItemUsage;
                    }
                    else
                    {
                        Game.OnTick -= Common.ItemUsage;
                    }
                };

                if (DrawMenu["usedraw"].Cast <CheckBox>().CurrentValue)
                {
                    Drawing.OnDraw += Game_OnDraw;
                }
                DrawMenu["usedraw"].Cast <CheckBox>().OnValueChange += (sender, vargs) =>
                {
                    if (vargs.NewValue)
                    {
                        Drawing.OnDraw += Game_OnDraw;
                    }
                    else
                    {
                        Drawing.OnDraw -= Game_OnDraw;
                    }
                };

                if (ModesMenu3["AntiGap"].Cast <CheckBox>().CurrentValue)
                {
                    Gapcloser.OnGapcloser += Common.Gapcloser_OnGapCloser;
                }
                ModesMenu3["AntiGap"].Cast <CheckBox>().OnValueChange += (sender, vargs) =>
                {
                    if (vargs.NewValue)
                    {
                        Gapcloser.OnGapcloser += Common.Gapcloser_OnGapCloser;
                    }
                    else
                    {
                        Gapcloser.OnGapcloser -= Common.Gapcloser_OnGapCloser;
                    }
                };

                if (ModesMenu1["KS"].Cast <CheckBox>().CurrentValue)
                {
                    Game.OnTick += Common.KillSteal;
                }
                ModesMenu1["KS"].Cast <CheckBox>().OnValueChange += (sender, vargs) =>
                {
                    if (vargs.NewValue)
                    {
                        Game.OnTick += Common.KillSteal;
                    }
                    else
                    {
                        Game.OnTick -= Common.KillSteal;
                    }
                };

                if (ModesMenu1["ComboA"].Cast <CheckBox>().CurrentValue)
                {
                    Orbwalker.OnPostAttack += Common.Orbwalker_OnPostAttack;
                }
                ModesMenu1["ComboA"].Cast <CheckBox>().OnValueChange += (sender, vargs) =>
                {
                    if (vargs.NewValue)
                    {
                        Orbwalker.OnPostAttack += Common.Orbwalker_OnPostAttack;
                    }
                    else
                    {
                        Orbwalker.OnPostAttack -= Common.Orbwalker_OnPostAttack;
                    }
                };

                if (ModesMenu3["StackTear"].Cast <CheckBox>().CurrentValue)
                {
                    Game.OnTick += Common.StackTear;
                }
                ModesMenu3["StackTear"].Cast <CheckBox>().OnValueChange += (sender, vargs) =>
                {
                    if (vargs.NewValue)
                    {
                        Game.OnTick += Common.StackTear;
                    }
                    else
                    {
                        Game.OnTick -= Common.StackTear;
                    }
                };

                if (ModesMenu3["skinhack"].Cast <CheckBox>().CurrentValue)
                {
                    Player.SetSkinId(ModesMenu3["skinId"].Cast <ComboBox>().CurrentValue);
                }
                ModesMenu3["skinId"].Cast <ComboBox>().OnValueChange += (sender, vargs) =>
                {
                    if (ModesMenu3["skinhack"].Cast <CheckBox>().CurrentValue)
                    {
                        Player.SetSkinId(vargs.NewValue);
                    }
                };
                ModesMenu3["skinhack"].Cast <CheckBox>().OnValueChange += (sender, vargs) =>
                {
                    if (vargs.NewValue)
                    {
                        Player.SetSkinId(ModesMenu3["skinId"].Cast <ComboBox>().CurrentValue);
                    }
                    else
                    {
                        Player.SetSkinId(0);
                    }
                };

                if (ModesMenu1["AutoHarass"].Cast <CheckBox>().CurrentValue)
                {
                    Game.OnTick += Common.AutoQ;
                }
                ModesMenu1["AutoHarass"].Cast <CheckBox>().OnValueChange += (sender, vargs) =>
                {
                    if (vargs.NewValue)
                    {
                        Game.OnTick += Common.AutoQ;
                    }
                    else
                    {
                        Game.OnTick -= Common.AutoQ;
                    }
                };
            }

            catch (Exception e)
            {
                Console.WriteLine(e.StackTrace);
            }
        }
Пример #2
0
        static void Game_OnStart(EventArgs args)
        {
            Game.OnUpdate          += Game_OnUpdate;
            Game.OnTick            += OnTick;
            Obj_AI_Base.OnBuffGain += Common.OnBuffGain;
            GameObject.OnCreate    += OnCreate;
            Gapcloser.OnGapcloser  += Common.Gapcloser_OnGapCloser;
            Orbwalker.OnPreAttack  += OnPreAttack;
            Drawing.OnDraw         += Game_OnDraw;
            SkinBase = Player.Instance.SkinId;
            try
            {
                if (ChampionName != PlayerInstance.BaseSkinName)
                {
                    return;
                }

                Q = new Spell.Active(SpellSlot.Q, (uint)_Player.AttackRange + 50);
                W = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Circular, (int)0.5, 1400, 250);
                E = new Spell.Targeted(SpellSlot.E, (uint)_Player.AttackRange + 50);
                R = new Spell.Targeted(SpellSlot.R, (uint)_Player.AttackRange + 50);



                Bootstrap.Init(null);
                Chat.Print("GuTenTak Addon Loading Success", Color.Green);


                Menu = MainMenu.AddMenu("GuTenTak Tristana", "Tristana");
                Menu.AddSeparator();
                Menu.AddLabel("GuTenTak Tristana Addon");

                var Enemies = EntityManager.Heroes.Enemies.Where(a => !a.IsMe).OrderBy(a => a.BaseSkinName);
                ModesMenu1 = Menu.AddSubMenu("Menu", "Modes1Tristana");
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("Combo Configs");
                ModesMenu1.Add("ComboQ", new CheckBox("Use Q on Combo", true));
                ModesMenu1.Add("ComboE", new CheckBox("Use E on Combo", true));
                ModesMenu1.Add("ComboEF", new CheckBox("Combo E Forced Target", true));
                ModesMenu1.Add("ManualR", new KeyBind("Semi-Auto R", false, KeyBind.BindTypes.HoldActive, 'T'));

                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("E List");
                foreach (var Enemy in EntityManager.Heroes.Enemies)
                {
                    ModesMenu1.Add(Enemy.ChampionName, new CheckBox("Use E to " + Enemy.ChampionName, true));
                }
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("Harass Configs");
                ModesMenu1.Add("HarassEF", new CheckBox("Harass E Forced Target", true));
                ModesMenu1.Add("HarassQ", new CheckBox("Use Q on Harass", true));
                ModesMenu1.Add("HarassE", new CheckBox("Use E on Harass", true));
                ModesMenu1.Add("ManaHE", new Slider("Use Harass Mana %", 60));
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("Kill Steal Configs");
                ModesMenu1.Add("KS", new CheckBox("Use KillSteal", true));
                ModesMenu1.Add("KR", new CheckBox("Use R on KillSteal", true));
                ModesMenu1.Add("KER", new CheckBox("Use E + R on KillSteal", true));

                ModesMenu2 = Menu.AddSubMenu("Farm", "Modes2Tristana");
                ModesMenu2.AddLabel("Lane Clear Config");
                ModesMenu2.AddSeparator();
                ModesMenu2.Add("FarmEF", new CheckBox("LaneClear E Forced Target", true));
                ModesMenu2.Add("FarmQ", new CheckBox("Use Q on LaneClear", true));
                ModesMenu2.Add("FarmE", new CheckBox("Use E on LaneClear", true));
                ModesMenu2.Add("ManaLE", new Slider("Mana %", 40));
                ModesMenu2.AddSeparator();
                ModesMenu2.AddLabel("Jungle Clear Config");
                ModesMenu2.Add("JungleEF", new CheckBox("JungleClear E Forced Target", true));
                ModesMenu2.Add("JungleQ", new CheckBox("Use Q on JungleClear", true));
                ModesMenu2.Add("JungleE", new CheckBox("Use E on JungleClear", true));
                ModesMenu2.Add("ManaJE", new Slider("Mana %", 40));

                ModesMenu3 = Menu.AddSubMenu("Misc", "Modes3Tristana");
                ModesMenu3.Add("AntiGapW", new CheckBox("Use W for Anti-Gapcloser", true));
                ModesMenu3.Add("AntiGapR", new CheckBox("Use R for Anti-Gapcloser", false));
                ModesMenu3.Add("AntiGapKR", new CheckBox("Use R for Anti-Gapcloser (Khazix & Rengar)", true));
                ModesMenu3.Add("FleeW", new CheckBox("Use W on Flee", false));

                ModesMenu3.AddSeparator();
                ModesMenu3.AddLabel("Skin Hack");
                ModesMenu3.Add("skinhack", new CheckBox("Activate Skin hack", false));
                ModesMenu3.Add("skinId", new ComboBox("Skin Mode", 0, "Default", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10"));

                ModesMenu3.AddSeparator();
                ModesMenu3.AddLabel("Item Usage on Combo");
                ModesMenu3.Add("useYoumuu", new CheckBox("Use Youmuu", true));
                ModesMenu3.Add("usehextech", new CheckBox("Use Hextech", true));
                ModesMenu3.Add("useBotrk", new CheckBox("Use Botrk & Cutlass", true));
                ModesMenu3.Add("useQss", new CheckBox("Use QuickSilver", true));
                ModesMenu3.Add("minHPBotrk", new Slider("Min health to use Botrk %", 80));
                ModesMenu3.Add("enemyMinHPBotrk", new Slider("Min enemy health to use Botrk %", 80));

                ModesMenu3.AddLabel("QSS Configs");
                ModesMenu3.Add("Qssmode", new ComboBox(" ", 0, "Auto", "Combo"));
                ModesMenu3.Add("Stun", new CheckBox("Stun", true));
                ModesMenu3.Add("Blind", new CheckBox("Blind", true));
                ModesMenu3.Add("Charm", new CheckBox("Charm", true));
                ModesMenu3.Add("Suppression", new CheckBox("Suppression", true));
                ModesMenu3.Add("Polymorph", new CheckBox("Polymorph", true));
                ModesMenu3.Add("Fear", new CheckBox("Fear", true));
                ModesMenu3.Add("Taunt", new CheckBox("Taunt", true));
                ModesMenu3.Add("Silence", new CheckBox("Silence", false));
                ModesMenu3.Add("QssDelay", new Slider("Use QSS Delay(ms)", 250, 0, 1000));

                ModesMenu3.AddLabel("QSS Ult Configs");
                ModesMenu3.Add("ZedUlt", new CheckBox("Zed R", true));
                ModesMenu3.Add("VladUlt", new CheckBox("Vladimir R", true));
                ModesMenu3.Add("FizzUlt", new CheckBox("Fizz R", true));
                ModesMenu3.Add("MordUlt", new CheckBox("Mordekaiser R", true));
                ModesMenu3.Add("PoppyUlt", new CheckBox("Poppy R", true));
                ModesMenu3.Add("QssUltDelay", new Slider("Use QSS Delay(ms) for Ult", 250, 0, 1000));

                DrawMenu = Menu.AddSubMenu("Draws", "DrawTristana");
                DrawMenu.Add("drawA", new CheckBox(" Draw Real AA", true));
                DrawMenu.Add("drawW", new CheckBox(" Draw W", true));
                DrawMenu.Add("drawE", new CheckBox(" Draw E Stack", true));
            }

            catch (Exception e)
            {
            }
        }
Пример #3
0
        static void Game_OnStart(EventArgs args)
        {
            Game.OnUpdate          += Game_OnUpdate;
            Drawing.OnDraw         += Game_OnDraw;
            Gapcloser.OnGapcloser  += Common.Gapcloser_OnGapCloser;
            Obj_AI_Base.OnBuffGain += Common.OnBuffGain;
            Game.OnTick            += OnTick;
            Orbwalker.OnPostAttack += Common.aaCombo;
            Orbwalker.OnPostAttack += Common.LJClear;
            Player.OnBasicAttack   += Player_OnBasicAttack;
            SkinBase = Player.Instance.SkinId;
            // Item
            try
            {
                if (ChampionName != PlayerInstance.BaseSkinName)
                {
                    return;
                }

                Q  = new Spell.Targeted(SpellSlot.Q, 675);
                Q1 = new Spell.Skillshot(SpellSlot.Q, 940, SkillShotType.Linear, 350, int.MaxValue, 75);
                W  = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Linear, 250, 1600, 100);
                W1 = new Spell.Skillshot(SpellSlot.W, 500, SkillShotType.Linear, 250, 1600, 100);
                E  = new Spell.Skillshot(SpellSlot.E, 475, SkillShotType.Linear);
                R  = new Spell.Skillshot(SpellSlot.R, 1400, SkillShotType.Linear, 500, 2800, 110);



                Bootstrap.Init(null);
                Chat.Print("GuTenTak Addon Loading Success", Color.Green);


                Menu = MainMenu.AddMenu("GuTenTak Lucian", "Lucian");
                Menu.AddSeparator();
                Menu.AddLabel("GuTenTak Lucian Addon");

                var Enemies = EntityManager.Heroes.Enemies.Where(a => !a.IsMe).OrderBy(a => a.BaseSkinName);
                ModesMenu1 = Menu.AddSubMenu("Menu", "Modes1Lucian");
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("Combo Configs");
                ModesMenu1.Add("CWeaving", new CheckBox("Komboda pasif kullan", true));
                ModesMenu1.Add("ComboQ", new CheckBox("Komboda Q kullan", true));
                ModesMenu1.Add("ComboW", new CheckBox("Komboda W kullan", true));
                ModesMenu1.Add("ComboE", new CheckBox("Komboda E kullan", true));
                ModesMenu1.Add("ManaCW", new Slider("W için gereken mana %", 30));
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("Logic Configs");
                ModesMenu1.Add("LogicAA", new ComboBox(" Kombo türü ", 1, "Hızlı", "AA menzilinde Full Hasar"));
                ModesMenu1.Add("LogicW", new ComboBox(" Basit W mantığı", 1, "AAMenzilinde", "Sürekli"));
                ModesMenu1.Add("WColision", new ComboBox(" W Capışma ", 1, "Capışma", "Capışma yok"));
                ModesMenu1.Add("LogicE", new ComboBox(" E mantığı ", 0, "E fareye doğru(Güvenli Pozis.)", "Yana", "Fareye dogru"));

                ModesMenu1.AddSeparator();
                //ModesMenu1.AddLabel("AutoHarass Configs");
                //ModesMenu1.Add("AutoHarass", new CheckBox("Use Q on AutoHarass", false));
                // ModesMenu1.Add("ManaAuto", new Slider("Mana %", 80));

                ModesMenu1.AddLabel("Harass Configs");
                ModesMenu1.Add("HWeaving", new CheckBox("Dürtmede Pasif kullan", true));
                ModesMenu1.Add("HarassMana", new Slider("Dürtmek icin gereken mana %", 60));
                ModesMenu1.Add("HarassQ", new CheckBox("Dürterken Q kullan", true));
                ModesMenu1.Add("HarassQext", new CheckBox("Durterken Q geniş kullan", true));
                ModesMenu1.Add("HarassW", new CheckBox("Dürterken W kullan", true));
                ModesMenu1.Add("ManaHW", new Slider("W kullanmak icin mana %", 60));
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("Kill Steal Configs");
                ModesMenu1.Add("KS", new CheckBox("Kullan öldürme", true));
                ModesMenu1.Add("KQ", new CheckBox("Öldürürken Q kullan", true));
                ModesMenu1.Add("KW", new CheckBox("Öldürürken W kullan", true));
                ModesMenu1.Add("KR", new CheckBox("Öldürürken R kullan", false));

                ModesMenu2 = Menu.AddSubMenu("Farm", "Modes2Lucian");
                ModesMenu2.AddLabel("Lane Clear Config");
                ModesMenu1.AddSeparator();
                ModesMenu2.Add("FarmQ", new CheckBox("Lane temizlerken Q kullan", true));
                ModesMenu2.Add("ManaLQ", new Slider("Mana %", 40));
                ModesMenu2.Add("FarmW", new CheckBox("Lane temizlerken W kullan", true));
                ModesMenu2.Add("ManaLW", new Slider("Mana %", 40));
                ModesMenu2.AddLabel("Jungle Clear Config");
                ModesMenu2.Add("JungleQ", new CheckBox("Orman temizlerken Q kullan", true));
                ModesMenu2.Add("ManaJQ", new Slider("Mana %", 40));
                ModesMenu2.Add("JungleW", new CheckBox("Orman temizlerken W kullan", true));
                ModesMenu2.Add("ManaJW", new Slider("Mana %", 40));

                ModesMenu3 = Menu.AddSubMenu("Misc", "Modes3Lucian");
                ModesMenu3.Add("AntiGap", new CheckBox("Atılma yapana E kullan", true));
                ModesMenu3.AddLabel("Flee Configs");
                ModesMenu3.Add("FleeE", new CheckBox("Kaçarken E kullan", true));

                ModesMenu3.AddLabel("Item Usage on Combo");
                ModesMenu3.Add("useYoumuu", new CheckBox("Kullan Youmuu", true));
                ModesMenu3.Add("usehextech", new CheckBox("Kullan Hextech", true));
                ModesMenu3.Add("useBotrk", new CheckBox("Kullan Botrk & Cutlass", true));
                ModesMenu3.Add("useQss", new CheckBox("Kullan Civalı", true));
                ModesMenu3.Add("minHPBotrk", new Slider("Altındaysa can Botrk %", 80));
                ModesMenu3.Add("enemyMinHPBotrk", new Slider("Altındaysa düşman canı Botrk %", 80));

                ModesMenu3.AddLabel("QSS Configs");
                ModesMenu3.Add("Qssmode", new ComboBox(" ", 0, "Auto", "Combo"));
                ModesMenu3.Add("Stun", new CheckBox("Stun", true));
                ModesMenu3.Add("Blind", new CheckBox("kör", true));
                ModesMenu3.Add("Charm", new CheckBox("Büyü", true));
                ModesMenu3.Add("Suppression", new CheckBox("Durdurma", true));
                ModesMenu3.Add("Polymorph", new CheckBox("Polymorph", true));
                ModesMenu3.Add("Fear", new CheckBox("Korkutma", true));
                ModesMenu3.Add("Taunt", new CheckBox("Taunt", true));
                ModesMenu3.Add("Silence", new CheckBox("Susturma", false));
                ModesMenu3.Add("QssDelay", new Slider("Kullan QSS Gecikme(ms)", 250, 0, 1000));

                ModesMenu3.AddLabel("QSS Ult Configs");
                ModesMenu3.Add("ZedUlt", new CheckBox("Zed R", true));
                ModesMenu3.Add("VladUlt", new CheckBox("Vladimir R", true));
                ModesMenu3.Add("FizzUlt", new CheckBox("Fizz R", true));
                ModesMenu3.Add("MordUlt", new CheckBox("Mordekaiser R", true));
                ModesMenu3.Add("PoppyUlt", new CheckBox("Poppy R", true));
                ModesMenu3.Add("QssUltDelay", new Slider("Kullan QSS Gecikme(ms) Ultiler icin", 250, 0, 1000));

                ModesMenu3.AddLabel("Skin Hack");
                ModesMenu3.Add("skinhack", new CheckBox("Skin hilesi aktif", false));
                ModesMenu3.Add("skinId", new ComboBox("Skin Mode", 0, "Default", "1", "2", "3", "4", "5", "6", "7", "8"));

                DrawMenu = Menu.AddSubMenu("Draws", "DrawLucian");
                DrawMenu.Add("drawA", new CheckBox(" Göster gercek AA", true));
                DrawMenu.Add("drawQ", new CheckBox(" Göster Q", true));
                DrawMenu.Add("drawQext", new CheckBox(" Göster Q uzun", true));
                DrawMenu.Add("drawW", new CheckBox(" Göster W", true));
                DrawMenu.Add("drawE", new CheckBox(" Göster E", true));
                DrawMenu.Add("drawR", new CheckBox(" Göster R", false));

                if (ModesMenu3["skinhack"].Cast <CheckBox>().CurrentValue)
                {
                    Player.SetSkinId(ModesMenu3["skinId"].Cast <ComboBox>().CurrentValue);
                }
                ModesMenu3["skinId"].Cast <ComboBox>().OnValueChange += (sender, vargs) =>
                {
                    if (ModesMenu3["skinhack"].Cast <CheckBox>().CurrentValue)
                    {
                        Player.SetSkinId(vargs.NewValue);
                    }
                };
                ModesMenu3["skinhack"].Cast <CheckBox>().OnValueChange += (sender, vargs) =>
                {
                    if (vargs.NewValue)
                    {
                        Player.SetSkinId(ModesMenu3["skinId"].Cast <ComboBox>().CurrentValue);
                    }
                    else
                    {
                        Player.SetSkinId(0);
                    }
                };
            }

            catch (Exception e)
            {
            }
        }
Пример #4
0
        static void Game_OnStart(EventArgs args)
        {
            Game.OnUpdate                  += Game_OnUpdate;
            Drawing.OnDraw                 += Game_OnDraw;
            Obj_AI_Base.OnBuffGain         += Common.OnBuffGain;
            Game.OnTick                    += OnTick;
            Orbwalker.OnPreAttack          += Common.QAA;
            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;
            SkinBase = Player.Instance.SkinId;
            // Item
            try
            {
                if (ChampionName != PlayerInstance.BaseSkinName)
                {
                    return;
                }

                Q = new Spell.Skillshot(SpellSlot.Q, 1450, SkillShotType.Linear, 0, 1000, 40)
                {
                    AllowedCollisionCount = int.MaxValue
                };
                W = new Spell.Active(SpellSlot.W);
                R = new Spell.Active(SpellSlot.R, 5500);



                Bootstrap.Init(null);
                Chat.Print("GuTenTak Addon Loading Success", Color.Green);


                Menu = MainMenu.AddMenu("GuTenTak TwistedFate", "TwistedFate");
                Menu.AddSeparator();
                Menu.AddLabel("GuTenTak TwistedFate Addon");

                var Enemies = EntityManager.Heroes.Enemies.Where(a => !a.IsMe).OrderBy(a => a.BaseSkinName);
                ModesMenu1 = Menu.AddSubMenu("Menu", "Modes1TwistedFate");
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("Combo Configs");
                ModesMenu1.Add("ComboQ", new CheckBox("Use Q on Combo", true));
                ModesMenu1.Add("ComboYellowCard", new CheckBox("Pick A Yello Card on Combo", true));
                ModesMenu1.Add("RYellow", new CheckBox("Use Auto Pick A Yellow Card on R", true));
                ModesMenu1.Add("ComboWRed", new KeyBind("Use Red Card", false, KeyBind.BindTypes.HoldActive, 'T'));
                ModesMenu1.Add("ComboWBlue", new KeyBind("Use Blue Card", false, KeyBind.BindTypes.HoldActive, 'E'));
                ModesMenu1.Add("ComboWYellow", new KeyBind("Use Yellow Card", false, KeyBind.BindTypes.HoldActive, 'S'));
                ModesMenu1.Add("WHumanizer", new CheckBox("Pick A Card Humanizer", true));
                ModesMenu1.Add("WHumanizerms", new Slider("Pick A Card Humanizer (ms)", 250, 0, 250));
                ModesMenu1.Add("WHumanizerrandom", new Slider("Pick A Card Humanizer (Random Min)", 0, 0, 125));
                ModesMenu1.Add("WHumanizerrandom2", new Slider("Pick A Card Humanizer (Random MAX)", 250, 0, 250));

                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("Auto Harass Configs");
                ModesMenu1.Add("AutoHarass", new CheckBox("Auto Q immobile target", true));
                ModesMenu1.Add("ManaAuto", new Slider("Use Auto Harass Mana %", 40));
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("Harass Configs");
                ModesMenu1.Add("HarassQ", new CheckBox("Use Q on Harass", true));
                ModesMenu1.Add("ManaHQ", new Slider("Use Q Harass Mana %", 60));
                ModesMenu1.Add("HarassW", new CheckBox("Use W on Harass", true));
                ModesMenu1.Add("ManaHW", new Slider("Use W Harass Mana %", 60));
                ModesMenu1.Add("HarassPick", new ComboBox("Use Harass Pick A Card", 0, "Blue", "Red", "Yellow"));
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("Kill Steal Configs");
                ModesMenu1.Add("KS", new CheckBox("Use KillSteal", true));
                ModesMenu1.Add("KQ", new CheckBox("Use Q on KillSteal", true));

                ModesMenu2 = Menu.AddSubMenu("Farm", "Modes2TwistedFate");
                ModesMenu2.AddLabel("Last Hit Config");
                ModesMenu2.AddSeparator();
                ModesMenu2.Add("LastBlue", new CheckBox("Pick A Blue Card", true));
                ModesMenu2.Add("ManaLast", new Slider("Mana Under %", 40));
                ModesMenu2.AddSeparator();
                ModesMenu2.AddLabel("Lane Clear Config");
                ModesMenu2.AddSeparator();
                ModesMenu2.Add("FarmQ", new CheckBox("Use Q on LaneClear", true));
                ModesMenu2.Add("ManaLQ", new Slider("Use Q Mana %", 40));
                ModesMenu2.Add("MinionLC", new Slider("Use Q Min Minions on LaneClear", 3, 1, 5));
                ModesMenu2.Add("FarmW", new CheckBox("Use W on LaneClear", true));
                ModesMenu2.Add("ClearPick", new ComboBox("Use Clear Pick A Card", 1, "Red", "Blue"));
                ModesMenu2.Add("ManaLW", new Slider("Use W Mana %", 40));
                ModesMenu2.AddSeparator();
                ModesMenu2.AddLabel("Jungle Clear Config");
                ModesMenu2.AddSeparator();
                ModesMenu2.Add("JungleQ", new CheckBox("Use Q on JungleClear", true));
                ModesMenu2.Add("ManaJQ", new Slider("Mana %", 40));
                ModesMenu2.Add("JungleW", new CheckBox("Use W on JungleClear", true));
                ModesMenu2.Add("JungleClearPick", new ComboBox("Use Jungle Pick A Card", 1, "Red", "Blue", "Yellow"));
                ModesMenu2.Add("ManaJW", new Slider("Mana %", 40));

                ModesMenu3 = Menu.AddSubMenu("Misc", "Modes3TwistedFate");
                //ModesMenu3.Add("AntiGap", new CheckBox("AntiGap - Pick Golden Card", true));

                ModesMenu3.AddLabel("Item Usage on Combo");
                ModesMenu3.Add("useYoumuu", new CheckBox("Use Youmuu", true));
                ModesMenu3.Add("usehextech", new CheckBox("Use Hextech", true));
                ModesMenu3.Add("useBotrk", new CheckBox("Use Botrk & Cutlass", true));
                ModesMenu3.Add("useQss", new CheckBox("Use QuickSilver", true));
                ModesMenu3.Add("minHPBotrk", new Slider("Min health to use Botrk %", 80));
                ModesMenu3.Add("enemyMinHPBotrk", new Slider("Min enemy health to use Botrk %", 80));

                ModesMenu3.AddLabel("QSS Configs");
                ModesMenu3.Add("Qssmode", new ComboBox(" ", 0, "Auto", "Combo"));
                ModesMenu3.Add("Stun", new CheckBox("Stun", true));
                ModesMenu3.Add("Blind", new CheckBox("Blind", true));
                ModesMenu3.Add("Charm", new CheckBox("Charm", true));
                ModesMenu3.Add("Suppression", new CheckBox("Suppression", true));
                ModesMenu3.Add("Polymorph", new CheckBox("Polymorph", true));
                ModesMenu3.Add("Fear", new CheckBox("Fear", true));
                ModesMenu3.Add("Taunt", new CheckBox("Taunt", true));
                ModesMenu3.Add("Silence", new CheckBox("Silence", false));
                ModesMenu3.Add("QssDelay", new Slider("Use QSS Delay(ms)", 250, 0, 1000));

                ModesMenu3.AddLabel("QSS Ult Configs");
                ModesMenu3.Add("ZedUlt", new CheckBox("Zed R", true));
                ModesMenu3.Add("VladUlt", new CheckBox("Vladimir R", true));
                ModesMenu3.Add("FizzUlt", new CheckBox("Fizz R", true));
                ModesMenu3.Add("MordUlt", new CheckBox("Mordekaiser R", true));
                ModesMenu3.Add("PoppyUlt", new CheckBox("Poppy R", true));
                ModesMenu3.Add("QssUltDelay", new Slider("Use QSS Delay(ms) for Ult", 250, 0, 1000));

                ModesMenu3.AddLabel("Skin Hack");
                ModesMenu3.Add("skinhack", new CheckBox("Activate Skin hack", false));
                ModesMenu3.Add("skinId", new ComboBox("Skin Mode", 0, "Default", "1", "2", "3", "4", "5", "6", "7", "8", "9"));

                DrawMenu = Menu.AddSubMenu("Draws", "DrawTwistedFate");
                DrawMenu.Add("drawA", new CheckBox(" Draw Real AA", true));
                DrawMenu.Add("drawQ", new CheckBox(" Draw Q", true));
                DrawMenu.Add("drawR", new CheckBox(" Draw R", false));
            }

            catch (Exception e)
            {
            }
        }
Пример #5
0
        static void Game_OnStart(EventArgs args)
        {
            Game.OnUpdate          += Game_OnUpdate;
            Drawing.OnDraw         += Game_OnDraw;
            Gapcloser.OnGapcloser  += Common.Gapcloser_OnGapCloser;
            Obj_AI_Base.OnBuffGain += Common.OnBuffGain;
            Game.OnTick            += OnTick;
            Orbwalker.OnPostAttack += Common.aaCombo;
            Orbwalker.OnPostAttack += Common.LJClear;
            Player.OnBasicAttack   += Player_OnBasicAttack;
            SkinBase = Player.Instance.SkinId;
            // Item
            try
            {
                if (ChampionName != PlayerInstance.BaseSkinName)
                {
                    return;
                }

                Q  = new Spell.Targeted(SpellSlot.Q, 675);
                Q1 = new Spell.Skillshot(SpellSlot.Q, 1140, SkillShotType.Linear, 350, int.MaxValue, 75);
                W  = new Spell.Skillshot(SpellSlot.W, 1000, SkillShotType.Linear, 250, 1600, 100);
                W1 = new Spell.Skillshot(SpellSlot.W, 500, SkillShotType.Linear, 250, 1600, 100);
                E  = new Spell.Skillshot(SpellSlot.E, 475, SkillShotType.Linear);
                R  = new Spell.Skillshot(SpellSlot.R, 1400, SkillShotType.Linear, 500, 2800, 110);



                Bootstrap.Init(null);
                Chat.Print("GuTenTak Addon Loading Success", Color.Green);


                Menu = MainMenu.AddMenu("GuTenTak 卢锡安", "Lucian");
                Menu.AddSeparator();
                Menu.AddLabel("CH汉化-GuTenTak 卢锡安脚本");

                var Enemies = EntityManager.Heroes.Enemies.Where(a => !a.IsMe).OrderBy(a => a.BaseSkinName);
                ModesMenu1 = Menu.AddSubMenu("菜单", "Modes1Lucian");
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("连招设置");
                ModesMenu1.Add("CWeaving", new CheckBox("连招使用被动", true));
                ModesMenu1.Add("ComboQ", new CheckBox("连招Q", true));
                ModesMenu1.Add("ComboW", new CheckBox("连招W", true));
                ModesMenu1.Add("ComboE", new CheckBox("连招E", true));
                ModesMenu1.Add("ManaCW", new Slider("W蓝量使用 %", 30));
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("逻辑设置");
                ModesMenu1.Add("LogicAA", new ComboBox(" 连招逻辑 ", 1, "神速", "普攻距离最大伤害"));
                ModesMenu1.Add("LogicW", new ComboBox(" 普通W逻辑 ", 1, "普攻距离", "总是"));
                ModesMenu1.Add("WColision", new ComboBox(" W 体积碰撞 ", 1, "检查碰撞", "不检查碰撞"));
                ModesMenu1.Add("LogicE", new ComboBox(" E 逻辑 ", 0, "E 至鼠标(安全位置)", "E 至靠边", "E 至鼠标"));

                ModesMenu1.AddSeparator();
                //ModesMenu1.AddLabel("AutoHarass Configs");
                //ModesMenu1.Add("AutoHarass", new CheckBox("Use Q on AutoHarass", false));
                // ModesMenu1.Add("ManaAuto", new Slider("Mana %", 80));

                ModesMenu1.AddLabel("骚扰设置");
                ModesMenu1.Add("HWeaving", new CheckBox("骚扰使用被动", true));
                ModesMenu1.Add("HarassMana", new Slider("Q蓝量使用 %", 60));
                ModesMenu1.Add("HarassQ", new CheckBox("骚扰Q", true));
                ModesMenu1.Add("HarassQext", new CheckBox("骚扰使用超远Q", true));
                ModesMenu1.Add("HarassW", new CheckBox("骚扰W", true));
                ModesMenu1.Add("ManaHW", new Slider("W蓝量使用 %", 60));
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("抢头设置");
                ModesMenu1.Add("KS", new CheckBox("开启抢头", true));
                ModesMenu1.Add("KQ", new CheckBox("Q抢头", true));
                ModesMenu1.Add("KW", new CheckBox("W抢头", true));
                ModesMenu1.Add("KR", new CheckBox("R抢头", false));

                ModesMenu2 = Menu.AddSubMenu("尾兵", "Modes2Lucian");
                ModesMenu2.AddLabel("清线设置");
                ModesMenu1.AddSeparator();
                ModesMenu2.Add("FarmQ", new CheckBox("清线Q", true));
                ModesMenu2.Add("ManaLQ", new Slider("Q蓝量使用 %", 40));
                ModesMenu2.Add("FarmW", new CheckBox("清线W", true));
                ModesMenu2.Add("ManaLW", new Slider("W蓝量使用 %", 40));
                ModesMenu2.AddLabel("清野设置");
                ModesMenu2.Add("JungleQ", new CheckBox("清野Q", true));
                ModesMenu2.Add("ManaJQ", new Slider("Q蓝量使用 %", 40));
                ModesMenu2.Add("JungleW", new CheckBox("清野QW", true));
                ModesMenu2.Add("ManaJW", new Slider("W蓝量使用 %", 40));

                ModesMenu3 = Menu.AddSubMenu("杂项", "Modes3Lucian");
                ModesMenu3.Add("AntiGap", new CheckBox("E 防突进", true));
                ModesMenu3.AddLabel("逃跑设置");
                ModesMenu3.Add("FleeE", new CheckBox("逃跑使用E", true));

                ModesMenu3.AddLabel("物品使用(连招)");
                ModesMenu3.Add("useYoumuu", new CheckBox("使用幽梦", true));
                ModesMenu3.Add("usehextech", new CheckBox("使用科技枪", true));
                ModesMenu3.Add("useBotrk", new CheckBox("使用破败&弯刀", true));
                ModesMenu3.Add("useQss", new CheckBox("使用水银饰带", true));
                ModesMenu3.Add("minHPBotrk", new Slider("最低血量 % 使用破败", 80));
                ModesMenu3.Add("enemyMinHPBotrk", new Slider("敌人最低血量 % 使用破败", 80));

                ModesMenu3.AddLabel("水银设置");
                ModesMenu3.Add("Qssmode", new ComboBox(" ", 0, "自动", "连招"));
                ModesMenu3.Add("Stun", new CheckBox("晕眩", true));
                ModesMenu3.Add("Blind", new CheckBox("致盲", true));
                ModesMenu3.Add("Charm", new CheckBox("魅惑", true));
                ModesMenu3.Add("Suppression", new CheckBox("压制", true));
                ModesMenu3.Add("Polymorph", new CheckBox("变形", true));
                ModesMenu3.Add("Fear", new CheckBox("恐惧", true));
                ModesMenu3.Add("Taunt", new CheckBox("嘲讽", true));
                ModesMenu3.Add("Silence", new CheckBox("沉默", false));
                ModesMenu3.Add("QssDelay", new Slider("使用水银延迟(毫秒)", 250, 0, 1000));

                ModesMenu3.AddLabel("解大招水银设置");
                ModesMenu3.Add("ZedUlt", new CheckBox("劫 R", true));
                ModesMenu3.Add("VladUlt", new CheckBox("吸血鬼 R", true));
                ModesMenu3.Add("FizzUlt", new CheckBox("小鱼人 R", true));
                ModesMenu3.Add("MordUlt", new CheckBox("金属大师 R", true));
                ModesMenu3.Add("PoppyUlt", new CheckBox("波比 R", true));
                ModesMenu3.Add("QssUltDelay", new Slider("使用水银解大招延迟(毫秒)", 250, 0, 1000));

                ModesMenu3.AddLabel("换肤");
                ModesMenu3.Add("skinhack", new CheckBox("开启换肤", false));
                ModesMenu3.Add("skinId", new ComboBox("模式", 0, "预设", "1", "2", "3", "4", "5", "6", "7", "8"));

                DrawMenu = Menu.AddSubMenu("线圈", "DrawLucian");
                DrawMenu.Add("drawA", new CheckBox(" 显示真实普攻距离", true));
                DrawMenu.Add("drawQ", new CheckBox(" 显示 Q", true));
                DrawMenu.Add("drawQext", new CheckBox(" 显示 额外Q ", true));
                DrawMenu.Add("drawW", new CheckBox(" 显示 W", true));
                DrawMenu.Add("drawE", new CheckBox(" 显示 E", true));
                DrawMenu.Add("drawR", new CheckBox(" 显示 R", false));
            }

            catch (Exception e)
            {
            }
        }
Пример #6
0
        static void Game_OnStart(EventArgs args)
        {
            Game.OnUpdate          += Game_OnUpdate;
            Game.OnTick            += OnTick;
            Obj_AI_Base.OnBuffGain += Common.OnBuffGain;
            GameObject.OnCreate    += OnCreate;
            Gapcloser.OnGapcloser  += Common.Gapcloser_OnGapCloser;
            Orbwalker.OnPreAttack  += OnPreAttack;
            Drawing.OnDraw         += Game_OnDraw;
            SkinBase = Player.Instance.SkinId;
            try
            {
                if (ChampionName != PlayerInstance.BaseSkinName)
                {
                    return;
                }

                Q = new Spell.Active(SpellSlot.Q, (uint)_Player.AttackRange + 50);
                W = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Circular, (int)0.5, 1400, 250);
                E = new Spell.Targeted(SpellSlot.E, (uint)_Player.AttackRange + 50);
                R = new Spell.Targeted(SpellSlot.R, (uint)_Player.AttackRange + 50);



                Bootstrap.Init(null);
                Chat.Print("GuTenTak Addon Loading Success", Color.Green);


                Menu = MainMenu.AddMenu("GuTenTak 小炮", "Tristana");
                Menu.AddSeparator();
                Menu.AddLabel("CH汉化-GuTenTak 小炮脚本");

                var Enemies = EntityManager.Heroes.Enemies.Where(a => !a.IsMe).OrderBy(a => a.BaseSkinName);
                ModesMenu1 = Menu.AddSubMenu("菜单", "Modes1Tristana");
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("连招设置");
                ModesMenu1.Add("ComboQ", new CheckBox("连招Q", true));
                ModesMenu1.Add("ComboE", new CheckBox("连招E", true));
                ModesMenu1.Add("ComboEF", new CheckBox("连招强制E目标", true));
                ModesMenu1.Add("ManualR", new KeyBind("半自动 R", false, KeyBind.BindTypes.HoldActive, 'T'));

                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("E 列表");
                foreach (var Enemy in EntityManager.Heroes.Enemies)
                {
                    ModesMenu1.Add(Enemy.ChampionName, new CheckBox("使用E " + Enemy.ChampionName, true));
                }
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("骚扰设置");
                ModesMenu1.Add("HarassEF", new CheckBox("骚扰强制E目标", true));
                ModesMenu1.Add("HarassQ", new CheckBox("骚扰Q", true));
                ModesMenu1.Add("HarassE", new CheckBox("骚扰E", true));
                ModesMenu1.Add("ManaHE", new Slider("E蓝量使用 %", 60));
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("抢头设置");
                ModesMenu1.Add("KS", new CheckBox("开启抢头", true));
                ModesMenu1.Add("KR", new CheckBox("R抢头", true));
                ModesMenu1.Add("KER", new CheckBox("E + R抢头", true));

                ModesMenu2 = Menu.AddSubMenu("尾兵", "Modes2Tristana");
                ModesMenu2.AddLabel("清线设置");
                ModesMenu2.AddSeparator();
                ModesMenu2.Add("FarmEF", new CheckBox("清线E集中目标", true));
                ModesMenu2.Add("FarmQ", new CheckBox("清线Q", true));
                ModesMenu2.Add("FarmE", new CheckBox("清线E", true));
                ModesMenu2.Add("ManaLE", new Slider("E蓝量使用 %", 40));
                ModesMenu2.AddSeparator();
                ModesMenu2.AddLabel("清野设置");
                ModesMenu2.Add("JungleEF", new CheckBox("清野E集中目标", true));
                ModesMenu2.Add("JungleQ", new CheckBox("清野Q", true));
                ModesMenu2.Add("JungleE", new CheckBox("清野E", true));
                ModesMenu2.Add("ManaJE", new Slider("E蓝量使用 %", 40));

                ModesMenu3 = Menu.AddSubMenu("杂项", "Modes3Tristana");
                ModesMenu3.Add("AntiGapW", new CheckBox("W 防突进", true));
                ModesMenu3.Add("AntiGapR", new CheckBox("R 防突进", false));
                ModesMenu3.Add("AntiGapKR", new CheckBox("R 防突进 (螳螂 & 狮子狗)", true));
                ModesMenu3.Add("FleeW", new CheckBox("逃跑使用W", false));

                ModesMenu3.AddSeparator();
                ModesMenu3.AddLabel("换肤");
                ModesMenu3.Add("skinhack", new CheckBox("开启换肤", false));
                ModesMenu3.Add("skinId", new ComboBox("模式", 0, "预设", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10"));

                ModesMenu3.AddLabel("物品使用(连招)");
                ModesMenu3.Add("useYoumuu", new CheckBox("使用幽梦", true));
                ModesMenu3.Add("usehextech", new CheckBox("使用科技枪", true));
                ModesMenu3.Add("useBotrk", new CheckBox("使用破败&弯刀", true));
                ModesMenu3.Add("useQss", new CheckBox("使用水银饰带", true));
                ModesMenu3.Add("minHPBotrk", new Slider("最低血量 % 使用破败", 80));
                ModesMenu3.Add("enemyMinHPBotrk", new Slider("敌人最低血量 % 使用破败", 80));

                ModesMenu3.AddLabel("水银设置");
                ModesMenu3.Add("Qssmode", new ComboBox(" ", 0, "自动", "连招"));
                ModesMenu3.Add("Stun", new CheckBox("晕眩", true));
                ModesMenu3.Add("Blind", new CheckBox("致盲", true));
                ModesMenu3.Add("Charm", new CheckBox("魅惑", true));
                ModesMenu3.Add("Suppression", new CheckBox("压制", true));
                ModesMenu3.Add("Polymorph", new CheckBox("变形", true));
                ModesMenu3.Add("Fear", new CheckBox("恐惧", true));
                ModesMenu3.Add("Taunt", new CheckBox("嘲讽", true));
                ModesMenu3.Add("Silence", new CheckBox("沉默", false));
                ModesMenu3.Add("QssDelay", new Slider("使用水银延迟(毫秒)", 250, 0, 1000));

                ModesMenu3.AddLabel("解大招水银设置");
                ModesMenu3.Add("ZedUlt", new CheckBox("劫 R", true));
                ModesMenu3.Add("VladUlt", new CheckBox("吸血鬼 R", true));
                ModesMenu3.Add("FizzUlt", new CheckBox("小鱼人 R", true));
                ModesMenu3.Add("MordUlt", new CheckBox("金属大师 R", true));
                ModesMenu3.Add("PoppyUlt", new CheckBox("波比 R", true));
                ModesMenu3.Add("QssUltDelay", new Slider("使用水银解大招延迟(毫秒)", 250, 0, 1000));

                DrawMenu = Menu.AddSubMenu("线圈", "DrawTristana");
                DrawMenu.Add("drawA", new CheckBox(" 显示真实普攻距离", true));
                DrawMenu.Add("drawW", new CheckBox(" 显示 W", true));
                DrawMenu.Add("drawE", new CheckBox(" 显示 E 层数", true));
            }

            catch (Exception e)
            {
            }
        }
Пример #7
0
        static void Game_OnStart(EventArgs args)
        {
            Game.OnUpdate          += Game_OnUpdate;
            Drawing.OnDraw         += Game_OnDraw;
            Obj_AI_Base.OnBuffGain += Common.OnBuffGain;
            Game.OnTick            += OnTick;
            Gapcloser.OnGapcloser  += Common.Gapcloser_OnGapCloser;
            Game.OnUpdate          += Common.zigzag;
            SkinBase = Player.Instance.SkinId;
            // Item
            try
            {
                if (ChampionName != PlayerInstance.BaseSkinName)
                {
                    return;
                }

                Q = new Spell.Skillshot(SpellSlot.Q, 825, SkillShotType.Circular, 300, 1000, 250);
                Q.AllowedCollisionCount = int.MaxValue;
                W = new Spell.Skillshot(SpellSlot.W, 800, SkillShotType.Linear, 1800, 1500, 200);
                W.AllowedCollisionCount = int.MaxValue;
                E = new Spell.Active(SpellSlot.E, 600);
                R = new Spell.Skillshot(SpellSlot.R, 1300, SkillShotType.Linear, 200, 1950, 40);
                R.AllowedCollisionCount = 0;



                Bootstrap.Init(null);
                Chat.Print("GuTenTak Addon Loading Success", Color.Green);


                Menu = MainMenu.AddMenu("GuTenTak 飞机", "Corki");
                Menu.AddSeparator();
                Menu.AddLabel("CH汉化-GuTenTak 飞机脚本");

                var Enemies = EntityManager.Heroes.Enemies.Where(a => !a.IsMe).OrderBy(a => a.BaseSkinName);
                ModesMenu1 = Menu.AddSubMenu("菜单", "Modes1Corki");
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("连招设置");
                ModesMenu1.Add("ComboQ", new CheckBox("连招Q", true));
                ModesMenu1.Add("ComboA", new CheckBox("优先普攻(后Q)", false));
                ModesMenu1.Add("ComboE", new CheckBox("连招E", true));
                ModesMenu1.Add("ComboR", new CheckBox("连招R", true));
                ModesMenu1.Add("ManaCE", new Slider("E蓝量使用 %", 30));
                ModesMenu1.AddSeparator();
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("自动骚扰设置");
                ModesMenu1.Add("AutoHarass", new CheckBox("R自动骚扰", false));

                ModesMenu1.Add("ManaAuto", new Slider("R蓝量使用 %", 80));
                ModesMenu1.AddLabel("骚扰设置");
                ModesMenu1.Add("HarassQ", new CheckBox("骚扰Q", true));
                ModesMenu1.Add("ManaHQ", new Slider("Q蓝量使用 %", 40));
                ModesMenu1.Add("HarassR", new CheckBox("骚扰R", true));
                ModesMenu1.Add("ManaHR", new Slider("R蓝量使用 %", 60));
                ModesMenu1.Add("HRStack", new Slider("骚扰时R保存数量 ", 3, 0, 6));

                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("抢头设置");
                ModesMenu1.Add("KS", new CheckBox("开启抢头", true));
                ModesMenu1.Add("KQ", new CheckBox("Q抢头", true));
                ModesMenu1.Add("KR", new CheckBox("R抢头", true));

                ModesMenu2 = Menu.AddSubMenu("尾兵", "Modes2Corki");
                ModesMenu2.AddLabel("清线设置");
                ModesMenu2.Add("ManaL", new Slider("Q蓝量使用 %", 40));
                ModesMenu2.Add("FarmQ", new CheckBox("清线Q", true));
                ModesMenu2.Add("ManaLR", new Slider("R蓝量使用 %", 40));
                ModesMenu2.Add("FarmR", new CheckBox("清线R", true));
                ModesMenu2.AddLabel("清野设置");
                ModesMenu2.Add("ManaJ", new Slider("Q蓝量使用 %", 40));
                ModesMenu2.Add("JungleQ", new CheckBox("清野Q", true));
                ModesMenu2.Add("ManaJR", new Slider("R蓝量使用 %", 40));
                ModesMenu2.Add("JungleR", new CheckBox("清野R", true));
                ModesMenu2.Add("LJRStack", new Slider("清野时R保存数量", 3, 0, 6));

                ModesMenu3 = Menu.AddSubMenu("杂项", "Modes3Corki");
                ModesMenu3.AddLabel("杂项设置");
                ModesMenu3.Add("AntiGap", new CheckBox("W 防突进", true));
                ModesMenu3.AddLabel("逃跑设置");
                ModesMenu3.Add("FleeR", new CheckBox("逃跑使用R", true));
                ModesMenu3.Add("FleeW", new CheckBox("逃跑使用W", true));
                ModesMenu3.Add("ManaFlR", new Slider("R蓝量使用 %", 35));

                ModesMenu3.AddLabel("物品使用(连招)");
                ModesMenu3.Add("useYoumuu", new CheckBox("使用幽梦", true));
                ModesMenu3.Add("usehextech", new CheckBox("使用科技枪", true));
                ModesMenu3.Add("useBotrk", new CheckBox("使用破败&弯刀", true));
                ModesMenu3.Add("useQss", new CheckBox("使用水银饰带", true));
                ModesMenu3.Add("minHPBotrk", new Slider("最低血量 % 使用破败", 80));
                ModesMenu3.Add("enemyMinHPBotrk", new Slider("敌人最低血量 % 使用破败", 80));

                ModesMenu3.AddLabel("水银设置");
                ModesMenu3.Add("Qssmode", new ComboBox(" ", 0, "自动", "连招"));
                ModesMenu3.Add("Stun", new CheckBox("晕眩", true));
                ModesMenu3.Add("Blind", new CheckBox("致盲", true));
                ModesMenu3.Add("Charm", new CheckBox("魅惑", true));
                ModesMenu3.Add("Suppression", new CheckBox("压制", true));
                ModesMenu3.Add("Polymorph", new CheckBox("变形", true));
                ModesMenu3.Add("Fear", new CheckBox("恐惧", true));
                ModesMenu3.Add("Taunt", new CheckBox("嘲讽", true));
                ModesMenu3.Add("Silence", new CheckBox("沉默", false));
                ModesMenu3.Add("QssDelay", new Slider("使用水银延迟(毫秒)", 250, 0, 1000));

                ModesMenu3.AddLabel("解大招水银设置");
                ModesMenu3.Add("ZedUlt", new CheckBox("劫 R", true));
                ModesMenu3.Add("VladUlt", new CheckBox("吸血鬼 R", true));
                ModesMenu3.Add("FizzUlt", new CheckBox("小鱼人 R", true));
                ModesMenu3.Add("MordUlt", new CheckBox("金属大师 R", true));
                ModesMenu3.Add("PoppyUlt", new CheckBox("波比 R", true));
                ModesMenu3.Add("QssUltDelay", new Slider("使用水银解大招延迟(毫秒)", 250, 0, 1000));

                ModesMenu3.AddLabel("换肤");
                ModesMenu3.Add("skinhack", new CheckBox("开启换肤", false));
                ModesMenu3.Add("skinId", new ComboBox("模式", 0, "预设", "1", "2", "3", "4", "5", "6", "7"));

                DrawMenu = Menu.AddSubMenu("线圈", "DrawCorki");
                DrawMenu.Add("drawQ", new CheckBox(" 显示 Q", true));
                DrawMenu.Add("drawW", new CheckBox(" 显示 W", true));
                DrawMenu.Add("drawR", new CheckBox(" 显示 R", false));
                DrawMenu.Add("drawXR", new CheckBox(" 显示 不使用R", true));
                DrawMenu.Add("drawXFleeQ", new CheckBox(" 显示 逃跑不使用Q", false));
            }

            catch (Exception e)
            {
            }
        }
Пример #8
0
        public static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.ChampionName != ChampionName)
            {
                return;
            }
            IsZombie                = PlayerInstance.HasBuff("kogmawicathiansurprise");
            wActive                 = PlayerInstance.HasBuff("kogmawbioarcanebarrage");
            Game.OnUpdate          += Game_OnUpdate;
            Drawing.OnDraw         += Game_OnDraw;
            Obj_AI_Base.OnBuffGain += Common.OnBuffGain;
            Game.OnTick            += OnTick;
            Gapcloser.OnGapcloser  += Common.Gapcloser_OnGapCloser;
            Game.OnUpdate          += Common.zigzag;
            SkinBase                = Player.Instance.SkinId;
            // Item
            try
            {
                if (ChampionName != PlayerInstance.BaseSkinName)
                {
                    return;
                }

                Q = new Spell.Skillshot(SpellSlot.Q, 1000, SkillShotType.Linear, 250, 1650, 70);
                Q.AllowedCollisionCount = 0;
                W = new Spell.Active(SpellSlot.W, (uint)PlayerInstance.GetAutoAttackRange());
                E = new Spell.Skillshot(SpellSlot.E, 1200, SkillShotType.Linear, 500, 1400, 120);
                E.AllowedCollisionCount = int.MaxValue;
                R = new Spell.Skillshot(SpellSlot.R, 1800, SkillShotType.Circular, 1200, int.MaxValue, 120);
                R.AllowedCollisionCount = int.MaxValue;



                Bootstrap.Init(null);
                Chat.Print("GuTenTak Addon Loading Success", Color.Green);


                Menu = MainMenu.AddMenu("GuTenTak KogMaw", "KogMaw");
                Menu.AddSeparator();
                Menu.AddLabel("GuTenTak KogMaw Addon");

                var Enemies = EntityManager.Heroes.Enemies.Where(a => !a.IsMe).OrderBy(a => a.BaseSkinName);
                ModesMenu1 = Menu.AddSubMenu("Menu", "Modes1KogMaw");
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("Combo Configs");
                ModesMenu1.Add("ComboQ", new CheckBox("Use Q on Combo", true));
                ModesMenu1.AddLabel("Use Q Mana >= 80");
                ModesMenu1.Add("ComboW", new CheckBox("Use W on Combo", true));
                ModesMenu1.Add("ComboE", new CheckBox("Use E on Combo", true));
                ModesMenu1.Add("ComboR", new CheckBox("Use R on Combo", true));
                ModesMenu1.Add("LogicRn", new ComboBox(" Use R Enemy Health % <= ", 1, "100%", "55%", "30%"));
                ModesMenu1.Add("ManaCE", new Slider("Use E Mana %", 30));
                ModesMenu1.Add("ManaCR", new Slider("Use R Mana %", 80));
                ModesMenu1.Add("CRStack", new Slider("Combo R stack limit", 3, 1, 6));
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("AutoHarass Configs");
                ModesMenu1.Add("AutoHarass", new CheckBox("Use R on AutoHarass", false));
                ModesMenu1.Add("ARStack", new Slider("Auto R stack limit", 2, 1, 6));
                ModesMenu1.Add("ManaAuto", new Slider("Mana %", 70));

                ModesMenu1.AddLabel("Harass Configs");
                ModesMenu1.Add("HarassQ", new CheckBox("Use Q on Harass", true));
                ModesMenu1.Add("HarassE", new CheckBox("Use E on Harass", true));
                ModesMenu1.Add("HarassR", new CheckBox("Use R on Harass", true));
                ModesMenu1.Add("ManaHE", new Slider("Use E Mana %", 60));
                ModesMenu1.Add("ManaHR", new Slider("Use R Mana %", 60));
                ModesMenu1.Add("HRStack", new Slider("Harass R stack limit", 1, 1, 6));
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("Kill Steal Configs");
                ModesMenu1.Add("KS", new CheckBox("Use KillSteal", true));
                ModesMenu1.Add("KQ", new CheckBox("Use Q on KillSteal", true));
                ModesMenu1.Add("KR", new CheckBox("Use R on KillSteal", true));

                ModesMenu2 = Menu.AddSubMenu("Farm", "Modes2KogMaw");
                ModesMenu2.AddLabel("Lane Clear Config");
                ModesMenu2.Add("ManaL", new Slider("Mana %", 40));
                ModesMenu2.Add("FarmQ", new CheckBox("Use Q on LaneClear", true));
                ModesMenu2.Add("ManaLR", new Slider("Mana %", 40));
                ModesMenu2.Add("FarmR", new CheckBox("Use R on LaneClear", true));
                ModesMenu2.Add("FRStack", new Slider("LaneClear R stack limit", 1, 1, 6));
                ModesMenu2.AddLabel("Jungle Clear Config");
                ModesMenu2.Add("ManaJ", new Slider("Mana %", 40));
                ModesMenu2.Add("JungleQ", new CheckBox("Use Q on JungleClear", true));
                ModesMenu2.Add("ManaJR", new Slider("Mana %", 40));
                ModesMenu2.Add("JungleR", new CheckBox("Use R on JungleClear", true));
                ModesMenu2.Add("JRStack", new Slider("JungleClear R stack limit", 2, 1, 6));

                ModesMenu3 = Menu.AddSubMenu("Misc", "Modes3KogMaw");
                ModesMenu3.AddLabel("Flee Configs");
                ModesMenu3.Add("FleeR", new CheckBox("Use R on Flee", true));
                ModesMenu3.Add("FleeE", new CheckBox("Use E on Flee", true));
                ModesMenu3.Add("ManaFlR", new Slider("R Mana %", 35));
                ModesMenu3.Add("FlRStack", new Slider("Flee R stack limit", 2, 1, 6));

                ModesMenu3.AddLabel("Item Usage on Combo");
                ModesMenu3.Add("useYoumuu", new CheckBox("Use Youmuu", true));
                ModesMenu3.Add("usehextech", new CheckBox("Use Hextech", true));
                ModesMenu3.Add("useBotrk", new CheckBox("Use Botrk & Cutlass", true));
                ModesMenu3.Add("useQss", new CheckBox("Use QuickSilver", true));
                ModesMenu3.Add("minHPBotrk", new Slider("Min health to use Botrk %", 80));
                ModesMenu3.Add("enemyMinHPBotrk", new Slider("Min enemy health to use Botrk %", 80));

                ModesMenu3.AddLabel("QSS Configs");
                ModesMenu3.Add("Qssmode", new ComboBox(" ", 0, "Auto", "Combo"));
                ModesMenu3.Add("Stun", new CheckBox("Stun", true));
                ModesMenu3.Add("Blind", new CheckBox("Blind", true));
                ModesMenu3.Add("Charm", new CheckBox("Charm", true));
                ModesMenu3.Add("Suppression", new CheckBox("Suppression", true));
                ModesMenu3.Add("Polymorph", new CheckBox("Polymorph", true));
                ModesMenu3.Add("Fear", new CheckBox("Fear", true));
                ModesMenu3.Add("Taunt", new CheckBox("Taunt", true));
                ModesMenu3.Add("Silence", new CheckBox("Silence", false));
                ModesMenu3.Add("QssDelay", new Slider("Use QSS Delay(ms)", 250, 0, 1000));

                ModesMenu3.AddLabel("QSS Ult Configs");
                ModesMenu3.Add("ZedUlt", new CheckBox("Zed R", true));
                ModesMenu3.Add("VladUlt", new CheckBox("Vladimir R", true));
                ModesMenu3.Add("FizzUlt", new CheckBox("Fizz R", true));
                ModesMenu3.Add("MordUlt", new CheckBox("Mordekaiser R", true));
                ModesMenu3.Add("PoppyUlt", new CheckBox("Poppy R", true));
                ModesMenu3.Add("QssUltDelay", new Slider("Use QSS Delay(ms) for Ult", 250, 0, 1000));

                ModesMenu3.AddLabel("Skin Hack");
                ModesMenu3.Add("skinhack", new CheckBox("Activate Skin hack", false));
                ModesMenu3.Add("skinId", new ComboBox("Skin Mode", 0, "Default", "1", "2", "3", "4", "5", "6", "7", "8"));

                DrawMenu = Menu.AddSubMenu("Draws", "DrawKogMaw");
                DrawMenu.Add("drawQ", new CheckBox(" Draw Q", true));
                DrawMenu.Add("drawW", new CheckBox(" Draw W", true));
                DrawMenu.Add("drawR", new CheckBox(" Draw R", false));
                DrawMenu.Add("drawXR", new CheckBox(" Draw Don't Use R", true));
                DrawMenu.Add("drawXFleeQ", new CheckBox(" Draw Don't Use Flee Q", false));
            }

            catch (Exception)
            {
            }
        }
Пример #9
0
        static void Game_OnStart(EventArgs args)
        {
            if (ChampionName != Player.Instance.BaseSkinName)
            {
                return;
            }

            Game.OnUpdate          += Game_OnUpdate;
            Drawing.OnDraw         += Game_OnDraw;
            Obj_AI_Base.OnBuffGain += Common.OnBuffGain;
            Gapcloser.OnGapcloser  += Common.Gapcloser_OnGapCloser;
            Game.OnTick            += OnTick;
            // Item
            SkinBase = Player.Instance.SkinId;
            try
            {
                Q = new Spell.Skillshot(SpellSlot.Q, 1150, SkillShotType.Linear, 250, 2000, 60);
                Q.AllowedCollisionCount = 0;
                W = new Spell.Skillshot(SpellSlot.W, 1000, SkillShotType.Linear, 250, 1600, 80);
                W.AllowedCollisionCount = int.MaxValue;
                E = new Spell.Skillshot(SpellSlot.E, 475, SkillShotType.Linear);
                E.AllowedCollisionCount = int.MaxValue;
                R = new Spell.Skillshot(SpellSlot.R, 3000, SkillShotType.Linear, 1000, 2000, 160);
                R.AllowedCollisionCount = int.MaxValue;



                Bootstrap.Init(null);
                Chat.Print("GuTenTak Addon Loading Success", Color.Green);


                Menu = MainMenu.AddMenu("GuTenTak Ezreal", "Ezreal");
                Menu.AddSeparator();
                Menu.AddLabel("GuTenTak Ezreal Addon");

                var Enemies = EntityManager.Heroes.Enemies.Where(a => !a.IsMe).OrderBy(a => a.BaseSkinName);
                ModesMenu1 = Menu.AddSubMenu("Menu", "Modes1Ezreal");
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("Kombo Ayarları");
                ModesMenu1.Add("ComboQ", new CheckBox("Q Kullan", true));
                ModesMenu1.Add("ComboA", new CheckBox("AA Kullan => Q Kombo", false));
                ModesMenu1.Add("ComboW", new CheckBox("W Kullan", true));
                ModesMenu1.Add("ComboR", new CheckBox("R Kullan", true));
                ModesMenu1.Add("ManaCW", new Slider("W için mana %", 30));
                ModesMenu1.Add("RCount", new Slider("R için düşman sayısı >=", 3, 2, 5));
                ModesMenu1.AddSeparator();
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("Otomatik dürtme Ayarları");
                ModesMenu1.Add("AutoHarass", new CheckBox("Otomatik dürtme Q", false));

                ModesMenu1.Add("ManaAuto", new Slider("Mana %", 80));
                ModesMenu1.AddLabel("Dürtme Ayarları");
                ModesMenu1.Add("HarassQ", new CheckBox("Q Kullan", true));
                ModesMenu1.Add("ManaHQ", new Slider("Mana %", 40));
                ModesMenu1.Add("HarassW", new CheckBox("W Kullan", true));
                ModesMenu1.Add("ManaHW", new Slider("Mana %", 60));
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("Kill Çalma Ayarları");
                ModesMenu1.Add("KS", new CheckBox("Use KillSteal", true));
                ModesMenu1.Add("KQ", new CheckBox("KS'de Q Kullan", true));
                ModesMenu1.Add("KW", new CheckBox("KS'de W Kullan", true));
                ModesMenu1.Add("KR", new CheckBox("KS'de R Kullan", true));

                ModesMenu2 = Menu.AddSubMenu("Farm", "Modes2Ezreal");
                ModesMenu2.AddLabel("SonVuruş Ayarları");
                ModesMenu2.Add("ManaF", new Slider("Mana %", 60));
                ModesMenu2.Add("LastQ", new CheckBox("Q Kullan", true));
                ModesMenu2.AddLabel("LaneTemizleme Ayarları");
                ModesMenu2.Add("ManaL", new Slider("Mana %", 40));
                ModesMenu2.Add("FarmQ", new CheckBox("Q Kullan", true));
                ModesMenu2.AddLabel("OrmanTemizleme Ayarları");
                ModesMenu2.Add("ManaJ", new Slider("Mana %", 40));
                ModesMenu2.Add("JungleQ", new CheckBox("Q Kullan", true));

                ModesMenu3 = Menu.AddSubMenu("Misc", "Modes3Ezreal");
                ModesMenu3.AddLabel("ek Ayarları");
                ModesMenu3.Add("AntiGap", new CheckBox("Use E for Anti-Gapcloser", true));
                ModesMenu3.Add("StackTear", new CheckBox("Auto StackTear in Shop ", true));
                ModesMenu3.AddLabel("Flee Ayarları");
                ModesMenu3.Add("FleeQ", new CheckBox("Kaçarken Q ", true));
                ModesMenu3.Add("FleeE", new CheckBox("E Kullan", true));
                ModesMenu3.Add("ManaFlQ", new Slider("Q Mana %", 35));

                ModesMenu3.AddLabel("Komboda kullnaılacak itemler");
                ModesMenu3.Add("useYoumuu", new CheckBox("Kullan Youmuu", true));
                ModesMenu3.Add("usehextech", new CheckBox("Kullan Hextech", true));
                ModesMenu3.Add("useBotrk", new CheckBox("Kullan Mahvolmuş", true));
                ModesMenu3.Add("useQss", new CheckBox("Use QuickSilver", true));
                ModesMenu3.Add("minHPBotrk", new Slider("Mahvolmuş için gereken can %", 80));
                ModesMenu3.Add("enemyMinHPBotrk", new Slider("Mahvolmuş için gereken düşman can %", 80));

                ModesMenu3.AddLabel("QSS Ayarları");
                ModesMenu3.Add("Qssmode", new ComboBox(" ", 0, "Auto", "Combo"));
                ModesMenu3.Add("Stun", new CheckBox("Sabit", true));
                ModesMenu3.Add("Blind", new CheckBox("Kör", true));
                ModesMenu3.Add("Charm", new CheckBox("Çekicilik(ahri)", true));
                ModesMenu3.Add("Suppression", new CheckBox("Suppression", true));
                ModesMenu3.Add("Polymorph", new CheckBox("Polymorph", true));
                ModesMenu3.Add("Fear", new CheckBox("Korku", true));
                ModesMenu3.Add("Taunt", new CheckBox("Alaycı", true));
                ModesMenu3.Add("Silence", new CheckBox("Sessiz", false));
                ModesMenu3.Add("QssDelay", new Slider("QSS gecikmesi(ms)", 250, 0, 1000));

                ModesMenu3.AddLabel("QSS Ult Ayarları");
                ModesMenu3.Add("ZedUlt", new CheckBox("Zed R", true));
                ModesMenu3.Add("VladUlt", new CheckBox("Vladimir R", true));
                ModesMenu3.Add("FizzUlt", new CheckBox("Fizz R", true));
                ModesMenu3.Add("MordUlt", new CheckBox("Mordekaiser R", true));
                ModesMenu3.Add("PoppyUlt", new CheckBox("Poppy R", true));
                ModesMenu3.Add("QssUltDelay", new Slider("Kullan QSS Gecikmesi(ms) Ulti için", 250, 0, 1000));

                ModesMenu3.AddLabel("Skin Hack");
                ModesMenu3.Add("skinhack", new CheckBox("Aktif Skin hack", false));
                ModesMenu3.Add("skinId", new ComboBox("Skin Mode", 0, "Default", "1", "2", "3", "4", "5", "6", "7", "8"));

                DrawMenu = Menu.AddSubMenu("Draws", "DrawEzreal");
                DrawMenu.Add("drawQ", new CheckBox(" Göster Q", true));
                DrawMenu.Add("drawW", new CheckBox(" Göster W", true));
                DrawMenu.Add("drawR", new CheckBox(" Göster R", false));
                DrawMenu.Add("drawXR", new CheckBox(" Göster R kullanmadında", true));
                DrawMenu.Add("drawXFleeQ", new CheckBox(" Göster kaçarken Q gösterme", false));
            }

            catch (Exception e)
            {
            }
        }
        static void Game_OnStart(EventArgs args)
        {
            if (ChampionName != Player.Instance.BaseSkinName)
            {
                return;
            }

            Game.OnUpdate += Game_OnUpdate;

            /*Drawing.OnDraw += Game_OnDraw;
             * Obj_AI_Base.OnBuffGain += Common.OnBuffGain;
             * Gapcloser.OnGapcloser += Common.Gapcloser_OnGapCloser;
             * Game.OnTick += Common.ItemUsage;
             * SkinBase = Player.Instance.SkinId;*/
            try
            {
                Q = new Spell.Skillshot(SpellSlot.Q, 1150, SkillShotType.Linear, 250, 2000, 60);
                Q.AllowedCollisionCount = 0;
                W = new Spell.Skillshot(SpellSlot.W, 1000, SkillShotType.Linear, 250, 1600, 80);
                W.AllowedCollisionCount = int.MaxValue;
                E = new Spell.Skillshot(SpellSlot.E, 475, SkillShotType.Linear);
                E.AllowedCollisionCount = int.MaxValue;
                R = new Spell.Skillshot(SpellSlot.R, 3000, SkillShotType.Linear, 1000, 2000, 160);
                R.AllowedCollisionCount = int.MaxValue;

                Bootstrap.Init(null);
                Chat.Print("Script Yüklendi - Hadi gene İyisin", Color.Yellow);

                Menu = MainMenu.AddMenu("EzGame-Ezreal", "Ezreal");
                Menu.AddSeparator();
                Menu.AddLabel("Bu Script sadece Ezreal içindir. İlginize göre yakında başka şampiyonlardada çıkarıcam.");
                Menu.AddLabel("***************");
                Menu.AddLabel("Hangi karakterde script istediğinizi 'www.facebook.com/PratikHackOfficial' sayfasına mesaj atınız. ");

                //var Enemies = EntityManager.Heroes.Enemies.Where(a => !a.IsMe).OrderBy(a => a.BaseSkinName);
                ModesMenu1 = Menu.AddSubMenu("Menü", "Modes1Ezreal");
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("Kombo Menüsü");
                ModesMenu1.Add("ComboQ", new CheckBox("Komboda Q kullan", true));
                ModesMenu1.Add("ComboA", new CheckBox("Kite attığın hedefe Q kullan öncelikli olarak", false));
                ModesMenu1.Add("ComboW", new CheckBox("Komboda W kullan", true));
                ModesMenu1.Add("ComboR", new CheckBox("Komboda R kullan", true));
                ModesMenu1.Add("ManaCW", new Slider("W kullanmak için mana sınırı %", 30));
                ModesMenu1.Add("RCount", new Slider("R kaç hedefe isabet etsin >=", 3, 2, 5));
                ModesMenu1.AddSeparator();
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("Otomatik Dürtme ayarları");
                ModesMenu1.Add("AutoHarass", new CheckBox("Otomatik Q at", false));

                ModesMenu1.Add("ManaAuto", new Slider("Mana %", 80));
                ModesMenu1.AddLabel("Dürtme Ayarları");
                ModesMenu1.Add("HarassQ", new CheckBox("Dürterken Q at", true));
                ModesMenu1.Add("ManaHQ", new Slider("Mana %", 40));
                ModesMenu1.Add("HarassW", new CheckBox("dürterken W at", true));
                ModesMenu1.Add("ManaHW", new Slider("Mana %", 60));
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("Kill Çalma");
                ModesMenu1.Add("KS", new CheckBox("Kill Çalma ", true));
                ModesMenu1.Add("KQ", new CheckBox("Kill Çalmak için Q at", true));
                ModesMenu1.Add("KW", new CheckBox("Kill Çalmak için W at", true));
                ModesMenu1.Add("KR", new CheckBox("Kill Çalmak için R at", true));

                ModesMenu2 = Menu.AddSubMenu("Farm", "Modes2Ezreal");
                ModesMenu2.AddLabel("SonVurus ayarları");
                ModesMenu2.Add("ManaF", new Slider("Mana %", 60));
                ModesMenu2.Add("LastQ", new CheckBox("Q ile son vurus Yap", true));
                ModesMenu2.AddLabel("Lane temizle");
                ModesMenu2.Add("ManaL", new Slider("Mana %", 40));
                ModesMenu2.Add("FarmQ", new CheckBox("Koridor temizlerken Q kullan", true));
                ModesMenu2.AddLabel("Orman");
                ModesMenu2.Add("ManaJ", new Slider("Mana %", 40));
                ModesMenu2.Add("JungleQ", new CheckBox("Orman Temizlerken Q kullan", true));

                ModesMenu3 = Menu.AddSubMenu("Cesitli", "Modes3Ezreal");
                ModesMenu3.AddLabel("**PratikHack**");
                ModesMenu3.Add("AntiGap", new CheckBox("E kullan", true));
                ModesMenu3.Add("StackTear", new CheckBox("Otomatik Stack kas - (12 lvlden sonra açın) .", true));
                ModesMenu3.AddLabel("Vurkaç");
                ModesMenu3.Add("FleeQ", new CheckBox("Kaçarken Q at", true));
                ModesMenu3.Add("FleeOQ", new CheckBox("Kaçarken hedef kitele ve ona Q at", true));
                ModesMenu3.Add("FleeE", new CheckBox("Kaçarken E kullan", true));
                //ModesMenu3.Add("BlockE", new CheckBox("Block EnemyUnderTurret", false));
                ModesMenu3.Add("ManaFlQ", new Slider("Q Mana %", 35));

                ModesMenu3.AddLabel("Komboda itemleri kullan");
                ModesMenu3.Add("useItems", new CheckBox("Kullanılıcak itemler", true));
                ModesMenu3.AddSeparator(1);
                ModesMenu3.Add("useYoumuu", new CheckBox("Yoummu hayalet kılıç", true));
                ModesMenu3.Add("usehextech", new CheckBox("Hextech birimleri kullan", true));
                ModesMenu3.Add("useBotrk", new CheckBox("Mahvolmuş kralın kılıcı", true));
                ModesMenu3.Add("minHPBotrk", new Slider("Minimum can oranı kaçtayken %", 80));
                ModesMenu3.Add("enemyMinHPBotrk", new Slider("Minimum rakibin can oranı kaçtayken %", 80));

                ModesMenu3.AddLabel("QSS Ayarı");
                ModesMenu3.Add("useQss", new CheckBox("CıvaYatağanKullan", true));
                ModesMenu3.AddSeparator(1);
                ModesMenu3.Add("Qssmode", new ComboBox(" ", 0, "Otomatik", "Kombo"));
                ModesMenu3.Add("Stun", new CheckBox("Stun ", true));
                ModesMenu3.Add("Blind", new CheckBox("Kör", true));
                ModesMenu3.Add("Charm", new CheckBox("Cazibe", true));
                ModesMenu3.Add("Suppression", new CheckBox("Baskı", true));
                ModesMenu3.Add("Polymorph", new CheckBox("Polimörf", true));
                ModesMenu3.Add("Fear", new CheckBox("Korkutma", true));
                ModesMenu3.Add("Taunt", new CheckBox("Kışkırtma", true));
                ModesMenu3.Add("Silence", new CheckBox("Susturma", false));
                ModesMenu3.Add("QssDelay", new Slider("CıvaYatağan kullanım gecikmesi (ms)", 250, 0, 1000));

                ModesMenu3.AddLabel("Ultilere karşı CıvaYatağan Kullanımı");
                ModesMenu3.Add("ZedUlt", new CheckBox("Zed R", true));
                ModesMenu3.Add("VladUlt", new CheckBox("Vladimir R", true));
                ModesMenu3.Add("FizzUlt", new CheckBox("Fizz R", true));
                ModesMenu3.Add("MordUlt", new CheckBox("Mordekaiser R", true));
                ModesMenu3.Add("PoppyUlt", new CheckBox("Poppy R", true));
                ModesMenu3.Add("QssUltDelay", new Slider("Kullanım gecikmesi ", 250, 0, 1000));

                ModesMenu3.AddLabel("---KOSTÜM HACK---");
                ModesMenu3.Add("skinhack", new CheckBox("SkinHack aktifleştir", false));
                ModesMenu3.Add("skinId", new ComboBox("Skin numarası", 0, "Klasik", "1", "2", "3", "4", "5", "6", "7", "8"));

                DrawMenu = Menu.AddSubMenu("Sınır", "DrawEzreal");
                DrawMenu.Add("usedraw", new CheckBox("Sınırları aktifleştir", true));
                DrawMenu.AddSeparator(1);
                DrawMenu.Add("drawQ", new CheckBox(" Q sınırı göster", true));
                DrawMenu.Add("drawW", new CheckBox(" W sınırı göster", true));
                DrawMenu.Add("drawR", new CheckBox(" R sınırı göster", true));
                DrawMenu.Add("drawXR", new CheckBox(" kullanmadan R sınırı göster", false));
                DrawMenu.Add("drawXFleeQ", new CheckBox(" Kaçarken Q sınırı gösterme", false));

                if (ModesMenu3["useQss"].Cast <CheckBox>().CurrentValue)
                {
                    Obj_AI_Base.OnBuffGain += Common.OnBuffGain;
                }
                ModesMenu3["useQss"].Cast <CheckBox>().OnValueChange += (sender, vargs) =>
                {
                    if (vargs.NewValue)
                    {
                        Obj_AI_Base.OnBuffGain += Common.OnBuffGain;
                    }
                    else
                    {
                        Obj_AI_Base.OnBuffGain -= Common.OnBuffGain;
                    }
                };

                if (ModesMenu3["useItems"].Cast <CheckBox>().CurrentValue)
                {
                    Game.OnTick += Common.ItemUsage;
                }
                ModesMenu3["useItems"].Cast <CheckBox>().OnValueChange += (sender, vargs) =>
                {
                    if (vargs.NewValue)
                    {
                        Game.OnTick += Common.ItemUsage;
                    }
                    else
                    {
                        Game.OnTick -= Common.ItemUsage;
                    }
                };

                if (DrawMenu["usedraw"].Cast <CheckBox>().CurrentValue)
                {
                    Drawing.OnDraw += Game_OnDraw;
                }
                DrawMenu["usedraw"].Cast <CheckBox>().OnValueChange += (sender, vargs) =>
                {
                    if (vargs.NewValue)
                    {
                        Drawing.OnDraw += Game_OnDraw;
                    }
                    else
                    {
                        Drawing.OnDraw -= Game_OnDraw;
                    }
                };

                if (ModesMenu3["AntiGap"].Cast <CheckBox>().CurrentValue)
                {
                    Gapcloser.OnGapcloser += Common.Gapcloser_OnGapCloser;
                }
                ModesMenu3["AntiGap"].Cast <CheckBox>().OnValueChange += (sender, vargs) =>
                {
                    if (vargs.NewValue)
                    {
                        Gapcloser.OnGapcloser += Common.Gapcloser_OnGapCloser;
                    }
                    else
                    {
                        Gapcloser.OnGapcloser -= Common.Gapcloser_OnGapCloser;
                    }
                };

                if (ModesMenu1["KS"].Cast <CheckBox>().CurrentValue)
                {
                    Game.OnTick += Common.KillSteal;
                }
                ModesMenu1["KS"].Cast <CheckBox>().OnValueChange += (sender, vargs) =>
                {
                    if (vargs.NewValue)
                    {
                        Game.OnTick += Common.KillSteal;
                    }
                    else
                    {
                        Game.OnTick -= Common.KillSteal;
                    }
                };

                if (ModesMenu1["ComboA"].Cast <CheckBox>().CurrentValue)
                {
                    Orbwalker.OnPostAttack += Common.Orbwalker_OnPostAttack;
                }
                ModesMenu1["ComboA"].Cast <CheckBox>().OnValueChange += (sender, vargs) =>
                {
                    if (vargs.NewValue)
                    {
                        Orbwalker.OnPostAttack += Common.Orbwalker_OnPostAttack;
                    }
                    else
                    {
                        Orbwalker.OnPostAttack -= Common.Orbwalker_OnPostAttack;
                    }
                };

                if (ModesMenu3["StackTear"].Cast <CheckBox>().CurrentValue)
                {
                    Game.OnTick += Common.StackTear;
                }
                ModesMenu3["StackTear"].Cast <CheckBox>().OnValueChange += (sender, vargs) =>
                {
                    if (vargs.NewValue)
                    {
                        Game.OnTick += Common.StackTear;
                    }
                    else
                    {
                        Game.OnTick -= Common.StackTear;
                    }
                };

                if (ModesMenu3["skinhack"].Cast <CheckBox>().CurrentValue)
                {
                    Player.SetSkinId(ModesMenu3["skinId"].Cast <ComboBox>().CurrentValue);
                }
                ModesMenu3["skinId"].Cast <ComboBox>().OnValueChange += (sender, vargs) =>
                {
                    if (ModesMenu3["skinhack"].Cast <CheckBox>().CurrentValue)
                    {
                        Player.SetSkinId(vargs.NewValue);
                    }
                };
                ModesMenu3["skinhack"].Cast <CheckBox>().OnValueChange += (sender, vargs) =>
                {
                    if (vargs.NewValue)
                    {
                        Player.SetSkinId(ModesMenu3["skinId"].Cast <ComboBox>().CurrentValue);
                    }
                    else
                    {
                        Player.SetSkinId(0);
                    }
                };

                if (ModesMenu1["AutoHarass"].Cast <CheckBox>().CurrentValue)
                {
                    Game.OnTick += Common.AutoQ;
                }
                ModesMenu1["AutoHarass"].Cast <CheckBox>().OnValueChange += (sender, vargs) =>
                {
                    if (vargs.NewValue)
                    {
                        Game.OnTick += Common.AutoQ;
                    }
                    else
                    {
                        Game.OnTick -= Common.AutoQ;
                    }
                };
            }

            catch (Exception e)
            {
                Console.WriteLine(e.StackTrace);
            }
        }
Пример #11
0
        static void Game_OnStart(EventArgs args)
        {
            if (ChampionName != Player.Instance.BaseSkinName)
            {
                return;
            }

            Game.OnUpdate += Game_OnUpdate;

            /*Drawing.OnDraw += Game_OnDraw;
             * Obj_AI_Base.OnBuffGain += Common.OnBuffGain;
             * Gapcloser.OnGapcloser += Common.Gapcloser_OnGapCloser;
             * Game.OnTick += Common.ItemUsage;
             * SkinBase = Player.Instance.SkinId;*/
            try
            {
                Q = new Spell.Skillshot(SpellSlot.Q, 1150, SkillShotType.Linear, 250, 2000, 60);
                Q.AllowedCollisionCount = 0;
                W = new Spell.Skillshot(SpellSlot.W, 1000, SkillShotType.Linear, 250, 1600, 80);
                W.AllowedCollisionCount = int.MaxValue;
                E = new Spell.Skillshot(SpellSlot.E, 475, SkillShotType.Linear);
                E.AllowedCollisionCount = int.MaxValue;
                R = new Spell.Skillshot(SpellSlot.R, 3000, SkillShotType.Linear, 1000, 2000, 160);
                R.AllowedCollisionCount = int.MaxValue;

                Bootstrap.Init(null);
                Chat.Print("GuTenTak Ezrael yuklendi.Keyifli oyunlar.Ceviri TekinTR", Color.Green);

                Menu = MainMenu.AddMenu("GuTenTak Ezreal", "Ezreal");
                Menu.AddSeparator();
                Menu.AddLabel("GuTenTak Ezreal Addon");

                //var Enemies = EntityManager.Heroes.Enemies.Where(a => !a.IsMe).OrderBy(a => a.BaseSkinName);
                ModesMenu1 = Menu.AddSubMenu("Menu", "Modes1Ezreal");
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("Combo Configs");
                ModesMenu1.Add("ComboQ", new CheckBox("Komboda Q kullan", true));
                ModesMenu1.Add("ComboA", new CheckBox("Kullan AA => Q Kombosu", false));
                ModesMenu1.Add("ComboW", new CheckBox("Komboda W kullan", true));
                ModesMenu1.Add("ComboR", new CheckBox("Komboda R kullan", true));
                ModesMenu1.Add("ManaCW", new Slider("W icin mana %", 30));
                ModesMenu1.Add("RCount", new Slider("R kac dusmana carpsin >=", 3, 2, 5));
                ModesMenu1.AddSeparator();
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("AutoHarass Configs");
                ModesMenu1.Add("AutoHarass", new CheckBox("Oto durtmede Q kullan", false));

                ModesMenu1.Add("ManaAuto", new Slider("Mana %", 80));
                ModesMenu1.AddLabel("Harass Configs");
                ModesMenu1.Add("HarassQ", new CheckBox("Durterken Q kullan", true));
                ModesMenu1.Add("ManaHQ", new Slider("Mana %", 40));
                ModesMenu1.Add("HarassW", new CheckBox("Durterken W kullan", true));
                ModesMenu1.Add("ManaHW", new Slider("Mana %", 60));
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("Kill Steal Configs");
                ModesMenu1.Add("KS", new CheckBox("Kullan KillSteal", true));
                ModesMenu1.Add("KQ", new CheckBox("Q ile oldur", true));
                ModesMenu1.Add("KW", new CheckBox("W ile oldur", true));
                ModesMenu1.Add("KR", new CheckBox("R ile oldur", true));

                ModesMenu2 = Menu.AddSubMenu("Farm", "Modes2Ezreal");
                ModesMenu2.AddLabel("LastHit Configs");
                ModesMenu2.Add("ManaF", new Slider("Mana %", 60));
                ModesMenu2.Add("LastQ", new CheckBox("Minyona son vurus Q ile", true));
                ModesMenu2.AddLabel("Lane Clear Config");
                ModesMenu2.Add("ManaL", new Slider("Mana %", 40));
                ModesMenu2.Add("FarmQ", new CheckBox("Q ile koridor ittir", true));
                ModesMenu2.AddLabel("Jungle Clear Config");
                ModesMenu2.Add("ManaJ", new Slider("Mana %", 40));
                ModesMenu2.Add("JungleQ", new CheckBox("Q ile orman temizle", true));

                ModesMenu3 = Menu.AddSubMenu("Misc", "Modes3Ezreal");
                ModesMenu3.AddLabel("Misc Configs");
                ModesMenu3.Add("AntiGap", new CheckBox("Atilma yapanlara E kullan", true));
                ModesMenu3.Add("StackTear", new CheckBox("Otomatik gozyasi kas", true));
                ModesMenu3.AddLabel("Flee Configs");
                ModesMenu3.Add("FleeQ", new CheckBox("Kacarken Q kullan", true));
                ModesMenu3.Add("FleeOQ", new CheckBox("Kacarken Q yu sadece sampiyonlara", true));
                ModesMenu3.Add("FleeE", new CheckBox("Kacarkern E kullan", true));
                //ModesMenu3.Add("BlockE", new CheckBox("Block EnemyUnderTurret", false));
                ModesMenu3.Add("ManaFlQ", new Slider("Q Mana %", 35));

                ModesMenu3.AddLabel("Item Usage on Combo");
                ModesMenu3.Add("useItems", new CheckBox("Item Kullan", true));
                ModesMenu3.AddSeparator(1);
                ModesMenu3.Add("useYoumuu", new CheckBox("Kullan Youmuu", true));
                ModesMenu3.Add("usehextech", new CheckBox("Kullan Hextech", true));
                ModesMenu3.Add("useBotrk", new CheckBox("Kullan Botrk & Cutlass", true));
                ModesMenu3.Add("minHPBotrk", new Slider("Canim sundan dusukse kullan Botrk %", 80));
                ModesMenu3.Add("enemyMinHPBotrk", new Slider("Dusmanin cani sundan dusukse kullan Botrk %", 80));

                ModesMenu3.AddLabel("QSS Configs");
                ModesMenu3.Add("useQss", new CheckBox("Kullan Civali", true));
                ModesMenu3.AddSeparator(1);
                ModesMenu3.Add("Qssmode", new ComboBox(" ", 0, "Auto", "Combo"));
                ModesMenu3.Add("Stun", new CheckBox("Stan", true));
                ModesMenu3.Add("Blind", new CheckBox("Kör", true));
                ModesMenu3.Add("Charm", new CheckBox("Ayartma", true));
                ModesMenu3.Add("Suppression", new CheckBox("Durdurma", true));
                ModesMenu3.Add("Polymorph", new CheckBox("Polymorph", true));
                ModesMenu3.Add("Fear", new CheckBox("Korku", true));
                ModesMenu3.Add("Taunt", new CheckBox("Taunt", true));
                ModesMenu3.Add("Silence", new CheckBox("Susturma", false));
                ModesMenu3.Add("QssDelay", new Slider("Use QSS Delay(ms)", 250, 0, 1000));

                ModesMenu3.AddLabel("QSS Ult Configs");
                ModesMenu3.Add("ZedUlt", new CheckBox("Zed R", true));
                ModesMenu3.Add("VladUlt", new CheckBox("Vladimir R", true));
                ModesMenu3.Add("FizzUlt", new CheckBox("Fizz R", true));
                ModesMenu3.Add("MordUlt", new CheckBox("Mordekaiser R", true));
                ModesMenu3.Add("PoppyUlt", new CheckBox("Poppy R", true));
                ModesMenu3.Add("QssUltDelay", new Slider("Use QSS Delay(ms) for Ult", 250, 0, 1000));

                ModesMenu3.AddLabel("Skin Hack");
                ModesMenu3.Add("skinhack", new CheckBox("Skin secme aktif", false));
                ModesMenu3.Add("skinId", new ComboBox("Skin Mode", 0, "Default", "1", "2", "3", "4", "5", "6", "7", "8"));

                DrawMenu = Menu.AddSubMenu("Draws", "DrawEzreal");
                DrawMenu.Add("usedraw", new CheckBox("Gostergeler Aktif", true));
                DrawMenu.AddSeparator(1);
                DrawMenu.Add("drawQ", new CheckBox(" Goster Q", true));
                DrawMenu.Add("drawW", new CheckBox(" Goster W", true));
                DrawMenu.Add("drawR", new CheckBox(" Goster R", false));
                DrawMenu.Add("drawXR", new CheckBox(" R icin gosterge kullanma", true));
                DrawMenu.Add("drawXFleeQ", new CheckBox(" Q ile kacarken gosterge kullanma", false));

                if (ModesMenu3["useQss"].Cast <CheckBox>().CurrentValue)
                {
                    Obj_AI_Base.OnBuffGain += Common.OnBuffGain;
                }
                ModesMenu3["useQss"].Cast <CheckBox>().OnValueChange += (sender, vargs) =>
                {
                    if (vargs.NewValue)
                    {
                        Obj_AI_Base.OnBuffGain += Common.OnBuffGain;
                    }
                    else
                    {
                        Obj_AI_Base.OnBuffGain -= Common.OnBuffGain;
                    }
                };

                if (ModesMenu3["useItems"].Cast <CheckBox>().CurrentValue)
                {
                    Game.OnTick += Common.ItemUsage;
                }
                ModesMenu3["useItems"].Cast <CheckBox>().OnValueChange += (sender, vargs) =>
                {
                    if (vargs.NewValue)
                    {
                        Game.OnTick += Common.ItemUsage;
                    }
                    else
                    {
                        Game.OnTick -= Common.ItemUsage;
                    }
                };

                if (DrawMenu["usedraw"].Cast <CheckBox>().CurrentValue)
                {
                    Drawing.OnDraw += Game_OnDraw;
                }
                DrawMenu["usedraw"].Cast <CheckBox>().OnValueChange += (sender, vargs) =>
                {
                    if (vargs.NewValue)
                    {
                        Drawing.OnDraw += Game_OnDraw;
                    }
                    else
                    {
                        Drawing.OnDraw -= Game_OnDraw;
                    }
                };

                if (ModesMenu3["AntiGap"].Cast <CheckBox>().CurrentValue)
                {
                    Gapcloser.OnGapcloser += Common.Gapcloser_OnGapCloser;
                }
                ModesMenu3["AntiGap"].Cast <CheckBox>().OnValueChange += (sender, vargs) =>
                {
                    if (vargs.NewValue)
                    {
                        Gapcloser.OnGapcloser += Common.Gapcloser_OnGapCloser;
                    }
                    else
                    {
                        Gapcloser.OnGapcloser -= Common.Gapcloser_OnGapCloser;
                    }
                };

                if (ModesMenu1["KS"].Cast <CheckBox>().CurrentValue)
                {
                    Game.OnTick += Common.KillSteal;
                }
                ModesMenu1["KS"].Cast <CheckBox>().OnValueChange += (sender, vargs) =>
                {
                    if (vargs.NewValue)
                    {
                        Game.OnTick += Common.KillSteal;
                    }
                    else
                    {
                        Game.OnTick -= Common.KillSteal;
                    }
                };

                if (ModesMenu1["ComboA"].Cast <CheckBox>().CurrentValue)
                {
                    Orbwalker.OnPostAttack += Common.Orbwalker_OnPostAttack;
                }
                ModesMenu1["ComboA"].Cast <CheckBox>().OnValueChange += (sender, vargs) =>
                {
                    if (vargs.NewValue)
                    {
                        Orbwalker.OnPostAttack += Common.Orbwalker_OnPostAttack;
                    }
                    else
                    {
                        Orbwalker.OnPostAttack -= Common.Orbwalker_OnPostAttack;
                    }
                };

                if (ModesMenu3["StackTear"].Cast <CheckBox>().CurrentValue)
                {
                    Game.OnTick += Common.StackTear;
                }
                ModesMenu3["StackTear"].Cast <CheckBox>().OnValueChange += (sender, vargs) =>
                {
                    if (vargs.NewValue)
                    {
                        Game.OnTick += Common.StackTear;
                    }
                    else
                    {
                        Game.OnTick -= Common.StackTear;
                    }
                };

                if (ModesMenu3["skinhack"].Cast <CheckBox>().CurrentValue)
                {
                    Player.SetSkinId(ModesMenu3["skinId"].Cast <ComboBox>().CurrentValue);
                }
                ModesMenu3["skinId"].Cast <ComboBox>().OnValueChange += (sender, vargs) =>
                {
                    if (ModesMenu3["skinhack"].Cast <CheckBox>().CurrentValue)
                    {
                        Player.SetSkinId(vargs.NewValue);
                    }
                };
                ModesMenu3["skinhack"].Cast <CheckBox>().OnValueChange += (sender, vargs) =>
                {
                    if (vargs.NewValue)
                    {
                        Player.SetSkinId(ModesMenu3["skinId"].Cast <ComboBox>().CurrentValue);
                    }
                    else
                    {
                        Player.SetSkinId(0);
                    }
                };

                if (ModesMenu1["AutoHarass"].Cast <CheckBox>().CurrentValue)
                {
                    Game.OnTick += Common.AutoQ;
                }
                ModesMenu1["AutoHarass"].Cast <CheckBox>().OnValueChange += (sender, vargs) =>
                {
                    if (vargs.NewValue)
                    {
                        Game.OnTick += Common.AutoQ;
                    }
                    else
                    {
                        Game.OnTick -= Common.AutoQ;
                    }
                };
            }

            catch (Exception e)
            {
                Console.WriteLine(e.StackTrace);
            }
        }
        public static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.ChampionName != ChampionName)
            {
                return;
            }
            //IsZombie = PlayerInstance.HasBuff("kogmawicathiansurprise");
            //wActive = PlayerInstance.HasBuff("kogmawbioarcanebarrage");
            Game.OnUpdate          += Game_OnUpdate;
            Drawing.OnDraw         += Game_OnDraw;
            Obj_AI_Base.OnBuffGain += Common.OnBuffGain;
            Game.OnTick            += (EventArgs) => Common.Skinhack();
            Gapcloser.OnGapcloser  += Common.Gapcloser_OnGapCloser;
            Game.OnUpdate          += Common.zigzag;
            Obj_AI_Base.OnLevelUp  += OnLevelUp;
            SkinBase = Player.Instance.SkinId;
            // Item
            try
            {
                Q = new Spell.Skillshot(SpellSlot.Q, 1000, SkillShotType.Linear, 250, 1650, 70);
                Q.AllowedCollisionCount = 0;
                W = new Spell.Active(SpellSlot.W, 750);
                E = new Spell.Skillshot(SpellSlot.E, 1200, SkillShotType.Linear, 500, 1400, 120);
                E.AllowedCollisionCount = int.MaxValue;
                R = new Spell.Skillshot(SpellSlot.R, 1200, SkillShotType.Circular, 1200, int.MaxValue, 120);
                R.AllowedCollisionCount = int.MaxValue;



                Bootstrap.Init(null);
                Chat.Print("Script yüklendi hadi gene iyisin", Color.Green);


                Menu = MainMenu.AddMenu("EzGame-KogMaw", "KogMaw");
                Menu.AddSeparator();
                Menu.AddLabel("Kusura bakmayın arada Crash verebilir.. hatayı  V2'de çözücem.");
                Menu.AddLabel("PratikHack");

                var Enemies = EntityManager.Heroes.Enemies.Where(a => !a.IsMe).OrderBy(a => a.BaseSkinName);
                ModesMenu1 = Menu.AddSubMenu("Menu", "Modes1KogMaw");
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("Kombo ayarları");
                ModesMenu1.Add("ComboQ", new CheckBox("Komboda Q kullan", true));
                ModesMenu1.AddLabel("kullanma manası Q  >= 80");
                ModesMenu1.Add("ComboW", new CheckBox("Komboda W kullan", true));
                ModesMenu1.Add("ComboE", new CheckBox("Komboda E kullan", true));
                ModesMenu1.Add("ComboR", new CheckBox("Komboda R kullan", true));
                ModesMenu1.Add("LogicRn", new ComboBox(" hedefin can miktari R için % <= ", 1, "100%", "50%", "25%"));
                ModesMenu1.Add("ManaCE", new Slider("E kullanma manası %", 30));
                ModesMenu1.Add("ManaCR", new Slider("R kullanm manası %", 80));
                ModesMenu1.Add("CRStack", new Slider("R stack limiti ?", 3, 1, 10));
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("Oto Dürtme");
                ModesMenu1.Add("AutoHarass", new CheckBox("R ile oto dürtmeyi aç", false));
                ModesMenu1.Add("ARStack", new Slider("Otomatik R stack'ı limiti", 2, 1, 6));
                ModesMenu1.Add("ManaAuto", new Slider("Mana %", 70));

                ModesMenu1.AddLabel("Dürtme");
                ModesMenu1.Add("HarassQ", new CheckBox("Dürterken Q kullan", true));
                ModesMenu1.Add("HarassE", new CheckBox("Dürterken E kullan", true));
                ModesMenu1.Add("HarassR", new CheckBox("Dürterken R kullan", true));
                ModesMenu1.Add("ManaHE", new Slider(" E Mana %", 60));
                ModesMenu1.Add("ManaHR", new Slider(" R Mana %", 60));
                ModesMenu1.Add("HRStack", new Slider("Dürterken atılan R stack'i", 1, 1, 6));
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("KS ayarları");
                ModesMenu1.AddLabel("Aslında Kil çalma türkçesi fakat Türkçeyi sikleyen yok malesef..");
                ModesMenu1.Add("KS", new CheckBox("KS at", true));
                ModesMenu1.Add("KQ", new CheckBox("KS atmak için  Q at", true));
                ModesMenu1.Add("KR", new CheckBox("KS atmak için R at", true));

                ModesMenu2 = Menu.AddSubMenu("Farm", "Modes2KogMaw");
                ModesMenu2.AddLabel("Lane temizleme");
                ModesMenu2.Add("ManaL", new Slider("Mana %", 40));
                ModesMenu2.Add("FarmQ", new CheckBox("Lane temizlerken Q kullan", true));
                ModesMenu2.Add("ManaLR", new Slider("Mana %", 40));
                ModesMenu2.Add("FarmR", new CheckBox("R kullan", true));
                ModesMenu2.Add("FRStack", new Slider("R Stack limiti", 1, 1, 6));
                ModesMenu2.AddLabel("Orman temizleme Limiti");
                ModesMenu2.Add("ManaJ", new Slider("Mana %", 40));
                ModesMenu2.Add("JungleQ", new CheckBox("Q kullan", true));
                ModesMenu2.Add("ManaJR", new Slider("Mana %", 40));
                ModesMenu2.Add("JungleR", new CheckBox("R kullan", true));
                ModesMenu2.Add("JRStack", new Slider("R Stack'i", 2, 1, 6));

                ModesMenu3 = Menu.AddSubMenu("Çeşitli", "Modes3KogMaw");
                ModesMenu3.AddLabel("Vurkaç");
                ModesMenu3.Add("FleeR", new CheckBox("R kullan", true));
                ModesMenu3.Add("FleeE", new CheckBox("E kullan", true));
                ModesMenu3.Add("ManaFlR", new Slider("R kullan %", 35));
                ModesMenu3.Add("FlRStack", new Slider("R Stack durumu", 2, 1, 6));

                ModesMenu3.AddLabel("Komboda İtem Kullan");
                ModesMenu3.Add("useYoumuu", new CheckBox("Yoummu", true));
                ModesMenu3.Add("usehextech", new CheckBox("Hextech birim", true));
                ModesMenu3.Add("useBotrk", new CheckBox("Mahvolmuş kral", true));
                ModesMenu3.Add("useQss", new CheckBox("CıvaYatağan", true));
                ModesMenu3.Add("minHPBotrk", new Slider("BotRk basmak için rakip can yüzdesi %", 80));
                ModesMenu3.Add("enemyMinHPBotrk", new Slider("MMF:S %", 80));

                ModesMenu3.AddLabel("QSS ayarları");
                ModesMenu3.Add("Qssmode", new ComboBox(" ", 0, "Otomatik", "Kombo"));
                ModesMenu3.Add("Stun", new CheckBox("Sersemletme", true));
                ModesMenu3.Add("Blind", new CheckBox("Çekme", true));
                ModesMenu3.Add("Charm", new CheckBox("Cazibe", true));
                ModesMenu3.Add("Suppression", new CheckBox("Kitle kontrol", true));
                ModesMenu3.Add("Polymorph", new CheckBox("Polimörf", true));
                ModesMenu3.Add("Fear", new CheckBox("Kışkırtma", true));
                ModesMenu3.Add("Taunt", new CheckBox("FŞB", true));
                ModesMenu3.Add("Silence", new CheckBox("Susturma", false));
                ModesMenu3.Add("QssDelay", new Slider("Kullanım gecikmesi", 250, 0, 1000));

                ModesMenu3.AddLabel("Cıva Yatağan Kullanımı ++");
                ModesMenu3.Add("ZedUlt", new CheckBox("Zed R", true));
                ModesMenu3.Add("VladUlt", new CheckBox("Vladimir R", true));
                ModesMenu3.Add("FizzUlt", new CheckBox("Fizz R", true));
                ModesMenu3.Add("MordUlt", new CheckBox("Mordekaiser R", true));
                ModesMenu3.Add("PoppyUlt", new CheckBox("Poppy R", true));
                ModesMenu3.Add("QssUltDelay", new Slider("Ultiye göre Kullanım Gecikmesi MS", 250, 0, 1000));

                ModesMenu3.AddLabel("Skin Hack");
                ModesMenu3.Add("skinhack", new CheckBox("Skin Hack Aktifleştirmek için Tıklat", false));
                ModesMenu3.Add("skinId", new ComboBox("Skin numarası", 0, "Klasik", "1", "2", "3", "4", "5", "6", "7", "8"));

                DrawMenu = Menu.AddSubMenu("Çizgiler", "DrawKogMaw");
                DrawMenu.Add("drawQ", new CheckBox(" Q çizgileri", true));
                DrawMenu.Add("drawW", new CheckBox(" W çizgileri", true));
                DrawMenu.Add("drawR", new CheckBox(" R çizgileri", false));
                DrawMenu.Add("drawXR", new CheckBox(" Çizgi göstertme R", true));
                DrawMenu.Add("drawXFleeQ", new CheckBox(" vurkaç'ta Q gösterme", false));
            }

            catch (Exception)
            {
            }
        }
Пример #13
0
        static void Game_OnStart(EventArgs args)
        {
            Game.OnUpdate          += Game_OnUpdate;
            Game.OnTick            += OnTick;
            Obj_AI_Base.OnBuffGain += Common.OnBuffGain;
            GameObject.OnCreate    += OnCreate;
            Gapcloser.OnGapcloser  += Common.Gapcloser_OnGapCloser;
            Orbwalker.OnPreAttack  += OnPreAttack;
            Drawing.OnDraw         += Game_OnDraw;
            SkinBase = Player.Instance.SkinId;
            try
            {
                if (ChampionName != PlayerInstance.BaseSkinName)
                {
                    return;
                }

                Q = new Spell.Active(SpellSlot.Q, (uint)_Player.AttackRange + 50);
                W = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Circular, (int)0.5, 1400, 250);
                E = new Spell.Targeted(SpellSlot.E, (uint)_Player.AttackRange + 50);
                R = new Spell.Targeted(SpellSlot.R, (uint)_Player.AttackRange + 50);



                Bootstrap.Init(null);
                Chat.Print("GuTenTak Addon basariyla yuklendi", Color.Green);


                Menu = MainMenu.AddMenu("GuTenTak Tristana", "Tristana");
                Menu.AddSeparator();
                Menu.AddLabel("GuTenTak Tristana Addon");

                var Enemies = EntityManager.Heroes.Enemies.Where(a => !a.IsMe).OrderBy(a => a.BaseSkinName);
                ModesMenu1 = Menu.AddSubMenu("Menu", "Modes1Tristana");
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("Combo Ayarları");
                ModesMenu1.Add("ComboQ", new CheckBox("Q Kullan", true));
                ModesMenu1.Add("ComboE", new CheckBox("E Kullan", true));
                ModesMenu1.Add("ComboEF", new CheckBox("Kombo modunda E ile düşmanı zorla", true));
                ModesMenu1.Add("ManualR", new KeyBind("Yarı otomatik R", false, KeyBind.BindTypes.HoldActive, 'T'));

                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("E List");
                foreach (var Enemy in EntityManager.Heroes.Enemies)
                {
                    ModesMenu1.Add(Enemy.ChampionName, new CheckBox("E Kullan " + Enemy.ChampionName, true));
                }
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("Dürtme Ayarları");
                ModesMenu1.Add("HarassEF", new CheckBox("Dürtme modunda E ile zorla", true));
                ModesMenu1.Add("HarassQ", new CheckBox("Q Kullan", true));
                ModesMenu1.Add("HarassE", new CheckBox("E Kullan", true));
                ModesMenu1.Add("ManaHE", new Slider("Gereken Mana %", 60));
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("Kill Çalma Ayarları");
                ModesMenu1.Add("KS", new CheckBox("Kill Çalma Kullan", true));
                ModesMenu1.Add("KR", new CheckBox("R Kullan", true));
                ModesMenu1.Add("KER", new CheckBox("E + R Kullan", true));

                ModesMenu2 = Menu.AddSubMenu("Farm", "Modes2Tristana");
                ModesMenu2.AddLabel("Lane Clear Ayarları");
                ModesMenu2.AddSeparator();
                ModesMenu2.Add("FarmEF", new CheckBox("Laneclear modunda E ile zorlama", true));
                ModesMenu2.Add("FarmQ", new CheckBox("Q Kullan", true));
                ModesMenu2.Add("FarmE", new CheckBox("E Kullan", true));
                ModesMenu2.Add("ManaLE", new Slider("Mana %", 40));
                ModesMenu2.AddSeparator();
                ModesMenu2.AddLabel("Jungle Clear Ayarları");
                ModesMenu2.Add("JungleEF", new CheckBox("JungleClear E Forced Target", true));
                ModesMenu2.Add("JungleQ", new CheckBox("Use Q on JungleClear", true));
                ModesMenu2.Add("JungleE", new CheckBox("Use E on JungleClear", true));
                ModesMenu2.Add("ManaJE", new Slider("Mana %", 40));

                ModesMenu3 = Menu.AddSubMenu("Misc", "Modes3Tristana");
                ModesMenu3.Add("AntiGapW", new CheckBox("W Kullan şunun içni Anti-Gapcloser", true));
                ModesMenu3.Add("AntiGapR", new CheckBox("R Kullan şunun içni Anti-Gapcloser", false));
                ModesMenu3.Add("AntiGapKR", new CheckBox("R Kullan şunun içni Anti-Gapcloser (Khazix & Rengar)", true));
                ModesMenu3.Add("FleeW", new CheckBox("Kaçma modunda W", false));

                ModesMenu3.AddSeparator();
                ModesMenu3.AddLabel("Skin Hack");
                ModesMenu3.Add("skinhack", new CheckBox("Kostüm Hilesi Aktif", false));
                ModesMenu3.Add("skinId", new ComboBox("Skin Mode", 0, "Default", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10"));

                ModesMenu3.AddSeparator();
                ModesMenu3.AddLabel("İtemleri Kullanma");
                ModesMenu3.Add("useYoumuu", new CheckBox("Kullan Youmuu", true));
                ModesMenu3.Add("usehextech", new CheckBox("Kullan Hextech", true));
                ModesMenu3.Add("useBotrk", new CheckBox("Kullan Botrk & Cutlass", true));
                ModesMenu3.Add("useQss", new CheckBox("Kullan QuickSilver", true));
                ModesMenu3.Add("minHPBotrk", new Slider("Mahvolmuş için can %", 80));
                ModesMenu3.Add("enemyMinHPBotrk", new Slider("Mahvolmuş için düşman canı %", 80));

                ModesMenu3.AddLabel("QSS Ayarları");
                ModesMenu3.Add("Qssmode", new ComboBox(" ", 0, "Auto", "Combo"));
                ModesMenu3.Add("Stun", new CheckBox("Sabitleme", true));
                ModesMenu3.Add("Blind", new CheckBox("Kör", true));
                ModesMenu3.Add("Charm", new CheckBox("Çekicilik(Ahri)", true));
                ModesMenu3.Add("Suppression", new CheckBox("Önleme,Durdurma", true));
                ModesMenu3.Add("Polymorph", new CheckBox("Polymorph", true));
                ModesMenu3.Add("Fear", new CheckBox("Korku", true));
                ModesMenu3.Add("Taunt", new CheckBox("Tuzak", true));
                ModesMenu3.Add("Silence", new CheckBox("Sessiz", false));
                ModesMenu3.Add("QssDelay", new Slider("QSS Gecikmesi", 250, 0, 1000));

                ModesMenu3.AddLabel("QSS Ult Ayarları");
                ModesMenu3.Add("ZedUlt", new CheckBox("Zed R", true));
                ModesMenu3.Add("VladUlt", new CheckBox("Vladimir R", true));
                ModesMenu3.Add("FizzUlt", new CheckBox("Fizz R", true));
                ModesMenu3.Add("MordUlt", new CheckBox("Mordekaiser R", true));
                ModesMenu3.Add("PoppyUlt", new CheckBox("Poppy R", true));
                ModesMenu3.Add("QssUltDelay", new Slider("Ulti için QSS gecikmesi", 250, 0, 1000));

                DrawMenu = Menu.AddSubMenu("Draws", "DrawTristana");
                DrawMenu.Add("drawA", new CheckBox(" Göster AA menzili", true));
                DrawMenu.Add("drawW", new CheckBox(" Göster W", true));
                DrawMenu.Add("drawE", new CheckBox(" Göster E Yükü", true));
            }

            catch (Exception e)
            {
            }
        }
Пример #14
0
        static void Game_OnStart(EventArgs args)
        {
            Game.OnUpdate          += Game_OnUpdate;
            Drawing.OnDraw         += Game_OnDraw;
            Gapcloser.OnGapcloser  += Common.Gapcloser_OnGapCloser;
            Obj_AI_Base.OnBuffGain += Common.OnBuffGain;
            Game.OnTick            += OnTick;
            Orbwalker.OnPostAttack += Common.aaCombo;
            Orbwalker.OnPostAttack += Common.LJClear;
            Player.OnBasicAttack   += Player_OnBasicAttack;
            SkinBase = Player.Instance.SkinId;
            // Item
            try
            {
                if (ChampionName != PlayerInstance.BaseSkinName)
                {
                    return;
                }

                Q  = new Spell.Targeted(SpellSlot.Q, 675);
                Q1 = new Spell.Skillshot(SpellSlot.Q, 940, SkillShotType.Linear, 350, int.MaxValue, 75);
                W  = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Linear, 250, 1600, 100);
                W1 = new Spell.Skillshot(SpellSlot.W, 500, SkillShotType.Linear, 250, 1600, 100);
                E  = new Spell.Skillshot(SpellSlot.E, 475, SkillShotType.Linear);
                R  = new Spell.Skillshot(SpellSlot.R, 1400, SkillShotType.Linear, 500, 2800, 110);



                Bootstrap.Init(null);
                Chat.Print("Hadi gene iyisin, Script yüklendi", Color.Green);


                Menu = MainMenu.AddMenu("EzGame-Lucian", "Lucian");
                Menu.AddSeparator();
                Menu.AddLabel("PratikHack");
                Menu.AddLabel("Bu arada Gapslocer vb. şeyleri niye ingilizce dilde demeyin. onun Türkçesi yok googlede araştırın mekanik oldğunu anlarsınız.");

                var Enemies = EntityManager.Heroes.Enemies.Where(a => !a.IsMe).OrderBy(a => a.BaseSkinName);
                ModesMenu1 = Menu.AddSubMenu("Menü", "Modes1Lucian");
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("Kombo ayarları");
                ModesMenu1.Add("CWeaving", new CheckBox("Komboda Pasifi Aktifleştir", true));
                ModesMenu1.Add("ComboQ", new CheckBox("Komboda Q kullan", true));
                ModesMenu1.Add("ComboW", new CheckBox("Komboda W kullan", true));
                ModesMenu1.Add("ComboE", new CheckBox("Komboda E kullan", true));
                ModesMenu1.Add("ManaCW", new Slider("W için mana sınırı %", 30));
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("Mantık ayarları");
                ModesMenu1.Add("LogicAA", new ComboBox(" Kombo Mantığı ", 1, "Hızlı", "Kite attığın hedefe Full Hasar"));
                ModesMenu1.Add("LogicW", new ComboBox(" Temel W mantıgı ", 1, "Kite attığın hedefe", "Sürekli"));
                ModesMenu1.Add("WColision", new ComboBox(" Çarpışma ayarları W ", 1, "Çarpışma", "Çarpışma yok"));
                ModesMenu1.Add("LogicE", new ComboBox(" E Mantığı ", 0, "Mouse'yi izler güvenliyse atlar", "Yanlara doğru", "Mouse yönünde Atlar"));

                ModesMenu1.AddSeparator();
                //ModesMenu1.AddLabel("AutoHarass Configs");
                //ModesMenu1.Add("AutoHarass", new CheckBox("Use Q on AutoHarass", false));
                // ModesMenu1.Add("ManaAuto", new Slider("Mana %", 80));

                ModesMenu1.AddLabel("Dürtme Ayarları");
                ModesMenu1.Add("HWeaving", new CheckBox("Dürtme ayarları Pasif kullan", true));
                ModesMenu1.Add("HarassMana", new Slider("Dürterken Mana dikkati %", 60));
                ModesMenu1.Add("HarassQ", new CheckBox("Dürterken Q kullan", true));
                ModesMenu1.Add("HarassQext", new CheckBox("Genişletilmiş mekanik Q kullan", true));
                ModesMenu1.Add("HarassW", new CheckBox("Dürterken W kullan", true));
                ModesMenu1.Add("ManaHW", new Slider("W kullanmak için max. mana sınırı %", 60));
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("Kill Çalma");
                ModesMenu1.Add("KS", new CheckBox("Kill Çalma Aktif", true));
                ModesMenu1.Add("KQ", new CheckBox("Kill çalmak için Q kullan", true));
                ModesMenu1.Add("KW", new CheckBox("Kill çalmak için W kullan", true));
                ModesMenu1.Add("KR", new CheckBox("Kill çalmak için R kullan", false));

                ModesMenu2 = Menu.AddSubMenu("Farm", "Modes2Lucian");
                ModesMenu2.AddLabel("Koridor Temizle");
                ModesMenu1.AddSeparator();
                ModesMenu2.Add("FarmQ", new CheckBox("Koridor Temizlerken Q kullan", true));
                ModesMenu2.Add("ManaLQ", new Slider("Mana %", 40));
                ModesMenu2.Add("FarmW", new CheckBox("Koridor Temizlerken W kullan", true));
                ModesMenu2.Add("ManaLW", new Slider("Mana %", 40));
                ModesMenu2.AddLabel("Orman temizleme Ayarları");
                ModesMenu2.Add("JungleQ", new CheckBox("Orman temizlerken Q kullan", true));
                ModesMenu2.Add("ManaJQ", new Slider("Mana %", 40));
                ModesMenu2.Add("JungleW", new CheckBox("Orman temizlerken W kullan", true));
                ModesMenu2.Add("ManaJW", new Slider("Mana %", 40));

                ModesMenu3 = Menu.AddSubMenu("Cesitli", "Modes3Lucian");
                ModesMenu3.Add("AntiGap", new CheckBox("E ile Anti-Gapslocer.", true));
                ModesMenu3.AddLabel("Vurkaç");
                ModesMenu3.Add("FleeE", new CheckBox("Vurkaç yaparken E kombosu at", true));

                ModesMenu3.AddLabel("İtem Kullanım ayarları");
                ModesMenu3.Add("useYoumuu", new CheckBox("Yoummu hayalet kılıç kullan", true));
                ModesMenu3.Add("usehextech", new CheckBox("Hextech birim tehcizat kullan", true));
                ModesMenu3.Add("useBotrk", new CheckBox("Mahvolmuş kralın kılıcı kullan", true));
                ModesMenu3.Add("useQss", new CheckBox("CıvaYatağan kullan", true));
                ModesMenu3.Add("minHPBotrk", new Slider("Mahvolmuş kralın kılıcı kaç can yüzdesinde kullanılsın %", 80));
                ModesMenu3.Add("enemyMinHPBotrk", new Slider("Mahvolmuş kralın kılıcı kaç can yüzdesinde kullanılsın  %", 80));

                ModesMenu3.AddLabel("Cıva Yatağan Ayarları");
                ModesMenu3.Add("Qssmode", new ComboBox(" ", 0, "Otomatik", "Komboda"));
                ModesMenu3.Add("Stun", new CheckBox("Stun", true));
                ModesMenu3.Add("Blind", new CheckBox("Kör", true));
                ModesMenu3.Add("Charm", new CheckBox("Cazibe", true));
                ModesMenu3.Add("Suppression", new CheckBox("Baskı", true));
                ModesMenu3.Add("Polymorph", new CheckBox("Polimörf", true));
                ModesMenu3.Add("Fear", new CheckBox("Korku", true));
                ModesMenu3.Add("Taunt", new CheckBox("Kışkırtma", true));
                ModesMenu3.Add("Silence", new CheckBox("Susturma", false));
                ModesMenu3.Add("QssDelay", new Slider("Cıva yatağan gecikme ayarı (ms)", 250, 0, 1000));

                ModesMenu3.AddLabel("CıvaYatağan Extra ayarlar");
                ModesMenu3.Add("ZedUlt", new CheckBox("Zed R", true));
                ModesMenu3.Add("VladUlt", new CheckBox("Vladimir R", true));
                ModesMenu3.Add("FizzUlt", new CheckBox("Fizz R", true));
                ModesMenu3.Add("MordUlt", new CheckBox("Mordekaiser R", true));
                ModesMenu3.Add("PoppyUlt", new CheckBox("Poppy R", true));
                ModesMenu3.Add("QssUltDelay", new Slider("Gecikme ayarı (ms) olarak", 250, 0, 1000));

                ModesMenu3.AddLabel("KOSTÜM HİLESİ");
                ModesMenu3.Add("skinhack", new CheckBox("Skin Hack Aktifleştir", false));
                ModesMenu3.Add("skinId", new ComboBox("Skin numarası", 0, "Klasik", "1", "2", "3", "Kod Adı Lucian", "5", "6", "7", "8"));

                DrawMenu = Menu.AddSubMenu("Sınır", "DrawLucian");
                DrawMenu.Add("drawA", new CheckBox(" Düz vurus Alanı", true));
                DrawMenu.Add("drawQ", new CheckBox(" Q alanı", true));
                DrawMenu.Add("drawQext", new CheckBox(" Genişletilmiş Q alanı", true));
                DrawMenu.Add("drawW", new CheckBox(" W alanı", true));
                DrawMenu.Add("drawE", new CheckBox(" E alanı", true));
                DrawMenu.Add("drawR", new CheckBox(" R alanı", false));

                if (ModesMenu3["skinhack"].Cast <CheckBox>().CurrentValue)
                {
                    Player.SetSkinId(ModesMenu3["skinId"].Cast <ComboBox>().CurrentValue);
                }
                ModesMenu3["skinId"].Cast <ComboBox>().OnValueChange += (sender, vargs) =>
                {
                    if (ModesMenu3["skinhack"].Cast <CheckBox>().CurrentValue)
                    {
                        Player.SetSkinId(vargs.NewValue);
                    }
                };
                ModesMenu3["skinhack"].Cast <CheckBox>().OnValueChange += (sender, vargs) =>
                {
                    if (vargs.NewValue)
                    {
                        Player.SetSkinId(ModesMenu3["skinId"].Cast <ComboBox>().CurrentValue);
                    }
                    else
                    {
                        Player.SetSkinId(0);
                    }
                };
            }

            catch (Exception e)
            {
            }
        }
Пример #15
0
        static void Game_OnStart(EventArgs args)
        {
            Game.OnUpdate                  += Game_OnUpdate;
            Drawing.OnDraw                 += Game_OnDraw;
            Obj_AI_Base.OnBuffGain         += Common.OnBuffGain;
            Game.OnTick                    += OnTick;
            Orbwalker.OnPreAttack          += Common.QAA;
            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;
            SkinBase = Player.Instance.SkinId;
            // Item
            try
            {
                if (ChampionName != PlayerInstance.BaseSkinName)
                {
                    return;
                }

                Q = new Spell.Skillshot(SpellSlot.Q, 1450, SkillShotType.Linear, 0, 1000, 40)
                {
                    AllowedCollisionCount = int.MaxValue
                };
                W = new Spell.Active(SpellSlot.W);
                R = new Spell.Active(SpellSlot.R, 5500);



                Bootstrap.Init(null);
                Chat.Print("GuTenTak Addon Loading Success", Color.Green);


                Menu = MainMenu.AddMenu("GuTenTak 卡牌", "TwistedFate");
                Menu.AddSeparator();
                Menu.AddLabel("CH汉化-GuTenTak卡牌脚本");

                var Enemies = EntityManager.Heroes.Enemies.Where(a => !a.IsMe).OrderBy(a => a.BaseSkinName);
                ModesMenu1 = Menu.AddSubMenu("菜单", "Modes1TwistedFate");
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("连招设置");
                ModesMenu1.Add("ComboQ", new CheckBox("使用Q", true));
                ModesMenu1.Add("ComboYellowCard", new CheckBox("连招定黄牌", true));
                ModesMenu1.Add("RYellow", new CheckBox("开R自动黄牌", true));
                ModesMenu1.Add("ComboWRed", new KeyBind("切红牌", false, KeyBind.BindTypes.HoldActive, 'T'));
                ModesMenu1.Add("ComboWBlue", new KeyBind("切蓝牌", false, KeyBind.BindTypes.HoldActive, 'E'));
                ModesMenu1.Add("ComboWYellow", new KeyBind("切黄牌", false, KeyBind.BindTypes.HoldActive, 'S'));
                ModesMenu1.Add("WHumanizer", new CheckBox("选牌-人性化", true));
                ModesMenu1.Add("WHumanizerms", new Slider("选牌-人性化延迟 (毫秒)", 250, 0, 250));
                ModesMenu1.Add("WHumanizerrandom", new Slider("选牌-人性化延迟 (随机最小值)", 125, 0, 125));
                ModesMenu1.Add("WHumanizerrandom2", new Slider("选牌-人性化延迟 (随机最大值)", 250, 0, 250));

                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("自动骚扰");
                ModesMenu1.Add("AutoHarass", new CheckBox("自动Q无法移动的敌人", true));
                ModesMenu1.Add("ManaAuto", new Slider("自动骚扰蓝量百分比", 40));
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("骚扰设置");
                ModesMenu1.Add("HarassQ", new CheckBox("使用Q", true));
                ModesMenu1.Add("ManaHQ", new Slider("Q 骚扰蓝量百分比", 60));
                ModesMenu1.Add("HarassW", new CheckBox("使用W", true));
                ModesMenu1.Add("ManaHW", new Slider("W 骚扰蓝量百分比", 60));
                ModesMenu1.Add("HarassPick", new ComboBox("骚扰选牌", 0, "蓝", "红", "黄"));
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("抢头设置");
                ModesMenu1.Add("KS", new CheckBox("开启抢头", true));
                ModesMenu1.Add("KQ", new CheckBox("Q 抢头", true));

                ModesMenu2 = Menu.AddSubMenu("农兵", "Modes2TwistedFate");
                ModesMenu2.AddLabel("尾兵设置");
                ModesMenu2.AddSeparator();
                ModesMenu2.Add("LastBlue", new CheckBox("选择蓝牌", true));
                ModesMenu2.Add("ManaLast", new Slider("蓝量低于百分比时", 40));
                ModesMenu2.AddSeparator();
                ModesMenu2.AddLabel("清线设置");
                ModesMenu2.AddSeparator();
                ModesMenu2.Add("FarmQ", new CheckBox("使用Q", true));
                ModesMenu2.Add("ManaLQ", new Slider("Q 清线蓝量百分比", 40));
                ModesMenu2.Add("MinionLC", new Slider("Q最低小兵命中数", 3, 1, 5));
                ModesMenu2.Add("FarmW", new CheckBox("清线使用W", true));
                ModesMenu2.Add("ClearPick", new ComboBox("清线选牌", 1, "红", "蓝"));
                ModesMenu2.Add("ManaLW", new Slider("W 清线蓝量百分比", 40));
                ModesMenu2.AddSeparator();
                ModesMenu2.AddLabel("清野设置");
                ModesMenu2.AddSeparator();
                ModesMenu2.Add("JungleQ", new CheckBox("使用Q", true));
                ModesMenu2.Add("ManaJQ", new Slider("Q 清野蓝量百分比", 40));
                ModesMenu2.Add("JungleW", new CheckBox("使用W", true));
                ModesMenu2.Add("JungleClearPick", new ComboBox("清野选牌", 1, "红", "蓝", "黄"));
                ModesMenu2.Add("ManaJW", new Slider("W 清野蓝量百分比", 40));

                ModesMenu3 = Menu.AddSubMenu("杂项", "Modes3TwistedFate");
                //ModesMenu3.Add("AntiGap", new CheckBox("AntiGap - Pick Golden Card", true));

                ModesMenu3.AddLabel("物品使用(连招)");
                ModesMenu3.Add("useYoumuu", new CheckBox("使用幽梦", true));
                ModesMenu3.Add("usehextech", new CheckBox("使用科技枪", true));
                ModesMenu3.Add("useBotrk", new CheckBox("使用破败&弯刀", true));
                ModesMenu3.Add("useQss", new CheckBox("使用水银饰带", true));
                ModesMenu3.Add("minHPBotrk", new Slider("最低血量 % 使用破败", 80));
                ModesMenu3.Add("enemyMinHPBotrk", new Slider("敌人最低血量 % 使用破败", 80));

                ModesMenu3.AddLabel("水银设置");
                ModesMenu3.Add("Qssmode", new ComboBox(" ", 0, "自动", "连招"));
                ModesMenu3.Add("Stun", new CheckBox("晕眩", true));
                ModesMenu3.Add("Blind", new CheckBox("致盲", true));
                ModesMenu3.Add("Charm", new CheckBox("魅惑", true));
                ModesMenu3.Add("Suppression", new CheckBox("压制", true));
                ModesMenu3.Add("Polymorph", new CheckBox("变形", true));
                ModesMenu3.Add("Fear", new CheckBox("恐惧", true));
                ModesMenu3.Add("Taunt", new CheckBox("嘲讽", true));
                ModesMenu3.Add("Silence", new CheckBox("沉默", false));
                ModesMenu3.Add("QssDelay", new Slider("使用水银延迟(毫秒)", 250, 0, 1000));

                ModesMenu3.AddLabel("解大招水银设置");
                ModesMenu3.Add("ZedUlt", new CheckBox("劫 R", true));
                ModesMenu3.Add("VladUlt", new CheckBox("吸血鬼 R", true));
                ModesMenu3.Add("FizzUlt", new CheckBox("小鱼人 R", true));
                ModesMenu3.Add("MordUlt", new CheckBox("金属大师 R", true));
                ModesMenu3.Add("PoppyUlt", new CheckBox("波比 R", true));
                ModesMenu3.Add("QssUltDelay", new Slider("使用水银解大招延迟(毫秒)", 250, 0, 1000));

                ModesMenu3.AddLabel("换肤");
                ModesMenu3.Add("skinhack", new CheckBox("开启换肤", false));
                ModesMenu3.Add("skinId", new ComboBox("模式", 0, "预设", "1", "2", "3", "4", "5", "6", "7", "8", "9"));

                DrawMenu = Menu.AddSubMenu("线圈", "DrawTwistedFate");
                DrawMenu.Add("drawA", new CheckBox(" 显示真实普攻距离", true));
                DrawMenu.Add("drawQ", new CheckBox(" 显示 Q", true));
                DrawMenu.Add("drawR", new CheckBox(" 显示 R", false));
            }

            catch (Exception e)
            {
            }
        }
Пример #16
0
        static void Game_OnStart(EventArgs args)
        {
            Game.OnUpdate          += Game_OnUpdate;
            Drawing.OnDraw         += Game_OnDraw;
            Obj_AI_Base.OnBuffGain += Common.OnBuffGain;
            Game.OnTick            += OnTick;
            Gapcloser.OnGapcloser  += Common.Gapcloser_OnGapCloser;
            Game.OnUpdate          += Common.zigzag;
            SkinBase = Player.Instance.SkinId;
            // Item
            try
            {
                if (ChampionName != PlayerInstance.BaseSkinName)
                {
                    return;
                }

                Q = new Spell.Skillshot(SpellSlot.Q, 825, SkillShotType.Circular, 300, 1000, 250);
                Q.AllowedCollisionCount = int.MaxValue;
                W = new Spell.Skillshot(SpellSlot.W, 800, SkillShotType.Linear, 1800, 1500, 200);
                W.AllowedCollisionCount = int.MaxValue;
                E = new Spell.Active(SpellSlot.E, 600);
                R = new Spell.Skillshot(SpellSlot.R, 1300, SkillShotType.Linear, 200, 1950, 40);
                R.AllowedCollisionCount = 0;



                Bootstrap.Init(null);
                Chat.Print("GuTenTak Addon Loading Success", Color.Green);


                Menu = MainMenu.AddMenu("GuTenTak Corki", "Corki");
                Menu.AddSeparator();
                Menu.AddLabel("GuTenTak Corki Addon");

                var Enemies = EntityManager.Heroes.Enemies.Where(a => !a.IsMe).OrderBy(a => a.BaseSkinName);
                ModesMenu1 = Menu.AddSubMenu("Menu", "Modes1Corki");
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("Combo Configs");
                ModesMenu1.Add("ComboQ", new CheckBox("Use Q on Combo", true));
                ModesMenu1.Add("ComboA", new CheckBox("Use AA => Q Combo", false));
                ModesMenu1.Add("ComboE", new CheckBox("Use E on Combo", true));
                ModesMenu1.Add("ComboR", new CheckBox("Use R on Combo", true));
                ModesMenu1.Add("ManaCE", new Slider("Use E Mana %", 30));
                ModesMenu1.AddSeparator();
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("AutoHarass Configs");
                ModesMenu1.Add("AutoHarass", new CheckBox("Use R on AutoHarass", false));

                ModesMenu1.Add("ManaAuto", new Slider("Mana %", 80));
                ModesMenu1.AddLabel("Harass Configs");
                ModesMenu1.Add("HarassQ", new CheckBox("Use Q on Harass", true));
                ModesMenu1.Add("ManaHQ", new Slider("Mana %", 40));
                ModesMenu1.Add("HarassR", new CheckBox("Use R on Harass", true));
                ModesMenu1.Add("ManaHR", new Slider("Mana %", 60));
                ModesMenu1.Add("HRStack", new Slider("Use R Save on Harass ", 3, 0, 6));

                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("Kill Steal Configs");
                ModesMenu1.Add("KS", new CheckBox("Use KillSteal", true));
                ModesMenu1.Add("KQ", new CheckBox("Use Q on KillSteal", true));
                ModesMenu1.Add("KR", new CheckBox("Use R on KillSteal", true));

                ModesMenu2 = Menu.AddSubMenu("Farm", "Modes2Corki");
                ModesMenu2.AddLabel("Lane Clear Config");
                ModesMenu2.Add("ManaL", new Slider("Mana %", 40));
                ModesMenu2.Add("FarmQ", new CheckBox("Use Q on LaneClear", true));
                ModesMenu2.Add("ManaLR", new Slider("Mana %", 40));
                ModesMenu2.Add("FarmR", new CheckBox("Use R on LaneClear", true));
                ModesMenu2.AddLabel("Jungle Clear Config");
                ModesMenu2.Add("ManaJ", new Slider("Mana %", 40));
                ModesMenu2.Add("JungleQ", new CheckBox("Use Q on JungleClear", true));
                ModesMenu2.Add("ManaJR", new Slider("Mana %", 40));
                ModesMenu2.Add("JungleR", new CheckBox("Use R on JungleClear", true));
                ModesMenu2.Add("LJRStack", new Slider("Use R Save on Clear ", 3, 0, 6));

                ModesMenu3 = Menu.AddSubMenu("Misc", "Modes3Corki");
                ModesMenu3.AddLabel("Misc Configs");
                ModesMenu3.Add("AntiGap", new CheckBox("Use W for Anti-Gapcloser", true));
                ModesMenu3.AddLabel("Flee Configs");
                ModesMenu3.Add("FleeR", new CheckBox("Use R on Flee", true));
                ModesMenu3.Add("FleeW", new CheckBox("Use W on Flee", true));
                ModesMenu3.Add("ManaFlR", new Slider("R Mana %", 35));

                ModesMenu3.AddLabel("Item Usage on Combo");
                ModesMenu3.Add("useYoumuu", new CheckBox("Use Youmuu", true));
                ModesMenu3.Add("usehextech", new CheckBox("Use Hextech", true));
                ModesMenu3.Add("useBotrk", new CheckBox("Use Botrk & Cutlass", true));
                ModesMenu3.Add("useQss", new CheckBox("Use QuickSilver", true));
                ModesMenu3.Add("minHPBotrk", new Slider("Min health to use Botrk %", 80));
                ModesMenu3.Add("enemyMinHPBotrk", new Slider("Min enemy health to use Botrk %", 80));

                ModesMenu3.AddLabel("QSS Configs");
                ModesMenu3.Add("Qssmode", new ComboBox(" ", 0, "Auto", "Combo"));
                ModesMenu3.Add("Stun", new CheckBox("Stun", true));
                ModesMenu3.Add("Blind", new CheckBox("Blind", true));
                ModesMenu3.Add("Charm", new CheckBox("Charm", true));
                ModesMenu3.Add("Suppression", new CheckBox("Suppression", true));
                ModesMenu3.Add("Polymorph", new CheckBox("Polymorph", true));
                ModesMenu3.Add("Fear", new CheckBox("Fear", true));
                ModesMenu3.Add("Taunt", new CheckBox("Taunt", true));
                ModesMenu3.Add("Silence", new CheckBox("Silence", false));
                ModesMenu3.Add("QssDelay", new Slider("Use QSS Delay(ms)", 250, 0, 1000));

                ModesMenu3.AddLabel("QSS Ult Configs");
                ModesMenu3.Add("ZedUlt", new CheckBox("Zed R", true));
                ModesMenu3.Add("VladUlt", new CheckBox("Vladimir R", true));
                ModesMenu3.Add("FizzUlt", new CheckBox("Fizz R", true));
                ModesMenu3.Add("MordUlt", new CheckBox("Mordekaiser R", true));
                ModesMenu3.Add("PoppyUlt", new CheckBox("Poppy R", true));
                ModesMenu3.Add("QssUltDelay", new Slider("Use QSS Delay(ms) for Ult", 250, 0, 1000));

                ModesMenu3.AddLabel("Skin Hack");
                ModesMenu3.Add("skinhack", new CheckBox("Activate Skin hack", false));
                ModesMenu3.Add("skinId", new ComboBox("Skin Mode", 0, "Default", "1", "2", "3", "4", "5", "6", "7"));

                DrawMenu = Menu.AddSubMenu("Draws", "DrawCorki");
                DrawMenu.Add("drawQ", new CheckBox(" Draw Q", true));
                DrawMenu.Add("drawW", new CheckBox(" Draw W", true));
                DrawMenu.Add("drawR", new CheckBox(" Draw R", false));
                DrawMenu.Add("drawXR", new CheckBox(" Draw Don't Use R", true));
                DrawMenu.Add("drawXFleeQ", new CheckBox(" Draw Don't Use Flee Q", false));
            }

            catch (Exception e)
            {
            }
        }
Пример #17
0
        static void Game_OnStart(EventArgs args)
        {
            if (ChampionName != Player.Instance.BaseSkinName)
            {
                return;
            }

            Game.OnUpdate += Game_OnUpdate;

            /*Drawing.OnDraw += Game_OnDraw;
             * Obj_AI_Base.OnBuffGain += Common.OnBuffGain;
             * Gapcloser.OnGapcloser += Common.Gapcloser_OnGapCloser;
             * Game.OnTick += Common.ItemUsage;
             * SkinBase = Player.Instance.SkinId;*/
            try
            {
                Q = new Spell.Skillshot(SpellSlot.Q, 1150, SkillShotType.Linear, 250, 2000, 60);
                Q.AllowedCollisionCount = 0;
                W = new Spell.Skillshot(SpellSlot.W, 1000, SkillShotType.Linear, 250, 1600, 80);
                W.AllowedCollisionCount = int.MaxValue;
                E = new Spell.Skillshot(SpellSlot.E, 475, SkillShotType.Linear);
                E.AllowedCollisionCount = int.MaxValue;
                R = new Spell.Skillshot(SpellSlot.R, 3000, SkillShotType.Linear, 1000, 2000, 160);
                R.AllowedCollisionCount = int.MaxValue;

                Bootstrap.Init(null);
                Chat.Print("GuTenTak Addon Loading Success", Color.Green);

                Menu = MainMenu.AddMenu("GuTenTak Ezreal", "Ezreal");
                Menu.AddSeparator();
                Menu.AddLabel("CH汉化-GuTenTak 伊泽瑞尔脚本");

                //var Enemies = EntityManager.Heroes.Enemies.Where(a => !a.IsMe).OrderBy(a => a.BaseSkinName);
                ModesMenu1 = Menu.AddSubMenu("Menu", "Modes1Ezreal");
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("连招设置");
                ModesMenu1.Add("ComboQ", new CheckBox("连招Q", true));
                ModesMenu1.Add("ComboA", new CheckBox("优先普攻(后Q)", false));
                ModesMenu1.Add("ComboW", new CheckBox("连招W", true));
                ModesMenu1.Add("ComboR", new CheckBox("连招R", true));
                ModesMenu1.Add("ManaCW", new Slider("W蓝量使用 %", 30));
                ModesMenu1.Add("RCount", new Slider("使用R如果能命中数量 >=", 3, 2, 5));
                ModesMenu1.AddSeparator();
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("自动骚扰设置");
                ModesMenu1.Add("AutoHarass", new CheckBox("Q自动骚扰", false));

                ModesMenu1.Add("ManaAuto", new Slider("Q蓝量使用 %", 80));
                ModesMenu1.AddLabel("骚扰设置");
                ModesMenu1.Add("HarassQ", new CheckBox("骚扰Q", true));
                ModesMenu1.Add("ManaHQ", new Slider("Q蓝量使用 %", 40));
                ModesMenu1.Add("HarassW", new CheckBox("骚扰W", true));
                ModesMenu1.Add("ManaHW", new Slider("W蓝量使用 %", 60));
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("抢头设置");
                ModesMenu1.Add("KS", new CheckBox("开启抢头", true));
                ModesMenu1.Add("KQ", new CheckBox("Q抢头", true));
                ModesMenu1.Add("KW", new CheckBox("W抢头", true));
                ModesMenu1.Add("KR", new CheckBox("R抢头", true));

                ModesMenu2 = Menu.AddSubMenu("尾兵", "Modes2Ezreal");
                ModesMenu2.AddLabel("尾兵设置");
                ModesMenu2.Add("ManaF", new Slider("Q蓝量使用 %", 60));
                ModesMenu2.Add("LastQ", new CheckBox("Q尾兵", true));
                ModesMenu2.AddLabel("清线设置");
                ModesMenu2.Add("ManaL", new Slider("Q蓝量使用 %", 40));
                ModesMenu2.Add("FarmQ", new CheckBox("清线Q", true));
                ModesMenu2.AddLabel("清野设置");
                ModesMenu2.Add("ManaJ", new Slider("Q蓝量使用 %", 40));
                ModesMenu2.Add("JungleQ", new CheckBox("清野Q", true));

                ModesMenu3 = Menu.AddSubMenu("杂项", "Modes3Ezreal");
                ModesMenu3.AddLabel("杂项设置");
                ModesMenu3.Add("AntiGap", new CheckBox("E 防突进", true));
                ModesMenu3.Add("StackTear", new CheckBox("泉水自动叠加女神", true));
                ModesMenu3.AddLabel("逃跑设置");
                ModesMenu3.Add("FleeQ", new CheckBox("逃跑使用Q", true));
                ModesMenu3.Add("FleeE", new CheckBox("逃跑使用E", true));
                //ModesMenu3.Add("BlockE", new CheckBox("Block EnemyUnderTurret", false));
                ModesMenu3.Add("ManaFlQ", new Slider("Q蓝量使用 %", 35));

                ModesMenu3.AddLabel("物品使用(连招)");
                ModesMenu3.Add("useYoumuu", new CheckBox("使用幽梦", true));
                ModesMenu3.AddSeparator(1);
                ModesMenu3.Add("usehextech", new CheckBox("使用科技枪", true));
                ModesMenu3.Add("useBotrk", new CheckBox("使用破败&弯刀", true));
                ModesMenu3.Add("useQss", new CheckBox("使用水银饰带", true));
                ModesMenu3.Add("minHPBotrk", new Slider("最低血量 % 使用破败", 80));
                ModesMenu3.Add("enemyMinHPBotrk", new Slider("敌人最低血量 % 使用破败", 80));

                ModesMenu3.AddLabel("水银设置");
                ModesMenu3.Add("useQss", new CheckBox("使用水银", true));
                ModesMenu3.AddSeparator(1);
                ModesMenu3.Add("Qssmode", new ComboBox(" ", 0, "自动", "连招"));
                ModesMenu3.Add("Stun", new CheckBox("晕眩", true));
                ModesMenu3.Add("Blind", new CheckBox("致盲", true));
                ModesMenu3.Add("Charm", new CheckBox("魅惑", true));
                ModesMenu3.Add("Suppression", new CheckBox("压制", true));
                ModesMenu3.Add("Polymorph", new CheckBox("变形", true));
                ModesMenu3.Add("Fear", new CheckBox("恐惧", true));
                ModesMenu3.Add("Taunt", new CheckBox("嘲讽", true));
                ModesMenu3.Add("Silence", new CheckBox("沉默", false));
                ModesMenu3.Add("QssDelay", new Slider("使用水银延迟(毫秒)", 250, 0, 1000));

                ModesMenu3.AddLabel("解大招水银设置");
                ModesMenu3.Add("ZedUlt", new CheckBox("劫 R", true));
                ModesMenu3.Add("VladUlt", new CheckBox("吸血鬼 R", true));
                ModesMenu3.Add("FizzUlt", new CheckBox("小鱼人 R", true));
                ModesMenu3.Add("MordUlt", new CheckBox("金属大师 R", true));
                ModesMenu3.Add("PoppyUlt", new CheckBox("波比 R", true));
                ModesMenu3.Add("QssUltDelay", new Slider("使用水银解大招延迟(毫秒)", 250, 0, 1000));

                ModesMenu3.AddLabel("换肤");
                ModesMenu3.Add("skinhack", new CheckBox("开启换肤", false));
                ModesMenu3.Add("skinId", new ComboBox("模式", 0, "预设", "1", "2", "3", "4", "5", "6", "7", "8"));

                DrawMenu = Menu.AddSubMenu("线圈", "DrawEzreal");
                DrawMenu.Add("usedraw", new CheckBox("开启线圈", true));
                DrawMenu.AddSeparator(1);
                DrawMenu.Add("drawQ", new CheckBox(" 显示 Q", true));
                DrawMenu.Add("drawW", new CheckBox(" 显示 W", true));
                DrawMenu.Add("drawR", new CheckBox(" 显示 R", false));
                DrawMenu.Add("drawXR", new CheckBox(" 显示 不使用R", true));
                DrawMenu.Add("drawXFleeQ", new CheckBox(" 显示 逃跑不使用Q", false));

                if (ModesMenu3["useQss"].Cast <CheckBox>().CurrentValue)
                {
                    Obj_AI_Base.OnBuffGain += Common.OnBuffGain;
                }
                ModesMenu3["useQss"].Cast <CheckBox>().OnValueChange += (sender, vargs) =>
                {
                    if (vargs.NewValue)
                    {
                        Obj_AI_Base.OnBuffGain += Common.OnBuffGain;
                    }
                    else
                    {
                        Obj_AI_Base.OnBuffGain -= Common.OnBuffGain;
                    }
                };

                if (ModesMenu3["useItems"].Cast <CheckBox>().CurrentValue)
                {
                    Game.OnTick += Common.ItemUsage;
                }
                ModesMenu3["useItems"].Cast <CheckBox>().OnValueChange += (sender, vargs) =>
                {
                    if (vargs.NewValue)
                    {
                        Game.OnTick += Common.ItemUsage;
                    }
                    else
                    {
                        Game.OnTick -= Common.ItemUsage;
                    }
                };

                if (DrawMenu["usedraw"].Cast <CheckBox>().CurrentValue)
                {
                    Drawing.OnDraw += Game_OnDraw;
                }
                DrawMenu["usedraw"].Cast <CheckBox>().OnValueChange += (sender, vargs) =>
                {
                    if (vargs.NewValue)
                    {
                        Drawing.OnDraw += Game_OnDraw;
                    }
                    else
                    {
                        Drawing.OnDraw -= Game_OnDraw;
                    }
                };

                if (ModesMenu3["AntiGap"].Cast <CheckBox>().CurrentValue)
                {
                    Gapcloser.OnGapcloser += Common.Gapcloser_OnGapCloser;
                }
                ModesMenu3["AntiGap"].Cast <CheckBox>().OnValueChange += (sender, vargs) =>
                {
                    if (vargs.NewValue)
                    {
                        Gapcloser.OnGapcloser += Common.Gapcloser_OnGapCloser;
                    }
                    else
                    {
                        Gapcloser.OnGapcloser -= Common.Gapcloser_OnGapCloser;
                    }
                };

                if (ModesMenu1["KS"].Cast <CheckBox>().CurrentValue)
                {
                    Game.OnTick += Common.KillSteal;
                }
                ModesMenu1["KS"].Cast <CheckBox>().OnValueChange += (sender, vargs) =>
                {
                    if (vargs.NewValue)
                    {
                        Game.OnTick += Common.KillSteal;
                    }
                    else
                    {
                        Game.OnTick -= Common.KillSteal;
                    }
                };

                if (ModesMenu1["ComboA"].Cast <CheckBox>().CurrentValue)
                {
                    Orbwalker.OnPostAttack += Common.Orbwalker_OnPostAttack;
                }
                ModesMenu1["ComboA"].Cast <CheckBox>().OnValueChange += (sender, vargs) =>
                {
                    if (vargs.NewValue)
                    {
                        Orbwalker.OnPostAttack += Common.Orbwalker_OnPostAttack;
                    }
                    else
                    {
                        Orbwalker.OnPostAttack -= Common.Orbwalker_OnPostAttack;
                    }
                };

                if (ModesMenu3["StackTear"].Cast <CheckBox>().CurrentValue)
                {
                    Game.OnTick += Common.StackTear;
                }
                ModesMenu3["StackTear"].Cast <CheckBox>().OnValueChange += (sender, vargs) =>
                {
                    if (vargs.NewValue)
                    {
                        Game.OnTick += Common.StackTear;
                    }
                    else
                    {
                        Game.OnTick -= Common.StackTear;
                    }
                };

                if (ModesMenu3["skinhack"].Cast <CheckBox>().CurrentValue)
                {
                    Player.SetSkinId(ModesMenu3["skinId"].Cast <ComboBox>().CurrentValue);
                }
                ModesMenu3["skinId"].Cast <ComboBox>().OnValueChange += (sender, vargs) =>
                {
                    if (ModesMenu3["skinhack"].Cast <CheckBox>().CurrentValue)
                    {
                        Player.SetSkinId(vargs.NewValue);
                    }
                };
                ModesMenu3["skinhack"].Cast <CheckBox>().OnValueChange += (sender, vargs) =>
                {
                    if (vargs.NewValue)
                    {
                        Player.SetSkinId(ModesMenu3["skinId"].Cast <ComboBox>().CurrentValue);
                    }
                    else
                    {
                        Player.SetSkinId(0);
                    }
                };

                if (ModesMenu1["AutoHarass"].Cast <CheckBox>().CurrentValue)
                {
                    Game.OnTick += Common.AutoQ;
                }
                ModesMenu1["AutoHarass"].Cast <CheckBox>().OnValueChange += (sender, vargs) =>
                {
                    if (vargs.NewValue)
                    {
                        Game.OnTick += Common.AutoQ;
                    }
                    else
                    {
                        Game.OnTick -= Common.AutoQ;
                    }
                };
            }

            catch (Exception e)
            {
                Console.WriteLine(e.StackTrace);
            }
        }
Пример #18
0
        public static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.ChampionName != ChampionName)
            {
                return;
            }
            //IsZombie = PlayerInstance.HasBuff("kogmawicathiansurprise");
            //wActive = PlayerInstance.HasBuff("kogmawbioarcanebarrage");
            Game.OnUpdate          += Game_OnUpdate;
            Drawing.OnDraw         += Game_OnDraw;
            Obj_AI_Base.OnBuffGain += Common.OnBuffGain;
            Game.OnTick            += (EventArgs) => Common.Skinhack();
            Gapcloser.OnGapcloser  += Common.Gapcloser_OnGapCloser;
            Game.OnUpdate          += Common.zigzag;
            Obj_AI_Base.OnLevelUp  += OnLevelUp;
            SkinBase = Player.Instance.SkinId;
            // Item
            try
            {
                Q = new Spell.Skillshot(SpellSlot.Q, 1000, SkillShotType.Linear, 250, 1650, 70);
                Q.AllowedCollisionCount = 0;
                W = new Spell.Active(SpellSlot.W, 720);
                E = new Spell.Skillshot(SpellSlot.E, 1200, SkillShotType.Linear, 500, 1400, 120);
                E.AllowedCollisionCount = int.MaxValue;
                R = new Spell.Skillshot(SpellSlot.R, 1800, SkillShotType.Circular, 1200, int.MaxValue, 120);
                R.AllowedCollisionCount = int.MaxValue;



                Bootstrap.Init(null);
                Chat.Print("GuTenTak Addon Loading Success", Color.Green);


                Menu = MainMenu.AddMenu("GuTenTak KogMaw", "KogMaw");
                Menu.AddSeparator();
                Menu.AddLabel("GuTenTak KogMaw Addon");

                var Enemies = EntityManager.Heroes.Enemies.Where(a => !a.IsMe).OrderBy(a => a.BaseSkinName);
                ModesMenu1 = Menu.AddSubMenu("Menu", "Modes1KogMaw");
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("Combo Ayarları");
                ModesMenu1.Add("ComboQ", new CheckBox("Q Kullan", true));
                ModesMenu1.AddLabel("Q için mana >= 80");
                ModesMenu1.Add("ComboW", new CheckBox("W Kullan", true));
                ModesMenu1.Add("ComboE", new CheckBox("E Kullan", true));
                ModesMenu1.Add("ComboR", new CheckBox("R Kullan", true));
                ModesMenu1.Add("LogicRn", new ComboBox("R için düşmanın canı şundan az % <= ", 1, "100%", "55%", "30%"));
                ModesMenu1.Add("ManaCE", new Slider("E için mana %", 30));
                ModesMenu1.Add("ManaCR", new Slider("R için mana %", 80));
                ModesMenu1.Add("CRStack", new Slider("Komboda R için stack Limiti", 3, 1, 10));
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("Otomatik Dürtme Ayarları");
                ModesMenu1.Add("AutoHarass", new CheckBox("R kullan otomatik dürtmek için", false));
                ModesMenu1.Add("ARStack", new Slider("Otomatik R limiti", 2, 1, 6));
                ModesMenu1.Add("ManaAuto", new Slider("Manam şundan çok %", 70));

                ModesMenu1.AddLabel("Dürtme Ayarları");
                ModesMenu1.Add("HarassQ", new CheckBox("Q Kullan", true));
                ModesMenu1.Add("HarassE", new CheckBox("E Kullan", true));
                ModesMenu1.Add("HarassR", new CheckBox("R Kullan", true));
                ModesMenu1.Add("ManaHE", new Slider("E Mana %", 60));
                ModesMenu1.Add("ManaHR", new Slider("R Mana %", 60));
                ModesMenu1.Add("HRStack", new Slider("Dürterken R limiti", 1, 1, 6));
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("Kill Çalma Ayarları");
                ModesMenu1.Add("KS", new CheckBox("Kullan", true));
                ModesMenu1.Add("KQ", new CheckBox("Q Kullan", true));
                ModesMenu1.Add("KR", new CheckBox("R Kullan", true));

                ModesMenu2 = Menu.AddSubMenu("Farm", "Modes2KogMaw");
                ModesMenu2.AddLabel("Lane Clear Ayarları");
                ModesMenu2.Add("ManaL", new Slider("Mana %", 40));
                ModesMenu2.Add("FarmQ", new CheckBox("Q Kullan", true));
                ModesMenu2.Add("ManaLR", new Slider("Mana %", 40));
                ModesMenu2.Add("FarmR", new CheckBox("R Kullan", true));
                ModesMenu2.Add("FRStack", new Slider("Lanetemizliği R limiti", 1, 1, 6));
                ModesMenu2.AddLabel("Orman Temizleme Ayarları");
                ModesMenu2.Add("ManaJ", new Slider("Mana %", 40));
                ModesMenu2.Add("JungleQ", new CheckBox("Q Kullan", true));
                ModesMenu2.Add("ManaJR", new Slider("Mana %", 40));
                ModesMenu2.Add("JungleR", new CheckBox("R Kullan", true));
                ModesMenu2.Add("JRStack", new Slider("Ormantemizleme R limiti", 2, 1, 6));

                ModesMenu3 = Menu.AddSubMenu("Misc", "Modes3KogMaw");
                ModesMenu3.AddLabel("Flee Ayarları");
                ModesMenu3.Add("FleeR", new CheckBox("R Kullan", true));
                ModesMenu3.Add("FleeE", new CheckBox("E Kullan", true));
                ModesMenu3.Add("ManaFlR", new Slider("R Mana %", 35));
                ModesMenu3.Add("FlRStack", new Slider("Kaçarken R limiti", 2, 1, 6));

                ModesMenu3.AddLabel("Item Usage on Combo");
                ModesMenu3.Add("useYoumuu", new CheckBox("Kullan Youmuu", true));
                ModesMenu3.Add("usehextech", new CheckBox("Kullan Hextech", true));
                ModesMenu3.Add("useBotrk", new CheckBox("Kullan Mahvolmuş", true));
                ModesMenu3.Add("useQss", new CheckBox("Kullan Civayatağan", true));
                ModesMenu3.Add("minHPBotrk", new Slider("Mahvolmuş canım şundan az %", 80));
                ModesMenu3.Add("enemyMinHPBotrk", new Slider("Düşmanın canı şundan az %", 80));

                ModesMenu3.AddLabel("QSS Ayarları");
                ModesMenu3.Add("Qssmode", new ComboBox(" ", 0, "Auto", "Combo"));
                ModesMenu3.Add("Stun", new CheckBox("Sabit", true));
                ModesMenu3.Add("Blind", new CheckBox("Kör", true));
                ModesMenu3.Add("Charm", new CheckBox("Çekicilik(ahri)", true));
                ModesMenu3.Add("Suppression", new CheckBox("Önleme skilleri", true));
                ModesMenu3.Add("Polymorph", new CheckBox("Polimorf", true));
                ModesMenu3.Add("Fear", new CheckBox("Korkmuş", true));
                ModesMenu3.Add("Taunt", new CheckBox("Alay etme", true));
                ModesMenu3.Add("Silence", new CheckBox("Sessiz", false));
                ModesMenu3.Add("QssDelay", new Slider("Kullan QSS Gecikmesi(ms)", 250, 0, 1000));

                ModesMenu3.AddLabel("QSS Ult Ayarları");
                ModesMenu3.Add("ZedUlt", new CheckBox("Zed R", true));
                ModesMenu3.Add("VladUlt", new CheckBox("Vladimir R", true));
                ModesMenu3.Add("FizzUlt", new CheckBox("Fizz R", true));
                ModesMenu3.Add("MordUlt", new CheckBox("Mordekaiser R", true));
                ModesMenu3.Add("PoppyUlt", new CheckBox("Poppy R", true));
                ModesMenu3.Add("QssUltDelay", new Slider("Kullan QSS Gecikmesi(ms) Ulti için", 250, 0, 1000));

                ModesMenu3.AddLabel("Skin Değiştirici");
                ModesMenu3.Add("skinhack", new CheckBox("Aktif Skin hack", false));
                ModesMenu3.Add("skinId", new ComboBox("Skin Mode", 0, "Default", "1", "2", "3", "4", "5", "6", "7", "8"));

                DrawMenu = Menu.AddSubMenu("Draws", "DrawKogMaw");
                DrawMenu.Add("drawQ", new CheckBox(" Göster Q", true));
                DrawMenu.Add("drawW", new CheckBox(" Göster W", true));
                DrawMenu.Add("drawR", new CheckBox(" Göster R", false));
                DrawMenu.Add("drawXR", new CheckBox("Kaçarken R Göster", true));
                DrawMenu.Add("drawXFleeQ", new CheckBox("Kaçarken Q Göster", false));
            }

            catch (Exception)
            {
            }
        }
Пример #19
0
        static void Game_OnStart(EventArgs args)
        {
            Game.OnUpdate                  += Game_OnUpdate;
            Drawing.OnDraw                 += Game_OnDraw;
            Obj_AI_Base.OnBuffGain         += Common.OnBuffGain;
            Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast;
            Game.OnTick            += OnTick;
            Orbwalker.OnPostAttack += Common.WLogic;
            Orbwalker.OnPostAttack += Common.LJClear;
            SkinBase = Player.Instance.SkinId;
            try
            {
                if (ChampionName != PlayerInstance.BaseSkinName)
                {
                    return;
                }

                Q = new Spell.Skillshot(SpellSlot.Q, 1250, SkillShotType.Linear, (int)0.25, 1030, 90)
                {
                    AllowedCollisionCount = int.MaxValue
                };
                W = new Spell.Active(SpellSlot.W);
                E = new Spell.Active(SpellSlot.E);



                Bootstrap.Init(null);
                Chat.Print("GuTenTak Addon Loading Success", Color.Green);


                Menu = MainMenu.AddMenu("GuTenTak 西维尔", "Sivir");
                Menu.AddSeparator();
                Menu.AddLabel("CH汉化-GuTenTak 战争女神脚本");

                var Enemies = EntityManager.Heroes.Enemies.Where(a => !a.IsMe).OrderBy(a => a.BaseSkinName);
                ModesMenu1 = Menu.AddSubMenu("菜单", "Modes1Sivir");
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("连招设置");
                ModesMenu1.Add("ComboQ", new CheckBox("连招Q", true));
                ModesMenu1.Add("ComboW", new CheckBox("连招W", true));
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("骚扰设置");
                ModesMenu1.Add("HarassQ", new CheckBox("骚扰Q", true));
                ModesMenu1.Add("HarassMana", new Slider("Q蓝量使用 %", 60));
                ModesMenu1.Add("HarassW", new CheckBox("骚扰W", true));
                ModesMenu1.Add("ManaHW", new Slider("W蓝量使用 %", 60));
                ModesMenu1.AddSeparator();
                ModesMenu1.AddLabel("抢头设置");
                ModesMenu1.Add("KS", new CheckBox("开启抢头", true));
                ModesMenu1.Add("KQ", new CheckBox("Q抢头", true));

                ModesMenu2 = Menu.AddSubMenu("尾兵", "Modes2Sivir");
                ModesMenu2.AddLabel("清线设置");
                ModesMenu2.Add("MinionLC", new Slider("清线最低小兵数量", 3, 1, 5));
                ModesMenu2.AddSeparator();
                ModesMenu2.Add("FarmQ", new CheckBox("清线Q", true));
                ModesMenu2.Add("ManaLQ", new Slider("Q蓝量使用 %", 40));
                ModesMenu2.Add("FarmW", new CheckBox("清线W", true));
                ModesMenu2.Add("ManaLW", new Slider("W蓝量使用 %", 40));
                ModesMenu2.AddSeparator();
                ModesMenu2.AddLabel("清野设置");
                ModesMenu2.Add("JungleQ", new CheckBox("清野Q", true));
                ModesMenu2.Add("ManaJQ", new Slider("Q蓝量使用 %", 40));
                ModesMenu2.Add("JungleW", new CheckBox("清野W", true));
                ModesMenu2.Add("ManaJW", new Slider("W蓝量使用 %", 40));

                ModesMenu3 = Menu.AddSubMenu("杂项", "Modes3Sivir");
                ModesMenu3.Add("SpellShield", new CheckBox("自动E", true));
                ModesMenu3.Add("GoldCard", new CheckBox("卡牌" + " 黄牌 ", true));
                ModesMenu3.Add("RedCard", new CheckBox("卡牌" + " 红牌 ", false));

                foreach (var enemy in EntityManager.Heroes.Enemies.Where(a => a.Team != Player.Instance.Team))
                {
                    foreach (
                        var spell in
                        enemy.Spellbook.Spells.Where(
                            a =>
                            a.Slot == SpellSlot.Q || a.Slot == SpellSlot.W || a.Slot == SpellSlot.E ||
                            a.Slot == SpellSlot.R))
                    {
                        if (spell.SData.TargettingType != SpellDataTargetType.Self && spell.SData.TargettingType != SpellDataTargetType.SelfAndUnit)
                        {
                            if (spell.Slot == SpellSlot.Q)
                            {
                                if (spell.SData.TargettingType == SpellDataTargetType.Unit)
                                {
                                    ModesMenu3.Add(spell.SData.Name,
                                                   new CheckBox(enemy.ChampionName + " Q ", false));
                                }
                                //new CheckBox(enemy.ChampionName + " Q " + spell.Name, false));
                            }
                            else if (spell.Slot == SpellSlot.W)
                            {
                                if (spell.SData.TargettingType == SpellDataTargetType.Unit)
                                {
                                    ModesMenu3.Add(spell.SData.Name,
                                                   new CheckBox(enemy.ChampionName + " W ", false));
                                }
                            }
                            else if (spell.Slot == SpellSlot.E)
                            {
                                if (spell.SData.TargettingType == SpellDataTargetType.Unit)
                                {
                                    ModesMenu3.Add(spell.SData.Name,
                                                   new CheckBox(enemy.ChampionName + " E ", false));
                                }
                                else if (spell.Slot == SpellSlot.R)
                                {
                                    if (spell.SData.TargettingType == SpellDataTargetType.Unit)
                                    {
                                        ModesMenu3.Add(spell.SData.Name,
                                                       new CheckBox(enemy.ChampionName + " R ", false));
                                    }
                                    ;
                                }
                            }
                        }
                    }
                }

                /*
                 * foreach (var enemy in ObjectManager.Get<AIHeroClient>().Where(enemy => enemy.IsEnemy))
                 * {
                 *  for (int i = 0; i < 4; i++)
                 *  {
                 *      var spell = enemy.Spellbook.Spells[i];
                 *      if (spell.SData.TargettingType != SpellDataTargetType.Self && spell.SData.TargettingType != SpellDataTargetType.SelfAndUnit)
                 *      {
                 *          if (spell.SData.TargettingType == SpellDataTargetType.Unit)
                 *              ModesMenu3.Add(spell.SData.Name,
                 *              new CheckBox(enemy.ChampionName + " - Target - " + spell.Name, false));
                 *      }
                 *  }
                 * }
                 */
                ModesMenu3.AddSeparator();
                ModesMenu3.AddLabel("Item Usage on Combo");
                ModesMenu3.Add("useYoumuu", new CheckBox("Use Youmuu", true));
                ModesMenu3.Add("usehextech", new CheckBox("Use Hextech", true));
                ModesMenu3.Add("useBotrk", new CheckBox("Use Botrk & Cutlass", true));
                ModesMenu3.Add("useQss", new CheckBox("Use QuickSilver", true));
                ModesMenu3.Add("minHPBotrk", new Slider("Min health to use Botrk %", 80));
                ModesMenu3.Add("enemyMinHPBotrk", new Slider("Min enemy health to use Botrk %", 80));

                ModesMenu3.AddLabel("QSS Configs");
                ModesMenu3.Add("Qssmode", new ComboBox(" ", 0, "Auto", "Combo"));
                ModesMenu3.Add("Stun", new CheckBox("Stun", true));
                ModesMenu3.Add("Blind", new CheckBox("Blind", true));
                ModesMenu3.Add("Charm", new CheckBox("Charm", true));
                ModesMenu3.Add("Suppression", new CheckBox("Suppression", true));
                ModesMenu3.Add("Polymorph", new CheckBox("Polymorph", true));
                ModesMenu3.Add("Fear", new CheckBox("Fear", true));
                ModesMenu3.Add("Taunt", new CheckBox("Taunt", true));
                ModesMenu3.Add("Silence", new CheckBox("Silence", false));
                ModesMenu3.Add("QssDelay", new Slider("Use QSS Delay(ms)", 250, 0, 1000));

                ModesMenu3.AddLabel("QSS Ult Configs");
                ModesMenu3.Add("ZedUlt", new CheckBox("Zed R", true));
                ModesMenu3.Add("VladUlt", new CheckBox("Vladimir R", true));
                ModesMenu3.Add("FizzUlt", new CheckBox("Fizz R", true));
                ModesMenu3.Add("MordUlt", new CheckBox("Mordekaiser R", true));
                ModesMenu3.Add("PoppyUlt", new CheckBox("Poppy R", true));
                ModesMenu3.Add("QssUltDelay", new Slider("Use QSS Delay(ms) for Ult", 250, 0, 1000));

                ModesMenu3.AddLabel("Skin Hack");
                ModesMenu3.Add("skinhack", new CheckBox("Activate Skin hack", false));
                ModesMenu3.Add("skinId", new ComboBox("Skin Mode", 0, "Default", "1", "2", "3", "4", "5", "6", "7", "8"));

                DrawMenu = Menu.AddSubMenu("Draws", "DrawSivir");
                DrawMenu.Add("drawA", new CheckBox(" Draw Real AA", true));
                DrawMenu.Add("drawQ", new CheckBox(" Draw Q", true));
            }

            catch (Exception e)
            {
            }
        }