Esempio n. 1
0
        static Syndra()
        {
            Init();
            dmg = new Text(string.Empty, new Font("Tahoma", 9, FontStyle.Bold))
            {
                Color = Color.White
            };
            Q = new Spell.Skillshot(SpellSlot.Q, 810, SkillShotType.Circular, 600, int.MaxValue, 125)
            {
                AllowedCollisionCount = int.MaxValue, DamageType = DamageType.Magical
            };
            W = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Circular, 350, 1500, 140)
            {
                AllowedCollisionCount = int.MaxValue, DamageType = DamageType.Magical
            };
            E = new Spell.Skillshot(SpellSlot.E, 680, SkillShotType.Cone, 250, 2500, 50)
            {
                AllowedCollisionCount = int.MaxValue, DamageType = DamageType.Magical
            };
            R     = new Spell.Targeted(SpellSlot.R, 680, DamageType.Magical);
            Eball = new Spell.Skillshot(SpellSlot.E, 1100, SkillShotType.Linear, 250, 2400, 40)
            {
                AllowedCollisionCount = int.MaxValue, DamageType = DamageType.Magical
            };

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

            MenuIni         = MainMenu.AddMenu(MenuName, MenuName);
            AutoMenu        = MenuIni.AddSubMenu("Auto");
            ComboMenu       = MenuIni.AddSubMenu("Combo");
            HarassMenu      = MenuIni.AddSubMenu("Harass");
            JungleClearMenu = MenuIni.AddSubMenu("JungleClear");
            LaneClearMenu   = MenuIni.AddSubMenu("LaneClear");
            KillStealMenu   = MenuIni.AddSubMenu("KillSteal");
            DrawMenu        = MenuIni.AddSubMenu("Drawings");
            UltMenu         = MenuIni.AddSubMenu("R BlackList");

            SpellList.ForEach(
                i =>
            {
                ComboMenu.CreateCheckBox(i.Slot, "Use " + i.Slot, i.Slot != SpellSlot.E);
                if (i != R)
                {
                    HarassMenu.CreateCheckBox(i.Slot, "Use " + i.Slot, i != E);
                    HarassMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60);
                    HarassMenu.AddSeparator(0);
                    LaneClearMenu.CreateCheckBox(i.Slot, "Use " + i.Slot, i != E);
                    LaneClearMenu.CreateSlider(i.Slot + "hit", i.Slot + " Hit {0} Minions", 3, 1, 20);
                    LaneClearMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60);
                    LaneClearMenu.AddSeparator(0);
                    JungleClearMenu.CreateCheckBox(i.Slot, "Use " + i.Slot, i != E);
                    JungleClearMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60);
                    JungleClearMenu.AddSeparator(0);
                }
                KillStealMenu.CreateCheckBox(i.Slot, i.Slot + " KillSteal");
                DrawMenu.CreateCheckBox(i.Slot, "Draw " + i.Slot);
            });

            AutoMenu.CreateCheckBox("QEgap", "Auto QE Anti-Gapcloser");
            AutoMenu.CreateCheckBox("QEint", "Auto QE Interrupter");
            AutoMenu.CreateCheckBox("Egap", "Auto E Anti-Gapcloser");
            AutoMenu.CreateCheckBox("Eint", "Auto E Interrupter");
            AutoMenu.CreateCheckBox("Wunk", "Auto W Unkillable Minions");
            AutoMenu.CreateCheckBox("fleeE", "Flee E");
            AutoMenu.CreateKeyBind("QEkey", "QE To Mouse", false, KeyBind.BindTypes.HoldActive);

            ComboMenu.CreateCheckBox("QE", "Use QE");
            ComboMenu.CreateCheckBox("Eball", "Use E on Balls");

            HarassMenu.CreateCheckBox("QE", "Use QE");
            HarassMenu.CreateCheckBox("Eball", "Use E on Balls");
            HarassMenu.CreateKeyBind("auto", "Auto Harass", false, KeyBind.BindTypes.PressToggle);

            KillStealMenu.CreateCheckBox("QE", "QE KillSteal");

            DrawMenu.CreateCheckBox("dmg", "Draw Combo Damage");
            DrawMenu.CreateCheckBox("balls", "Draw Balls");

            UltMenu.AddGroupLabel("Targets To Not Use R On:");
            foreach (var enemy in EntityManager.Heroes.Enemies)
            {
                UltMenu.CreateCheckBox(enemy.Name(), "Dont Ult " + enemy.Name(), false);
            }

            MenuList.Add(HarassMenu);
            MenuList.Add(LaneClearMenu);
            MenuList.Add(JungleClearMenu);

            Spellbook.OnCastSpell            += Spellbook_OnCastSpell;
            Orbwalker.OnUnkillableMinion     += Orbwalker_OnUnkillableMinion;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapcloser;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
        }