Ejemplo n.º 1
0
 static ShieldManager()
 {
     // Initialize the menu values
     ShieldMenu.AddGroupLabel("Shield Manager");
     _useW         = ShieldMenu.Add("UseW", new CheckBox("Use W"));
     _useHumanizer = ShieldMenu.Add("Humanizer", new CheckBox("Use Humanizer", false));
 }
Ejemplo n.º 2
0
 static ShieldManager()
 {
     // Initialize the menu values
     ShieldMenu.AddGroupLabel("Kalkan Ayarları");
     _useW         = ShieldMenu.Add("UseW", new CheckBox("Kullan W"));
     _useHumanizer = ShieldMenu.Add("Humanizer", new CheckBox("İnsancıl Ayar Kullan", false));
 }
Ejemplo n.º 3
0
        private static void AddNewShield(Ability item)
        {
            MyAbilities.DeffensiveAbilities.Add(NameManager.Name(item) + "shield", item);
            if (!Shields.ShieldsTogglerCreated)
            {
                Shields.ShieldsTogglerCreated = true;
                MainMenu.Menu.AddItem(
                    new MenuItem("shieldsToggler", "Shields:").SetValue(
                        new AbilityToggler(new Dictionary <string, bool>())));
                MainMenu.Menu.Item("shieldsToggler").GetValue <AbilityToggler>().Add(NameManager.Name(item));
                MainMenu.AbilitiesMenu.AddSubMenu(Shields.ShieldsMenu);
            }
            else
            {
                MainMenu.Menu.Item("shieldsToggler").GetValue <AbilityToggler>().Add(NameManager.Name(item));
            }
            var menu = ShieldMenu.Create(NameManager.Name(item), item);

            Shields.ShieldsMenuDictionary.Add(NameManager.Name(item), menu);
            Shields.ShieldsMenu.AddSubMenu(menu);
        }
Ejemplo n.º 4
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.Hero != Champion.Riven)
            {
                return;
            }

            Menu = MainMenu.AddMenu("HTTF Riven", "httfRiven");
            Menu.AddLabel("Best Riven Addon Patch +7.7 ");
            Menu.AddLabel("Your comments and questions to the forum ");


            ComboMenu = Menu.AddSubMenu("Combo And Etc", "comboSettings");
            ComboMenu.Add("Combo.Q", new CheckBox("Use Q"));
            ComboMenu.Add("Combo.W", new CheckBox("Use W"));
            ComboMenu.Add("Combo.E", new CheckBox("Use E"));
            ComboMenu.Add("Combo.R2", new CheckBox("Use R (Killable)"));
            ComboMenu.AddLabel("R1 Settings");
            ComboMenu.Add("Combo.R", new CheckBox("Use R"));
            ComboMenu.Add("forcedRKeybind", new KeyBind("Use R in combo?", false, KeyBind.BindTypes.PressToggle, 'T'));
            ComboMenu.AddLabel("R2 Settings");
            ComboMenu.Add("BoxBoxLogicR2", new CheckBox("BoxboxLogicR2"));
            ComboMenu.Add("R2Mode", new ComboBox("R2 Mode:", 0, "Kill Only", "Max Damage"));


            ComboMenu.AddLabel("Burst = Select Target And Burst Key");
            ComboMenu.AddLabel("The flash has usesh");
            ComboMenu.AddLabel("If not perform without a flash");
            ComboMenu.Add("BurstBox", new KeyBind("Shy burst", false, KeyBind.BindTypes.HoldActive, 'G'));
            ComboMenu.Add("BurstKor", new KeyBind("E>R2>Flash>Q>W", false, KeyBind.BindTypes.HoldActive, 'J'));



            ComboMenu.AddLabel("When To use R");
            ComboMenu.Add("Combo.RCombo", new CheckBox("Cant Kill with Combo"));
            ComboMenu.Add("Combo.RPeople", new CheckBox("Have more than 1 person near"));
            ComboMenu.AddLabel("Harass Settings");
            ComboMenu.Add("Harass.Q", new CheckBox("Use Q"));
            ComboMenu.Add("Harass.W", new CheckBox("Use W"));
            ComboMenu.Add("Harass.E", new CheckBox("Use E"));
            var Style = ComboMenu.Add("harassstyle", new Slider("Harass Style", 0, 0, 3));

            Style.OnValueChange += delegate
            {
                Style.DisplayName = "Harass Style: " + new[] { "Q,Q,W,Q and E ", "E,H,Q3,W", "E,H,AA,Q,W", "E,Q,H,AA,Q,AA,W,AA,Q,AA" }[Style.CurrentValue];
            };
            Style.DisplayName = "Harass Style: " + new[] { "Q,Q,W,Q and E ", "E,H,Q3,W", "E,H,AA,Q,W", "E,Q,H,AA,Q,AA,W,AA,Q,AA" }[Style.CurrentValue];

            ComboMenu.AddLabel("Misc Settings");
            ComboMenu.AddLabel("Keep Alive Settings");
            ComboMenu.Add("Alive.Q", new CheckBox("Keep Q Alive"));
            ComboMenu.Add("Alive.R", new CheckBox("Use R2 Before Expire"));

            ComboMenu.AddLabel("Speed Combo");
            ComboMenu.AddLabel("0 = Challenger Combo 1.5 sec");
            ComboMenu.AddLabel("50 = Master Combo 2 sec");
            ComboMenu.AddLabel("100-200 = Diamond Combo 2.5 sec");
            ComboMenu.AddLabel("200-300 = Plat-Gold Combo 3 sec");
            ComboMenu.Add("HumanizerDelay", new Slider("Humanizer Delay (ms)", 0, 0, 300));


            FarmMenu = Menu.AddSubMenu("Clear Settings", "farmSettings");
            FarmMenu.AddLabel("Last Hit");
            FarmMenu.Add("LastHit.Q", new CheckBox("Use Q"));
            FarmMenu.Add("LastHit.W", new CheckBox("Use W"));
            FarmMenu.AddLabel("Wave Clear");
            FarmMenu.Add("WaveClear.Q", new CheckBox("Use Q"));
            FarmMenu.Add("WaveClear.W", new CheckBox("Use W"));
            FarmMenu.AddLabel("Jungle");
            FarmMenu.Add("Jungle.Q", new CheckBox("Use Q"));
            FarmMenu.Add("Jungle.W", new CheckBox("Use W"));
            FarmMenu.Add("Jungle.E", new CheckBox("Use E"));

            MiscMenu = Menu.AddSubMenu("Misc", "Misc");
            MiscMenu.AddLabel("• Draw •");
            MiscMenu.Add("DamageIndicator", new CheckBox("Draw Damage"));
            MiscMenu.AddLabel("• Misc •");
            MiscMenu.Add("gapcloser", new CheckBox("W on enemy gapcloser"));
            MiscMenu.Add("AutoIgnite", new CheckBox("Auto Ignite"));
            MiscMenu.Add("AutoW", new CheckBox("Auto W"));
            MiscMenu.Add("AutoQSS", new CheckBox("Auto QSS"));
            MiscMenu.Add("Youmu", new CheckBox("Use Youmuu?"));
            MiscMenu.AddLabel("• SkinHack •");
            MiscMenu.Add("checkSkin", new CheckBox("Use Skin Changer"));
            MiscMenu.Add("Skinid", new Slider("Skin ID", 0, 0, 11));
            ShieldMenu = Menu.AddSubMenu("AutoShield", "AutoShield");
            ShieldMenu.Add("Shield", new CheckBox("AutoShield"));
            ShieldMenu.Add("AutoDiels", new CheckBox("AutoDelay(Humanizer)"));
            ShieldMenu.AddLabel("•Auto Shield(beta)•");
            foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(enemy => enemy.IsEnemy))
            {
                for (var 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)
                        {
                            ShieldMenu.Add("Shield" + spell.SData.Name, new CheckBox(spell.Name, true));
                        }
                        else
                        {
                            ShieldMenu.Add("Shield" + spell.SData.Name, new CheckBox(spell.Name, false));
                        }
                    }
                }
            }

            ItemLogic.Init();
            EventLogic.Init();

            var slot = Player.Instance.GetSpellSlotFromName("summonerflash");

            if (slot != SpellSlot.Unknown)
            {
                Flash = new Spell.Skillshot(slot, 680, SkillShotType.Linear);
            }

            ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);

            Youmu = new Item((int)ItemId.Youmuus_Ghostblade, 0);

            Drawing.OnEndScene += Drawing_OnEndScene;

            Game.OnTick += Game_OnTick;

            Gapcloser.OnGapcloser += Gapcloser_OnGapcloser;

            Game.OnUpdate += OnGameUpdate;

            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;
        }