public static void Execute() { switch (Game.MapId) { case GameMapId.SummonersRift: Junglemobs = new[] { "SRU_Dragon_Air", "SRU_Dragon_Earth", "SRU_Dragon_Fire", "SRU_Dragon_Water", "SRU_Dragon_Elder", "SRU_Baron", "SRU_Gromp", "SRU_Krug", "SRU_Razorbeak", "Sru_Crab", "SRU_Murkwolf", "SRU_Blue", "SRU_Red", "SRU_RiftHerald" }; break; case GameMapId.CrystalScar: Junglemobs = new[] { "AscXerath" }; break; case GameMapId.TwistedTreeline: Junglemobs = new[] { "TT_NWraith", "TT_NWolf", "TT_NGolem", "TT_Spiderboss" }; break; default: Junglemobs = new[] { "None" }; break; } DashManager.Init(); CoreMenu = MainMenu.AddMenu("KappaCore", "KappaCore"); GapMenu = CoreMenu.AddSubMenu("Anti-GapCloser Settings"); ks = CoreMenu.AddSubMenu("Stealer"); GapMenu.AddGroupLabel("Anti GapCloser Champions"); foreach (var enemy in EntityManager.Heroes.Enemies) { foreach (var spell in Gapcloser.GapCloserList.Where(e => enemy.ChampionName == e.ChampName)) { GapMenu.Add(spell.SpellName + enemy.ID(), new CheckBox(spell.ChampName + " " + spell.SpellSlot)); } } ks.AddGroupLabel("KillSteal Champions"); foreach (var hero in EntityManager.Heroes.Enemies) { ks.Add(hero.ID(), new CheckBox(hero.ChampionName + " (" + hero.Name + ")")); } ks.AddSeparator(1); ks.AddGroupLabel("JungleSteal Mobs"); foreach (var mob in Junglemobs) { ks.Add(mob, new CheckBox(mob)); } ObjectsManager.Init(); }
private static void OnLoad() { Menu = MainMenu.AddMenu("Aatrox", "Aatrox"); Menu.AddLabel("Ported from BrianSharp - Berb"); Menu.AddSeparator(); ComboMenu = Menu.AddSubMenu("Combo"); ComboMenu.Add("Q", new CheckBox("Use Q")); ComboMenu.Add("W", new CheckBox("Use W")); ComboMenu.Add("WHpU", new Slider("-> Switch To Heal If Hp <", 50)); ComboMenu.Add("E", new CheckBox("Use E")); ComboMenu.Add("R", new CheckBox("Use R")); ComboMenu.Add("RHpU", new Slider("-> If Enemy Hp <", 60)); ComboMenu.Add("RCountA", new Slider("-> Or Enemy >=", 2, 1, 5)); ComboMenu.AddSeparator(); HarassMenu = Menu.AddSubMenu("Harass"); HarassMenu.Add("AutoE", new KeyBind("Auto E", false, KeyBind.BindTypes.PressToggle, 'H')); HarassMenu.Add("AutoEHpA", new Slider("-> If Hp >=", 50)); HarassMenu.Add("Q", new CheckBox("Use Q")); HarassMenu.Add("QHpA", new Slider("-> If Hp >=", 20)); HarassMenu.Add("E", new CheckBox("Use E")); HarassMenu.AddSeparator(); ClearMenu = Menu.AddSubMenu("Clear"); ClearMenu.Add("Q", new CheckBox("Use Q")); ClearMenu.Add("W", new CheckBox("Use W")); ClearMenu.Add("WPriority", new CheckBox("-> Priority Heal")); ClearMenu.Add("WHpU", new Slider("-> Switch To Heal If Hp <", 50)); ClearMenu.Add("E", new CheckBox("Use E")); ClearMenu.Add("Item", new CheckBox("Use Tiamat/Hydra Item")); ClearMenu.AddSeparator(); FleeMenu = Menu.AddSubMenu("Flee"); FleeMenu.Add("Q", new CheckBox("Use Q")); FleeMenu.Add("E", new CheckBox("Use E")); FleeMenu.AddSeparator(); KSMenu = Menu.AddSubMenu("Kill Steal"); KSMenu.Add("Q", new CheckBox("Use Q")); KSMenu.Add("E", new CheckBox("Use E")); KSMenu.Add("Smite", new CheckBox("Use Smite")); KSMenu.Add("Ignite", new CheckBox("Use Ignite")); KSMenu.AddSeparator(); GapMenu = Menu.AddSubMenu("Anti Gap Closer"); GapMenu.Add("Q", new CheckBox("Use Q")); foreach ( var spell in AntiGapcloser.Spells.Where(i => HeroManager.Enemies.Any(a => i.ChampionName == a.ChampionName))) { GapMenu.Add(spell.ChampionName + "_" + spell.Slot, new CheckBox("-> Skill " + spell.Slot + " Of " + spell.ChampionName)); } GapMenu.AddSeparator(); IntMenu = Menu.AddSubMenu("Interrupt"); IntMenu.Add("Q", new CheckBox("Use Q")); foreach ( var spell in Interrupter.Spells.Where(i => HeroManager.Enemies.Any(a => i.ChampionName == a.ChampionName))) { IntMenu.Add(spell.ChampionName + "_" + spell.Slot, new CheckBox("-> Skill " + spell.Slot + " Of " + spell.ChampionName)); } IntMenu.AddSeparator(); SmiteMenu = Menu.AddSubMenu("Smite Mob"); SmiteMenu.Add("Smite", new CheckBox("Use Smite")); SmiteMenu.Add("Auto", new CheckBox("-> Auto Smite")); SmiteMenu.Add("Baron", new CheckBox("-> Baron Nashor")); SmiteMenu.Add("Dragon", new CheckBox("-> Dragon")); SmiteMenu.Add("Red", new CheckBox("-> Red Brambleback")); SmiteMenu.Add("Blue", new CheckBox("-> Blue Sentinel")); SmiteMenu.Add("Krug", new CheckBox("-> Ancient Krug")); SmiteMenu.Add("Gromp", new CheckBox("-> Gromp")); SmiteMenu.Add("Raptor", new CheckBox("-> Crimson Raptor")); SmiteMenu.Add("Wolf", new CheckBox("-> Greater Murk Wolf")); SmiteMenu.AddSeparator(); DrawMenu = Menu.AddSubMenu("Drawings"); DrawMenu.Add("Q", new CheckBox("Use Q")); DrawMenu.Add("E", new CheckBox("Use E")); DrawMenu.Add("R", new CheckBox("Use R")); DrawMenu.AddSeparator(); Q = new Spell(SpellSlot.Q, 650); Q2 = new Spell(SpellSlot.Q, 650); W = new Spell(SpellSlot.W); E = new Spell(SpellSlot.E, 1075); R = new Spell(SpellSlot.R, 550); Q.SetSkillshot(0.6f, 250, 2000, false, SkillshotType.SkillshotCircle); Q2.SetSkillshot(0.6f, 150, 2000, false, SkillshotType.SkillshotCircle); E.SetSkillshot(0.25f, 35, 1250, false, SkillshotType.SkillshotLine); Tiamat = ItemData.Tiamat_Melee_Only.GetItem(); Hydra = ItemData.Ravenous_Hydra_Melee_Only.GetItem(); foreach ( var spell in myHero.Spellbook.Spells.Where( i => i.Name.ToLower().Contains("smite") && (i.Slot == SpellSlot.Summoner1 || i.Slot == SpellSlot.Summoner2))) { Smite = spell.Slot; } Ignite = myHero.GetSpellSlot("summonerdot"); Game.OnTick += OnTick; Gapcloser.OnGapcloser += Gapcloser_OnGapcloser; Interrupter.OnPossibleToInterrupt += OnPossibleToInterrupt; Drawing.OnDraw += OnDraw; }
private static void OnLoad() { Menu = MainMenu.AddMenu("剑魔", "Aatrox"); Menu.AddLabel("原BrianSharp移植 - Berb"); Menu.AddSeparator(); ComboMenu = Menu.AddSubMenu("连招"); ComboMenu.Add("Q", new CheckBox("使用 Q")); ComboMenu.Add("W", new CheckBox("使用 W")); ComboMenu.Add("WHpU", new Slider("-> 切换W为治疗,当生命低于", 50)); ComboMenu.Add("E", new CheckBox("使用 E")); ComboMenu.Add("R", new CheckBox("使用 R")); ComboMenu.Add("RHpU", new Slider("-> 使用R 敌方生命低于 <", 60)); ComboMenu.Add("RCountA", new Slider("-> 或者敌方数量为 >=", 2, 1, 5)); ComboMenu.AddSeparator(); HarassMenu = Menu.AddSubMenu("骚扰"); HarassMenu.Add("AutoE", new KeyBind("自动 E", false, KeyBind.BindTypes.PressToggle, 'H')); HarassMenu.Add("AutoEHpA", new Slider("-> 如果生命大于>=", 50)); HarassMenu.Add("Q", new CheckBox("使用 Q")); HarassMenu.Add("QHpA", new Slider("-> 如果生命大于 >=", 20)); HarassMenu.Add("E", new CheckBox("使用 E")); HarassMenu.AddSeparator(); ClearMenu = Menu.AddSubMenu("清线"); ClearMenu.Add("Q", new CheckBox("使用 Q")); ClearMenu.Add("W", new CheckBox("使用 W")); ClearMenu.Add("WPriority", new CheckBox("-> 优先治疗")); ClearMenu.Add("WHpU", new Slider("-> 切换W为治疗,当生命低于", 50)); ClearMenu.Add("E", new CheckBox("使用 E")); ClearMenu.Add("Item", new CheckBox("使用 九头蛇/泰坦")); ClearMenu.AddSeparator(); FleeMenu = Menu.AddSubMenu("逃跑"); FleeMenu.Add("Q", new CheckBox("使用 Q")); FleeMenu.Add("E", new CheckBox("使用 E")); FleeMenu.AddSeparator(); KSMenu = Menu.AddSubMenu("抢头"); KSMenu.Add("Q", new CheckBox("使用 Q")); KSMenu.Add("E", new CheckBox("使用 E")); KSMenu.Add("Smite", new CheckBox("使用惩戒")); KSMenu.Add("Ignite", new CheckBox("使用点燃")); KSMenu.AddSeparator(); GapMenu = Menu.AddSubMenu("防突击"); GapMenu.Add("Q", new CheckBox("使用 Q")); foreach ( var spell in AntiGapcloser.Spells.Where(i => HeroManager.Enemies.Any(a => i.ChampionName == a.ChampionName))) { GapMenu.Add(spell.ChampionName + "_" + spell.Slot, new CheckBox("-> Skill " + spell.Slot + " Of " + spell.ChampionName)); } GapMenu.AddSeparator(); IntMenu = Menu.AddSubMenu("技能打断"); IntMenu.Add("Q", new CheckBox("使用 Q")); foreach ( var spell in Interrupter.Spells.Where(i => HeroManager.Enemies.Any(a => i.ChampionName == a.ChampionName))) { IntMenu.Add(spell.ChampionName + "_" + spell.Slot, new CheckBox("-> Skill " + spell.Slot + " Of " + spell.ChampionName)); } IntMenu.AddSeparator(); SmiteMenu = Menu.AddSubMenu("惩戒"); SmiteMenu.Add("Smite", new CheckBox("使用惩戒")); SmiteMenu.Add("Auto", new CheckBox("-> 自动惩戒")); SmiteMenu.Add("Baron", new CheckBox("-> 男爵")); SmiteMenu.Add("Dragon", new CheckBox("-> 龙")); SmiteMenu.Add("Red", new CheckBox("-> 红")); SmiteMenu.Add("Blue", new CheckBox("-> 蓝")); SmiteMenu.Add("Krug", new CheckBox("-> 石头人")); SmiteMenu.Add("Gromp", new CheckBox("-> 青蛙")); SmiteMenu.Add("Raptor", new CheckBox("-> 4鸟")); SmiteMenu.Add("Wolf", new CheckBox("-> 狼")); SmiteMenu.AddSeparator(); DrawMenu = Menu.AddSubMenu("线圈"); DrawMenu.Add("Q", new CheckBox("显示 Q")); DrawMenu.Add("E", new CheckBox("显示 E")); DrawMenu.Add("R", new CheckBox("显示 R")); DrawMenu.AddSeparator(); Q = new Spell(SpellSlot.Q, 650); Q2 = new Spell(SpellSlot.Q, 650); W = new Spell(SpellSlot.W); E = new Spell(SpellSlot.E, 1075); R = new Spell(SpellSlot.R, 550); Q.SetSkillshot(0.6f, 250, 2000, false, SkillshotType.SkillshotCircle); Q2.SetSkillshot(0.6f, 150, 2000, false, SkillshotType.SkillshotCircle); E.SetSkillshot(0.25f, 35, 1250, false, SkillshotType.SkillshotLine); Tiamat = ItemData.Tiamat_Melee_Only.GetItem(); Hydra = ItemData.Ravenous_Hydra_Melee_Only.GetItem(); foreach (var spell in myHero.Spellbook.Spells.Where(i => i.Name.ToLower().Contains("smite") && (i.Slot == SpellSlot.Summoner1 || i.Slot == SpellSlot.Summoner2))) { Smite = spell.Slot; } Ignite = myHero.GetSpellSlot("summonerdot"); Game.OnTick += OnTick; Gapcloser.OnGapcloser += Gapcloser_OnGapcloser; Interrupter.OnPossibleToInterrupt += OnPossibleToInterrupt; Drawing.OnDraw += OnDraw; }