/// <summary> /// Generates the menu. /// </summary> public void GenerateMenu() { QMenu = Variables.MenuPrincipal.AddSubMenu("Q Settings"); QMenu.Add("TDVaynemisctumblenoqintoenemies", new CheckBox("Don't Q into enemies")); QMenu.Add("TDVaynemisctumbleqks", new CheckBox("Q for Killsteal")); QMenu.Add("TDVaynemisctumblesmartQ", new CheckBox("Use SOLO Vayne Q Logic")); EMenu = Variables.MenuPrincipal.AddSubMenu("E Settings"); EMenu.Add("useecombo", new CheckBox("Use E")); EMenu.Add("TDVaynemisccondemnautoe", new CheckBox("Auto E")); EMenu.Add("TDVaynemisccondemncurrent", new CheckBox("Only E Current Target")); StringList(EMenu, "EMode", "E Mode", new[] { "PRADASMART", "PRADAPERFECT", "MARKSMAN", "SHARPSHOOTER", "GOSU", "VHR", "PRADALEGACY", "FASTEST", "OLDPRADA" }, 0); EMenu.Add("EPushDist", new Slider("E Push Distance", 450, 300, 475)); EMenu.Add("EHitchance", new Slider("E Hitchance", 50)); EMenu.Add("TDVaynemisccondemnsave", new CheckBox("Save yourself")); HarassMenu = Variables.MenuPrincipal.AddSubMenu("Harass Settings"); StringList(HarassMenu, "TDVaynemixedmode", "Harass Mode", new[] {"Passive", "Aggresive"}, 1); FarmMenu = Variables.MenuPrincipal.AddSubMenu("Farm Settings"); FarmMenu.Add("useqfarm", new CheckBox("Use Q")); FarmMenu.Add("TDVaynelaneclearcondemnjungle", new CheckBox("Condemn Jungle Mobs")); MiscMenu = Variables.MenuPrincipal.AddSubMenu("Misc Settings"); MiscMenu.Add("usercombo", new CheckBox("Auto Q when use ult")); MiscMenu.Add("botrkcutlasshpercent", new Slider("BotRK/Cutlass Health %", 50)); MiscMenu.Add("TDVaynemiscmiscellaneousantigapcloser", new CheckBox("Antigapcloser")); MiscMenu.Add("TDVaynemiscmiscellaneousinterrupter", new CheckBox("Interrupter")); MiscMenu.Add("TDVaynemiscmiscellaneousnoaastealth", new CheckBox("Don't AA while stealthed")); MiscMenu.Add("TDVaynemiscmiscellaneousdelay", new Slider("Antigapcloser / Interrupter Delay", 300, 0, 1000)); }
private static void LoadMenuOKTW() { drawMenu = Config.AddSubMenu("Draw"); drawMenu.Add("onlyRdy", new CheckBox("Draw only ready spells")); drawMenu.Add("wRange", new CheckBox("W Range")); drawMenu.Add("rNot", new CheckBox("R key info", true)); QMenu = Config.AddSubMenu("Q Config"); QMenu.Add("harasQ", new CheckBox("Harass Q")); EMenu = Config.AddSubMenu("E Config"); EMenu.Add("autoE", new CheckBox("Auto E")); RMenu = Config.AddSubMenu("R Config"); RMenu.Add("autoR", new CheckBox("Auto R")); RMenu.Add("Rkscombo", new CheckBox("R KS combo R + W + AA")); RMenu.Add("autoRaoe", new CheckBox("Auto R aoe")); RMenu.Add("autoRinter", new CheckBox("Auto R OnPossibleToInterrupt")); foreach (var enemy in HeroManager.Enemies) { for (int i = 0; i < 4; i++) { var spell = enemy.Spellbook.Spells[i]; if (spell.SData.TargettingType != SpellDataTargetType.Self && spell.SData.TargettingType != SpellDataTargetType.SelfAndUnit) { RMenu.Add("spell" + spell.SData.Name, new CheckBox(spell.Name, false)); } } } RMenu.Add("useR2", new KeyBind("R key target cast", false, KeyBind.BindTypes.HoldActive, 'Y')); RMenu.Add("useR", new KeyBind("Semi-manual cast R key", false, KeyBind.BindTypes.HoldActive, 'T')); List <string> modes = new List <string>(); modes.Add("LOW HP"); modes.Add("CLOSEST"); RMenu.Add("Semi-manual", new ComboBox("Semi-manual MODE", 0, modes.ToArray())); foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(enemy => enemy.Team != Player.Team)) { RMenu.Add("GapCloser" + enemy.NetworkId, new CheckBox("Gapclose R : " + enemy.ChampionName, false)); } harassMenu = Config.AddSubMenu("Harass"); foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(enemy => enemy.Team != Player.Team)) { harassMenu.Add("haras" + enemy.NetworkId, new CheckBox(enemy.ChampionName)); } FarmMenu = Config.AddSubMenu("Farm"); FarmMenu.Add("farmQ", new CheckBox("Lane clear Q")); FarmMenu.Add("farmW", new CheckBox("Lane clear W")); FarmMenu.Add("Mana", new Slider("LaneClear Mana", 80, 30)); FarmMenu.Add("LCminions", new Slider("LaneClear minimum minions", 3, 0, 10)); FarmMenu.Add("jungleQ", new CheckBox("Jungle clear Q")); FarmMenu.Add("jungleW", new CheckBox("Jungle clear W")); }
private static void LoadMenuOKTW() { drawMenu = Config.AddSubMenu("Draw"); drawMenu.Add("qRange", new CheckBox("Q range")); drawMenu.Add("wRange", new CheckBox("W range")); drawMenu.Add("eRange", new CheckBox("E range")); drawMenu.Add("rRange", new CheckBox("R range")); drawMenu.Add("onlyRdy", new CheckBox("Draw only ready spells")); QMenu = Config.AddSubMenu("Q Config"); QMenu.Add("autoQ", new CheckBox("Auto Q")); QMenu.Add("AGCQ", new CheckBox("Q gapcloser")); QMenu.Add("harrasQ", new CheckBox("Harass Q")); foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(enemy => enemy.Team != Player.Team)) { QMenu.Add("haras" + enemy.NetworkId, new CheckBox("Harass :" + enemy.ChampionName)); } WMenu = Config.AddSubMenu("W Config"); WMenu.Add("autoW", new CheckBox("Auto W")); WMenu.Add("AGCW", new CheckBox("AntiGapcloser W")); WMenu.Add("inter", new CheckBox("OnPossibleToInterrupt W")); EMenu = Config.AddSubMenu("E Config"); EMenu.Add("autoE", new CheckBox("Auto E")); RMenu = Config.AddSubMenu("R Config"); RMenu.Add("autoR", new CheckBox("Auto R")); FarmMenu = Config.AddSubMenu("Farm"); FarmMenu.Add("farmE", new CheckBox("Lane clear E")); FarmMenu.Add("farmR", new CheckBox("Lane clear R")); FarmMenu.Add("Mana", new Slider("LaneClear Mana", 80)); FarmMenu.Add("LCminions", new Slider("LaneClear minimum minions", 2, 0, 10)); FarmMenu.Add("jungleQ", new CheckBox("Jungle clear Q")); FarmMenu.Add("jungleW", new CheckBox("Jungle clear W")); FarmMenu.Add("jungleE", new CheckBox("Jungle clear E")); FarmMenu.Add("jungleR", new CheckBox("Jungle clear R")); AniviaMenu = Config.AddSubMenu(Player.ChampionName); AniviaMenu.Add("AACombo", new CheckBox("Disable AA if can use E")); }
private static void LoadMenuOKTW() { drawMenu = Config.AddSubMenu("线圈"); drawMenu.Add("qRange", new CheckBox("Q 范围")); drawMenu.Add("wRange", new CheckBox("W 范围")); drawMenu.Add("eRange", new CheckBox("E 范围")); drawMenu.Add("rRange", new CheckBox("R 范围")); drawMenu.Add("onlyRdy", new CheckBox("只显示无冷却技能")); QMenu = Config.AddSubMenu("Q 设置"); QMenu.Add("autoQ", new CheckBox("自动 Q")); QMenu.Add("AGCQ", new CheckBox("Q 防突进")); QMenu.Add("harrasQ", new CheckBox("骚扰 Q")); foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(enemy => enemy.Team != Player.Team)) { QMenu.Add("haras" + enemy.NetworkId, new CheckBox("骚扰 :" + enemy.ChampionName)); } WMenu = Config.AddSubMenu("W 设置"); WMenu.Add("autoW", new CheckBox("自动 W")); WMenu.Add("AGCW", new CheckBox("防突进 W")); WMenu.Add("inter", new CheckBox("可打断技能的目标 W")); EMenu = Config.AddSubMenu("E 设置"); EMenu.Add("autoE", new CheckBox("自动 E")); RMenu = Config.AddSubMenu("R 设置"); RMenu.Add("autoR", new CheckBox("自动 R")); FarmMenu = Config.AddSubMenu("农兵"); FarmMenu.Add("farmE", new CheckBox("清线 E")); FarmMenu.Add("farmR", new CheckBox("清线 R")); FarmMenu.Add("Mana", new Slider("清线蓝量", 80)); FarmMenu.Add("LCminions", new Slider("清线最低小兵数量", 2, 0, 10)); FarmMenu.Add("jungleQ", new CheckBox("清野 Q")); FarmMenu.Add("jungleW", new CheckBox("清野 W")); FarmMenu.Add("jungleE", new CheckBox("清野 E")); FarmMenu.Add("jungleR", new CheckBox("清野 R")); AniviaMenu = Config.AddSubMenu(Player.ChampionName); AniviaMenu.Add("AACombo", new CheckBox("E无冷却时,屏蔽普攻")); }
private static void LoadMenuOKTW() { drawMenu = Config.AddSubMenu("Draw"); drawMenu.Add("onlyRdy", new CheckBox("Draw only ready spells")); drawMenu.Add("wRange", new CheckBox("W Range")); QMenu = Config.AddSubMenu("Q Config"); QMenu.Add("harasQ", new CheckBox("Harass Q")); EMenu = Config.AddSubMenu("E Config"); EMenu.Add("autoE", new CheckBox("Auto E")); RMenu = Config.AddSubMenu("R Config"); RMenu.Add("autoR", new CheckBox("Auto R")); RMenu.Add("Rkscombo", new CheckBox("R KS combo R + W + AA")); RMenu.Add("autoRaoe", new CheckBox("Auto R aoe")); RMenu.Add("autoRinter", new CheckBox("Auto R OnPossibleToInterrupt")); RMenu.Add("useR", new KeyBind("Semi-manual cast R key", false, KeyBind.BindTypes.HoldActive, 'T')); foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(enemy => enemy.Team != Player.Team)) { RMenu.Add("GapCloser" + enemy.ChampionName, new CheckBox("Gapclose R : " + enemy.ChampionName, false)); } harassMenu = Config.AddSubMenu("Harass"); foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(enemy => enemy.Team != Player.Team)) { harassMenu.Add("haras" + enemy.ChampionName, new CheckBox(enemy.ChampionName, true)); } FarmMenu = Config.AddSubMenu("Farm"); FarmMenu.Add("farmQ", new CheckBox("Lane clear Q")); FarmMenu.Add("farmW", new CheckBox("Lane clear W")); FarmMenu.Add("Mana", new Slider("LaneClear Mana", 80, 30, 100)); FarmMenu.Add("LCminions", new Slider("LaneClear minimum minions", 3, 0, 10)); FarmMenu.Add("jungleQ", new CheckBox("Jungle clear Q")); FarmMenu.Add("jungleW", new CheckBox("Jungle clear W")); }
private static void LoadMenuOKTW() { drawMenu = Config.AddSubMenu("线圈"); drawMenu.Add("onlyRdy", new CheckBox("只显示无冷却技能")); drawMenu.Add("wRange", new CheckBox("W 范围")); QMenu = Config.AddSubMenu("Q 设置"); QMenu.Add("harasQ", new CheckBox("骚扰 Q")); EMenu = Config.AddSubMenu("E 设置"); EMenu.Add("autoE", new CheckBox("自动 E")); RMenu = Config.AddSubMenu("R 设置"); RMenu.Add("autoR", new CheckBox("自动 R")); RMenu.Add("Rkscombo", new CheckBox("R 连招抢头 R + W + AA")); RMenu.Add("autoRaoe", new CheckBox("自动R (多敌人模式)")); RMenu.Add("autoRinter", new CheckBox("自动R (可尝试技能打断目标")); RMenu.Add("useR", new KeyBind("半自动 R 按键", false, KeyBind.BindTypes.HoldActive, 'T')); foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(enemy => enemy.Team != Player.Team)) { RMenu.Add("GapCloser" + enemy.NetworkId, new CheckBox("防突进 R : " + enemy.ChampionName, false)); } harassMenu = Config.AddSubMenu("骚扰"); foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(enemy => enemy.Team != Player.Team)) { harassMenu.Add("haras" + enemy.NetworkId, new CheckBox(enemy.ChampionName)); } FarmMenu = Config.AddSubMenu("农兵"); FarmMenu.Add("farmQ", new CheckBox("清线 Q")); FarmMenu.Add("farmW", new CheckBox("清线 W")); FarmMenu.Add("Mana", new Slider("清线蓝量", 80, 30)); FarmMenu.Add("LCminions", new Slider("最低小兵命中数", 3, 0, 10)); FarmMenu.Add("jungleQ", new CheckBox("清野 Q")); FarmMenu.Add("jungleW", new CheckBox("清野 W")); }
public static void Execute() { menuIni = new Menu("Darius", "Darius#", true); menuIni.Add(new MenuSeparator("note", "Darius The Dank Memes Master!")); menuIni.Add(new MenuSeparator("setting", "Global Settings")); //menuIni.Add("Items", new CheckBox("Use Items?")); menuIni.Add(new MenuBool("Combo", "Use Combo?")); menuIni.Add(new MenuBool("Harass", "Use Harass?")); menuIni.Add(new MenuBool("Clear", "Use Clear?")); menuIni.Add(new MenuBool("Drawings", "Use Drawings?")); menuIni.Add(new MenuBool("KillSteal", "Use KillSteal?")); QMenu = menuIni.Add(new Menu("qset", "Q Settings")); QMenu.Add(new MenuSeparator("qset1", "Q Settings")); QMenu.Add(new MenuBool("Combo", "Q Combo")); QMenu.Add(new MenuBool("Harass", "Q Harass")); QMenu.Add(new MenuSeparator("qset2", "Q LaneClear Settings")); QMenu.Add(new MenuBool("Clear", "Q LaneClear")); QMenu.Add(new MenuSlider("Qlc", "Q On Hit Minions >=", 3, 1, 10)); QMenu.Add(new MenuSeparator("extset", "Extra Settings")); QMenu.Add(new MenuBool("QE", "Always Q Before E", false)); QMenu.Add(new MenuBool("Stick", "Stick to Target while Casting Q")); QMenu.Add(new MenuBool("QAA", "Use Q if AA is in Cooldown", false)); QMenu.Add(new MenuBool("range", "Dont Cast Q when Enemy in AA range", false)); QMenu.Add(new MenuBool("Flee", "Q On Flee (Ignores Stick to target)")); QMenu.Add(new MenuSlider("QFlee", "Cast Q flee When HP is below %", 90)); QMenu.Add(new MenuBool("Qaoe", "Auto Q AoE")); QMenu.Add(new MenuSlider("Qhit", "Q Aoe Hit >=", 3, 1, 5)); WMenu = menuIni.Add(new Menu("wset", "W Settings")); WMenu.Add(new MenuSeparator("w", "W Settings")); WMenu.Add(new MenuBool("Combo", "W Combo")); WMenu.Add(new MenuBool("Harass", "W Harass")); WMenu.Add(new MenuBool("Clear", "W LaneClear")); WMenu.Add(new MenuSeparator("w2", "Extra Settings")); WMenu.Add(new MenuBool("AAr", "W AA Reset")); EMenu = menuIni.Add(new Menu("eset", "E Settings")); EMenu.Add(new MenuSeparator("e1", "E Settings")); EMenu.Add(new MenuBool("Combo", "E Combo")); EMenu.Add(new MenuBool("Harass", "E Harass")); EMenu.Add(new MenuSeparator("e2", "Extra Settings")); EMenu.Add(new MenuBool("Interrupt", "E To Interrupt")); RMenu = menuIni.Add(new Menu("rset", "R Settings")); RMenu.Add(new MenuSeparator("r1", "R Settings")); RMenu.Add(new MenuBool("Combo", "R Combo Finisher")); RMenu.Add(new MenuBool("stack", "Use R On Stacks", false)); RMenu.Add(new MenuSlider("count", "Cast R On Stacks >=", 5, 0, 5)); RMenu.Add(new MenuBool("SaveR", "Dont Ult if target killable with AA", false)); RMenu.Add(new MenuSlider("SR", "Dont Use Ult if target can be kill With X AA", 1, 0, 6)); RMenu.Add(new MenuKeyBind("semiR", "Semi-Auto R", System.Windows.Forms.Keys.T, KeyBindType.Press)); KillStealMenu = menuIni.Add(new Menu("ksset", "KillSteal")); KillStealMenu.Add(new MenuSeparator("k1", "KillSteal Settings")); KillStealMenu.Add(new MenuBool("Rks", "R KillSteal")); if (ObjectManager.Player.Spellbook.Spells.FirstOrDefault(o => o.SData.Name.Contains("SummonerDot")) != null) { KillStealMenu.Add(new MenuBool("IGP", "Ignite + Passive Kill")); KillStealMenu.Add(new MenuBool("IG", "Ignite Only", false)); KillStealMenu.Add(new MenuSeparator("k2", "Iginte + Passive takes in account Max Ignite + Passive dmg")); Ignite = new Spell(ObjectManager.Player.GetSpellSlot("summonerdot"), 600); } ManaMenu = menuIni.Add(new Menu("manaset", "Mana Manager")); ManaMenu.Add(new MenuSeparator("hmana", "Harass")); ManaMenu.Add(new MenuSlider("harassmana", "Harass Mana %", 75)); ManaMenu.Add(new MenuSeparator("lclear", "Lane Clear")); ManaMenu.Add(new MenuSlider("lanemana", "Lane Clear Mana %", 60)); DrawMenu = menuIni.Add(new Menu("drawing", "Drawings")); DrawMenu.Add(new MenuSeparator("d1", "Drawing Settings")); DrawMenu.Add(new MenuBool("Q", "Draw Q")); DrawMenu.Add(new MenuBool("W", "Draw W")); DrawMenu.Add(new MenuBool("E", "Draw E")); DrawMenu.Add(new MenuBool("R", "Draw R")); DrawMenu.Add(new MenuSeparator("d2", "Ultimate Drawings")); DrawMenu.Add(new MenuBool("DrawD", "Draw R Damage")); DrawMenu.Add(new MenuBool("Killable", "Draw Killable")); DrawMenu.Add(new MenuBool("Stacks", "Draw Passive Stacks")); DrawMenu.Add(new MenuSlider("PPx", "Passive Stacks Position X", 100, 0, 150)); DrawMenu.Add(new MenuSlider("PPy", "Passive Stacks Position Y", 100, 0, 150)); DrawMenu.Add(new MenuBool("RHealth", "Draw After R health")); DrawMenu.Add(new MenuSlider("RHx", "After R health Position", 135, 0, 150)); menuIni.Attach(); Q = new Spell(SpellSlot.Q, 400f); W = new Spell(SpellSlot.W, 300f); E = new Spell(SpellSlot.E, 550f); R = new Spell(SpellSlot.R, 475f); E.SetSkillshot(0.25f, 80f, 1000f, false, SkillshotType.Cone); R.SetTargetted(0.5f, 1000f); //AIBaseClient.OnBuffGain += AIBaseClient_OnBuffGain; Game.OnUpdate += OnUpdate; Drawing.OnDraw += OnDraw; Drawing.OnEndScene += OnEndScene; Orbwalker.OnAction += OnAfterAttack; //Orbwalk.OnPostAttack += Orbwalk_OnPostAttack; AIBaseClient.OnProcessSpellCast += AIBaseClient_OnProcessSpellCast; Interrupter.OnInterrupterSpell += Interrupter_OnInterrupterSpell; }
public static void LoadMenu() { Home = Menu.AddMenu(ObjectManager.Me.Hero + "by BadCommand"); //Main.Orb = new Orbwalker.OrbwalkerInstance(Home.AddSubMenu("Orbwalker")); ComboMenu = Home.AddSubMenu(Prefix + "Combo"); ComboMenu.Add(new MenuCheckbox("useQ", "Use Q", true)); ComboMenu.Add(new MenuCheckbox("useE", "Use E", true)); ComboMenu.Add(new MenuCheckbox("useR", "Use R", true)); ComboMenu.Add(new MenuSlider("minR", "Ult if enemies around", 1, 5, 3)); ComboMenu.Add(new MenuSlider("mana", "Mana % must be >= ", 0, 100, 0)); QMenu = Home.AddSubMenu(Prefix + "Q Options"); QMenu.Add(new MenuSlider("rangeQ", "Maximum Range for Q", 200, 925, 925)); QMenu.Add(new MenuSlider("minQ", "Minimum Range for Q", 200, 925, 300)); foreach (var hero in HesaEngine.SDK.ObjectManager.Heroes.Enemies) { QMenu.Add(new MenuCheckbox("blq" + hero.ChampionName, hero.ChampionName, false)); } HarassMenu = Home.AddSubMenu(Prefix + "Harass"); HarassMenu.Add(new MenuCheckbox("useQ", "Use Q", true)); HarassMenu.Add(new MenuCheckbox("useE", "Use E", true)); HarassMenu.Add(new MenuCheckbox("useR", "Use R", true)); HarassMenu.Add(new MenuSlider("minR", "Ult if enemies around", 1, 5, 3)); HarassMenu.Add(new MenuSlider("mana", "Mana % must be >= ", 0, 100, 30)); FleeMenu = Home.AddSubMenu(Prefix + "Flee"); FleeMenu.Add(new MenuCheckbox("useW", "Use W", true)); FleeMenu.Add(new MenuSlider("mana", "Mana % must be >= ", 0, 100, 0)); DrawingMenu = Home.AddSubMenu(Prefix + "Drawings"); DrawingMenu.Add(new MenuCheckbox("enable", "Enable", true)); DrawingMenu.Add(new MenuCheckbox("drawQ", "Draw Q", false)); DrawingMenu.Add(new MenuCheckbox("drawE", "Draw E", false)); DrawingMenu.Add(new MenuCheckbox("drawR", "Draw R", true)); DrawingMenu.Add(new MenuCheckbox("drawminR", "Draw min Q", true)); DrawingMenu.Add(new MenuCheckbox("drawmaxR", "Draw max Q", true)); KillstealMenu = Home.AddSubMenu(Prefix + "KillSteal"); KillstealMenu.Add(new MenuCheckbox("enable", "Enable", true)); KillstealMenu.Add(new MenuCheckbox("useQ", "Use Q", true)); KillstealMenu.Add(new MenuCheckbox("useR", "Use R", true)); KillstealMenu.Add(new MenuCheckbox("useIgnite", "Use Ignite", true)); KillstealMenu.Add(new MenuSlider("mana", "Mana % must be >= ", 10, 100, 10)); MiscMenu = Home.AddSubMenu(Prefix + "Misc"); MiscMenu.Add(new MenuCheckbox("useDP", "Use DarkPrediction", true)); MiscMenu.Add(new MenuCheckbox("useRafterQ", "Follow up Q with R", true)); MiscMenu.Add(new MenuKeybind("manualQ", "Manual grab no blacklist", SharpDX.DirectInput.Key.A, MenuKeybindType.Hold)); MiscMenu.Add(new MenuCheckbox("agQ", "AntiGapclose Q", true)); MiscMenu.Add(new MenuCheckbox("inQ", "Interrupt Q", true)); MiscMenu.Add(new MenuCheckbox("inE", "Interrupt E", true)); MiscMenu.Add(new MenuCheckbox("inR", "Interrupt R", true)); MiscMenu.Add(new MenuSlider("mana", "Mana % must be >= ", 10, 100, 30)); MiscMenu.Add(new MenuCheckbox("level", "Enable Spell Leveler", false)); MiscMenu.Add(new MenuSlider("levelDelay", "Level UP Delay", 10, 1000, 200)); MiscMenu.Add(new MenuCombo("levelFirst", "Level UP First", new[] { "Q", "W", "E" })); MiscMenu.Add(new MenuCombo("levelSecond", "Level UP Second", new[] { "Q", "W", "E" }, 1)); MiscMenu.Add(new MenuCombo("levelThird", "Level UP Third", new[] { "Q", "W", "E" }, 2)); }
public static void LoadOKTW() { Q = new Spell(SpellSlot.Q, 625f); W = new Spell(SpellSlot.W, 550f); E = new Spell(SpellSlot.E); R = new Spell(SpellSlot.R, 625f); FR = new Spell(SpellSlot.R, 1000f); Q.SetTargetted(0.25f, 1400f); W.SetSkillshot(0.3f, 80f, float.MaxValue, false, SkillshotType.SkillshotLine); R.SetSkillshot(0.20f, 250f, float.MaxValue, false, SkillshotType.SkillshotCircle); FR.SetSkillshot(0.20f, 250f, float.MaxValue, false, SkillshotType.SkillshotCircle); flash = Player.GetSpellSlot("summonerflash"); drawMenu = Config.AddSubMenu("Draw"); drawMenu.Add("qRange", new CheckBox("Q range")); drawMenu.Add("wRange", new CheckBox("W range")); drawMenu.Add("rRange", new CheckBox("R range")); drawMenu.Add("onlyRdy", new CheckBox("Draw only ready spells")); QMenu = Config.AddSubMenu("Q Config"); QMenu.Add("autoQ", new CheckBox("Auto Q")); QMenu.Add("harrasQ", new CheckBox("Harass Q")); WMenu = Config.AddSubMenu("W Config"); WMenu.Add("autoW", new CheckBox("Auto W")); WMenu.Add("harrasW", new CheckBox("Harass W")); EMenu = Config.AddSubMenu("E Config"); EMenu.Add("autoE", new CheckBox("Auto E stack stun")); RMenu = Config.AddSubMenu("R Config"); RMenu.AddLabel("0 : Normal"); RMenu.AddLabel("1 : Always"); RMenu.AddLabel("2 : Never"); RMenu.AddLabel("3 : Always Stun"); foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(enemy => enemy.IsEnemy)) { RMenu.Add("UM" + enemy.NetworkId, new Slider(enemy.ChampionName, 0, 0, 3)); } RMenu.AddSeparator(); RMenu.Add("autoRks", new CheckBox("Auto R KS")); RMenu.Add("autoRcombo", new CheckBox("Auto R Combo if stun is ready")); RMenu.Add("rCount", new Slider("Auto R x enemies", 3, 2, 5)); RMenu.Add("tibers", new CheckBox("Tibbers Auto Pilot")); if (flash != SpellSlot.Unknown) { RMenu.Add("rCountFlash", new Slider("Auto flash + R stun x enemies", 4, 2, 5)); } FarmMenu = Config.AddSubMenu("Farm"); FarmMenu.Add("farmQ", new CheckBox("Farm Q")); FarmMenu.Add("farmW", new CheckBox("Lane clear W")); FarmMenu.Add("Mana", new Slider("LaneClear Mana", 60)); Game.OnUpdate += Game_OnGameUpdate; GameObject.OnCreate += Obj_AI_Base_OnCreate; Drawing.OnDraw += Drawing_OnDraw; }
public static void Execute() { if (Player.Instance.ChampionName != ChampName) { return; } menuIni = MainMenu.AddMenu("KappaDarius", "KappaDarius"); menuIni.AddGroupLabel("Darius The Dank Memes Master!"); menuIni.AddGroupLabel("Global Settings"); menuIni.Add("Items", new CheckBox("Use Items?")); menuIni.Add("Combo", new CheckBox("Use Combo?")); menuIni.Add("Harass", new CheckBox("Use Harass?")); menuIni.Add("Clear", new CheckBox("Use Clear?")); menuIni.Add("Drawings", new CheckBox("Use Drawings?")); menuIni.Add("KillSteal", new CheckBox("Use KillSteal?")); QMenu = menuIni.AddSubMenu("Q Settings"); QMenu.AddGroupLabel("Q Settings"); QMenu.Add("Combo", new CheckBox("Q Combo")); QMenu.Add("Harass", new CheckBox("Q Harass")); QMenu.AddGroupLabel("Q LaneClear Settings"); QMenu.Add("Clear", new CheckBox("Q LaneClear")); QMenu.Add("Qlc", new Slider("Q On Hit Minions >=", 3, 1, 10)); QMenu.AddSeparator(); QMenu.AddGroupLabel("Extra Settings"); QMenu.Add("QE", new CheckBox("Always Q Before E", false)); QMenu.Add("Stick", new CheckBox("Stick to Target while Casting Q")); QMenu.Add("QAA", new CheckBox("Use Q if AA is in Cooldown", false)); QMenu.Add("range", new CheckBox("Dont Cast Q when Enemy in AA range", false)); QMenu.Add("Flee", new CheckBox("Q On Flee (Ignores Stick to target)")); QMenu.Add("QFlee", new Slider("Cast Q flee When HP is below %", 90, 0, 100)); QMenu.Add("Qaoe", new CheckBox("Auto Q AoE")); QMenu.Add("Qhit", new Slider("Q Aoe Hit >=", 3, 1, 5)); WMenu = menuIni.AddSubMenu("W Settings"); WMenu.AddGroupLabel("W Settings"); WMenu.Add("Combo", new CheckBox("W Combo")); WMenu.Add("Harass", new CheckBox("W Harass")); WMenu.Add("Clear", new CheckBox("W LaneClear")); WMenu.AddGroupLabel("Extra Settings"); WMenu.Add("AAr", new CheckBox("W AA Reset")); EMenu = menuIni.AddSubMenu("E Settings"); EMenu.AddGroupLabel("E Settings"); EMenu.Add("Combo", new CheckBox("E Combo")); EMenu.Add("Harass", new CheckBox("E Harass")); EMenu.AddGroupLabel("Extra Settings"); EMenu.Add("Interrupt", new CheckBox("E To Interrupt")); RMenu = menuIni.AddSubMenu("R Settings"); RMenu.AddGroupLabel("R Settings"); RMenu.Add("Combo", new CheckBox("R Combo Finisher")); RMenu.Add("stack", new CheckBox("Use R On Stacks", false)); RMenu.Add("count", new Slider("Cast R On Stacks >=", 5, 0, 5)); RMenu.Add("SaveR", new CheckBox("Dont Ult if target killable with AA", false)); RMenu.Add("SR", new Slider("Dont Use Ult if target can be kill With X AA", 1, 0, 6)); RMenu.Add("semiR", new KeyBind("Semi-Auto R", false, KeyBind.BindTypes.HoldActive)); KillStealMenu = menuIni.AddSubMenu("KillSteal"); KillStealMenu.AddGroupLabel("KillSteal Settings"); KillStealMenu.Add("Rks", new CheckBox("R KillSteal")); if (Player.Spells.FirstOrDefault(o => o.SData.Name.Contains("SummonerDot")) != null) { KillStealMenu.Add("IGP", new CheckBox("Ignite + Passive Kill")); KillStealMenu.Add("IG", new CheckBox("Ignite Only", false)); KillStealMenu.AddLabel("Iginte + Passive takes in account Max Ignite + Passive dmg"); Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600); } ManaMenu = menuIni.AddSubMenu("Mana Manager"); ManaMenu.AddGroupLabel("Harass"); ManaMenu.Add("harassmana", new Slider("Harass Mana %", 75, 0, 100)); ManaMenu.AddGroupLabel("Lane Clear"); ManaMenu.Add("lanemana", new Slider("Lane Clear Mana %", 60, 0, 100)); ItemsMenu = menuIni.AddSubMenu("Items"); ItemsMenu.AddGroupLabel("Items Settings"); ItemsMenu.Add("Hydra", new CheckBox("Use Hydra / Timat / Titanic")); ItemsMenu.Add("useGhostblade", new CheckBox("Use Youmuu's Ghostblade")); ItemsMenu.Add("UseBOTRK", new CheckBox("Use Blade of the Ruined King")); ItemsMenu.Add("UseBilge", new CheckBox("Use Bilgewater Cutlass")); ItemsMenu.AddSeparator(); ItemsMenu.Add("eL", new Slider("Use On Enemy health", 65, 0, 100)); ItemsMenu.Add("oL", new Slider("Use On My health", 65, 0, 100)); DrawMenu = menuIni.AddSubMenu("Drawings"); DrawMenu.AddGroupLabel("Drawing Settings"); DrawMenu.Add("Q", new CheckBox("Draw Q")); DrawMenu.Add("W", new CheckBox("Draw W")); DrawMenu.Add("E", new CheckBox("Draw E")); DrawMenu.Add("R", new CheckBox("Draw R")); DrawMenu.AddSeparator(); DrawMenu.AddGroupLabel("Ultimate Drawings"); DrawMenu.Add("DrawD", new CheckBox("Draw R Damage")); DrawMenu.Add("Killable", new CheckBox("Draw Killable")); DrawMenu.Add("Stacks", new CheckBox("Draw Passive Stacks")); DrawMenu.Add("PPx", new Slider("Passive Stacks Position X", 100, 0, 150)); DrawMenu.Add("PPy", new Slider("Passive Stacks Position Y", 100, 0, 150)); DrawMenu.Add("RHealth", new CheckBox("Draw After R health")); DrawMenu.Add("RHx", new Slider("After R health Position", 135, 0, 150)); Q = new Spell.Active(SpellSlot.Q, 400); W = new Spell.Active(SpellSlot.W, 300); E = new Spell.Skillshot(SpellSlot.E, 550, SkillShotType.Cone, 250, 666, 100); R = new Spell.Targeted(SpellSlot.R, 460); Game.OnUpdate += OnUpdate; Drawing.OnDraw += OnDraw; Drawing.OnEndScene += OnEndScene; Orbwalker.OnPostAttack += OnAfterAttack; Obj_AI_Base.OnSpellCast += Obj_AI_Base_OnSpellCast; Interrupter.OnInterruptableSpell += OnInterruptableTarget; }
public static void Execute() { if (Player.Instance.ChampionName != ChampName) { return; } menuIni = MainMenu.AddMenu("KappaDarius", "KappaDarius"); menuIni.AddGroupLabel("Darius The Dank Memes Master!"); menuIni.AddGroupLabel("Global Settings"); menuIni.Add("Items", new CheckBox("Item Kullanilsin?")); menuIni.Add("Combo", new CheckBox("Kullan Kombo?")); menuIni.Add("Harass", new CheckBox("Durtme Kullan?")); menuIni.Add("Clear", new CheckBox("Temizleme Kullan?")); menuIni.Add("Drawings", new CheckBox("Gosterge Kullan?")); menuIni.Add("KillSteal", new CheckBox("Oldurme sekli kullan?")); QMenu = menuIni.AddSubMenu("Q Settings"); QMenu.AddGroupLabel("Q Settings"); QMenu.Add("Combo", new CheckBox("Komboda Q")); QMenu.Add("Harass", new CheckBox("Durtmede Q")); QMenu.AddGroupLabel("Q LaneClear Settings"); QMenu.Add("Clear", new CheckBox("Koridor Temizlemede Q")); QMenu.Add("Qlc", new Slider("Minyona son vurus Q >=", 3, 1, 10)); QMenu.AddSeparator(); QMenu.AddGroupLabel("Extra Settings"); QMenu.Add("QE", new CheckBox("E den once surekli Q", false)); QMenu.Add("Stick", new CheckBox("Secili hedefe Q")); QMenu.Add("QAA", new CheckBox("AA beklemede ise Q kullan", false)); QMenu.Add("range", new CheckBox("AA araliginda dusman oldugunda Q atmayin", false)); QMenu.Add("Flee", new CheckBox("Kacarken Q (Secili hedefi yok sayar)")); QMenu.Add("QFlee", new Slider("Kacarken Q canim sundan dusukse %", 90)); QMenu.Add("Qaoe", new CheckBox("Otomatik Q AoE")); QMenu.Add("Qhit", new Slider("Q Aoe Hit >=", 3, 1, 5)); WMenu = menuIni.AddSubMenu("W Settings"); WMenu.AddGroupLabel("W Settings"); WMenu.Add("Combo", new CheckBox("Komboda W")); WMenu.Add("Harass", new CheckBox("Durtmede W")); WMenu.Add("Clear", new CheckBox("Koridor temizlemede W")); WMenu.AddGroupLabel("Extra Settings"); WMenu.Add("AAr", new CheckBox("W ile AA sifirla")); EMenu = menuIni.AddSubMenu("E Settings"); EMenu.AddGroupLabel("E Settings"); EMenu.Add("Combo", new CheckBox("Komboda E")); EMenu.Add("Harass", new CheckBox("Durtmede E")); EMenu.AddGroupLabel("Extra Settings"); EMenu.Add("Interrupt", new CheckBox("Keserken E")); RMenu = menuIni.AddSubMenu("R Settings"); RMenu.AddGroupLabel("R Settings"); RMenu.Add("Combo", new CheckBox("Kombo bitirmede R")); RMenu.Add("stack", new CheckBox("Pasif biriktirmede R", false)); RMenu.Add("count", new Slider("R icin gereken pasif >=", 5, 0, 5)); RMenu.Add("SaveR", new CheckBox("Hedef AA ile olucekse R kullanma", false)); RMenu.Add("SR", new Slider("Dont Use Ult if target can be kill With X AA", 1, 0, 6)); RMenu.Add("semiR", new KeyBind("Yari otomatik R", false, KeyBind.BindTypes.HoldActive)); KillStealMenu = menuIni.AddSubMenu("KillSteal"); KillStealMenu.AddGroupLabel("KillSteal Settings"); KillStealMenu.Add("Rks", new CheckBox("R ile oldur")); if (Player.Spells.FirstOrDefault(o => o.SData.Name.Contains("SummonerDot")) != null) { KillStealMenu.Add("IGP", new CheckBox("Tutustur + Pasif ile oldur")); KillStealMenu.Add("IG", new CheckBox("Sadece Tutustur", false)); KillStealMenu.AddLabel("Tutustur + Pasif, Max Tutustur + Pasif hasarini hesaba katar."); Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600); } ManaMenu = menuIni.AddSubMenu("Mana Manager"); ManaMenu.AddGroupLabel("Harass"); ManaMenu.Add("harassmana", new Slider("Durtme Mana %", 75)); ManaMenu.AddGroupLabel("Lane Clear"); ManaMenu.Add("lanemana", new Slider("Koridor temizleme Mana %", 60)); ItemsMenu = menuIni.AddSubMenu("Items"); ItemsMenu.AddGroupLabel("Items Settings"); ItemsMenu.Add("Hydra", new CheckBox("Kullan Hydra / Timat / Titanic")); ItemsMenu.Add("useGhostblade", new CheckBox("Kullan Youmuu's Ghostblade")); ItemsMenu.Add("UseBOTRK", new CheckBox("Kullan Mahvolmus")); ItemsMenu.Add("UseBilge", new CheckBox("Kullan Bilgewater Palasi")); ItemsMenu.AddSeparator(); ItemsMenu.Add("eL", new Slider("Use On Enemy health", 65)); ItemsMenu.Add("oL", new Slider("Use On My health", 65)); DrawMenu = menuIni.AddSubMenu("Drawings"); DrawMenu.AddGroupLabel("Drawing Settings"); DrawMenu.Add("Q", new CheckBox("Goster Q")); DrawMenu.Add("W", new CheckBox("Goster W")); DrawMenu.Add("E", new CheckBox("Goster E")); DrawMenu.Add("R", new CheckBox("Goster R")); DrawMenu.AddSeparator(); DrawMenu.AddGroupLabel("Ultimate Drawings"); DrawMenu.Add("DrawD", new CheckBox("Goster R Hasari")); DrawMenu.Add("Killable", new CheckBox("Goster Oldurulebilir")); DrawMenu.Add("Stacks", new CheckBox("Goster Pasif Sayisi")); DrawMenu.Add("PPx", new Slider("Passive Stacks Position X", 100, 0, 150)); DrawMenu.Add("PPy", new Slider("Passive Stacks Position Y", 100, 0, 150)); DrawMenu.Add("RHealth", new CheckBox("Goster R den sonra kalicak cani")); DrawMenu.Add("RHx", new Slider("After R health Position", 135, 0, 150)); Q = new Spell.Active(SpellSlot.Q, 400); W = new Spell.Active(SpellSlot.W, 300); E = new Spell.Skillshot(SpellSlot.E, 550, SkillShotType.Cone, 250, 666, 100); R = new Spell.Targeted(SpellSlot.R, 460); Game.OnUpdate += OnUpdate; Drawing.OnDraw += OnDraw; Drawing.OnEndScene += OnEndScene; Orbwalker.OnPostAttack += OnAfterAttack; Obj_AI_Base.OnSpellCast += Obj_AI_Base_OnSpellCast; Interrupter.OnInterruptableSpell += OnInterruptableTarget; }
private static void OnLoaded(EventArgs args) { if (Player.Instance.ChampionName != Hero) { return; } Bootstrap.Init(null); Q = new Spell.Skillshot(SpellSlot.Q, 1175, SkillShotType.Linear, 250, 1200, 80); W = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Circular, 250, 2200, 350); E = new Spell.Targeted(SpellSlot.E, 800); R = new Spell.Active(SpellSlot.R, 600); Exhaust = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerexhaust"), 650); Talisman = new Item((int)ItemId.Talisman_of_Ascension); Randuin = new Item((int)ItemId.Randuins_Omen); Zhonia = new Item((int)ItemId.Zhonyas_Hourglass); AbilitySequence = new[] { 1, 3, 2, 1, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 }; MorgMenu = MainMenu.AddMenu("Bloodimir Morgana", "bmorgana"); MorgMenu.AddGroupLabel("Bloodimir Morgana"); MorgMenu.AddSeparator(); MorgMenu.AddLabel("Bloodimir Morgana v2.1.0.0"); ComboMenu = MorgMenu.AddSubMenu("Combo", "sbtw"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.AddSeparator(); ComboMenu.Add("usecomboq", new CheckBox("Use Q")); ComboMenu.Add("usecombow", new CheckBox("Use W")); AutoCastMenu = MorgMenu.AddSubMenu("Auto Cast", "ac"); AutoCastMenu.AddGroupLabel("Auto Cast"); AutoCastMenu.AddSeparator(); AutoCastMenu.Add("qd", new CheckBox("Auto Q Dashing")); AutoCastMenu.Add("qi", new CheckBox("Auto Q Immobile")); AutoCastMenu.Add("ar", new CheckBox("Auto R")); AutoCastMenu.Add("rslider", new Slider("Minimum people for Auto R", 2, 0, 5)); QMenu = MorgMenu.AddSubMenu("Q Settings", "qsettings"); QMenu.AddGroupLabel("Q Settings"); QMenu.AddSeparator(); QMenu.Add("qmin", new Slider("Min Range", 150, 0, (int)Q.Range)); QMenu.Add("qmax", new Slider("Max Range", (int)Q.Range, 0, (int)Q.Range)); QMenu.AddSeparator(); foreach (var obj in ObjectManager.Get <AIHeroClient>().Where(obj => obj.Team != Me.Team)) { QMenu.Add("bind" + obj.ChampionName.ToLower(), new CheckBox("Bind " + obj.ChampionName)); } QMenu.AddSeparator(); QMenu.Add("mediumpred", new CheckBox("MEDIUM Bind Hitchance Prediction", false)); QMenu.AddSeparator(); QMenu.Add("intq", new CheckBox("Q to Interrupt")); SkinMenu = MorgMenu.AddSubMenu("Skin Changer", "skin"); SkinMenu.AddGroupLabel("Choose the desired skin"); var skinchange = SkinMenu.Add("sID", new Slider("Skin", 5, 0, 7)); var sid = new[] { "Default", "Exiled", "Sinful Succulence", "Blade Mistress", "Blackthorn", "Ghost Bride", "Victorius", "Lunar Wraith" }; skinchange.DisplayName = sid[skinchange.CurrentValue]; skinchange.OnValueChange += delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs) { sender.DisplayName = sid[changeArgs.NewValue]; }; MiscMenu = MorgMenu.AddSubMenu("Misc", "misc"); MiscMenu.AddGroupLabel("Misc"); MiscMenu.AddSeparator(); MiscMenu.Add("ksq", new CheckBox("KS with Q")); MiscMenu.Add("antigapcloser", new CheckBox("Anti Gapcloser")); MiscMenu.Add("talisman", new CheckBox("Use Talisman of Ascension")); MiscMenu.Add("randuin", new CheckBox("Use Randuin")); MiscMenu.Add("szhonya", new CheckBox("Smart Zhonya")); MiscMenu.Add("lvlup", new CheckBox("Auto Level Up Spells", false)); MiscMenu.AddSeparator(); MiscMenu.Add("EAllies", new CheckBox("Auto E")); foreach (var obj in ObjectManager.Get <AIHeroClient>().Where(obj => obj.Team == Me.Team)) { MiscMenu.Add("shield" + obj.ChampionName.ToLower(), new CheckBox("Shield " + obj.ChampionName)); } MiscMenu.AddSeparator(); MiscMenu.Add("support", new CheckBox("Support Mode", false)); MiscMenu.Add("useexhaust", new CheckBox("Use Exhaust")); foreach (var source in ObjectManager.Get <AIHeroClient>().Where(a => a.IsEnemy)) { MiscMenu.Add(source.ChampionName + "exhaust", new CheckBox("Exhaust " + source.ChampionName, false)); } DrawMenu = MorgMenu.AddSubMenu("Drawings", "drawings"); DrawMenu.AddGroupLabel("Drawings"); DrawMenu.AddSeparator(); DrawMenu.Add("drawq", new CheckBox("Draw Q")); DrawMenu.Add("draww", new CheckBox("Draw W")); DrawMenu.Add("drawe", new CheckBox("Draw E")); DrawMenu.Add("drawr", new CheckBox("Draw R")); DrawMenu.Add("drawaa", new CheckBox("Draw AA")); DrawMenu.Add("predictions", new CheckBox("Visualize Q Prediction")); LaneClear = MorgMenu.AddSubMenu("Lane Clear", "laneclear"); LaneClear.AddGroupLabel("Lane Clear Settings"); LaneClear.Add("LCW", new CheckBox("Use W")); LastHit = MorgMenu.AddSubMenu("Last Hit", "lasthit"); LastHit.AddGroupLabel("Last Hit Settings"); LastHit.Add("LHQ", new CheckBox("Use Q", false)); Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell; Game.OnUpdate += OnUpdate; Orbwalker.OnPreAttack += Orbwalker_OnPreAttack; Obj_AI_Base.OnProcessSpellCast += Auto_EOnProcessSpell; Gapcloser.OnGapcloser += Gapcloser_OnGapcloser; Drawing.OnDraw += delegate { if (!Me.IsDead) { if (DrawMenu["drawr"].Cast <CheckBox>().CurrentValue&& R.IsLearned) { Circle.Draw(Color.Red, R.Range, Player.Instance.Position); } if (DrawMenu["draww"].Cast <CheckBox>().CurrentValue&& W.IsLearned) { Circle.Draw(Color.Purple, W.Range, Player.Instance.Position); } if (DrawMenu["drawe"].Cast <CheckBox>().CurrentValue&& E.IsLearned) { Circle.Draw(Color.Green, E.Range, Player.Instance.Position); } if (DrawMenu["drawaa"].Cast <CheckBox>().CurrentValue) { Circle.Draw(Color.Blue, Q.Range, Player.Instance.Position); } var predictedPositions = new Dictionary <int, Tuple <int, PredictionResult> >(); var predictions = DrawMenu["predictions"].Cast <CheckBox>().CurrentValue; var qRange = DrawMenu["drawq"].Cast <CheckBox>().CurrentValue; foreach ( var enemy in EntityManager.Heroes.Enemies.Where( enemy => QMenu["bind" + enemy.ChampionName].Cast <CheckBox>().CurrentValue&& enemy.IsValidTarget(Q.Range + 150) && !enemy.HasBuffOfType(BuffType.SpellShield))) { var predictionsq = Q.GetPrediction(enemy); predictedPositions[enemy.NetworkId] = new Tuple <int, PredictionResult>(Environment.TickCount, predictionsq); if (qRange && Q.IsLearned) { Circle.Draw(Q.IsReady() ? Color.Blue : Color.Red, Q.Range, Player.Instance.Position); } if (!predictions) { return; } foreach (var prediction in predictedPositions.ToArray()) { if (Environment.TickCount - prediction.Value.Item1 > 2000) { predictedPositions.Remove(prediction.Key); continue; } Circle.Draw(Color.Red, 75, prediction.Value.Item2.CastPosition); Line.DrawLine(System.Drawing.Color.GreenYellow, Player.Instance.Position, prediction.Value.Item2.CastPosition); Line.DrawLine(System.Drawing.Color.CornflowerBlue, EntityManager.Heroes.Enemies.Find(o => o.NetworkId == prediction.Key).Position, prediction.Value.Item2.CastPosition); Drawing.DrawText(prediction.Value.Item2.CastPosition.WorldToScreen() + new Vector2(0, -20), System.Drawing.Color.LimeGreen, string.Format("Hitchance: {0}%", Math.Ceiling(prediction.Value.Item2.HitChancePercent)), 10); } } ; } ; }; }
public static void LoadOKTW() { Q = new Spell(SpellSlot.Q, 625f); W = new Spell(SpellSlot.W, 550f); E = new Spell(SpellSlot.E); R = new Spell(SpellSlot.R, 625f); FR = new Spell(SpellSlot.R, 1000f); Q.SetTargetted(0.25f, 1400f); W.SetSkillshot(0.3f, 80f, float.MaxValue, false, SkillshotType.SkillshotLine); R.SetSkillshot(0.25f, 180f, float.MaxValue, false, SkillshotType.SkillshotCircle); FR.SetSkillshot(0.25f, 180f, float.MaxValue, false, SkillshotType.SkillshotCircle); flash = Player.GetSpellSlot("summonerflash"); drawMenu = Config.AddSubMenu("线圈"); drawMenu.Add("qRange", new CheckBox("Q 范围")); drawMenu.Add("wRange", new CheckBox("W 范围")); drawMenu.Add("rRange", new CheckBox("R 范围")); drawMenu.Add("onlyRdy", new CheckBox("只显示无冷却技能")); QMenu = Config.AddSubMenu("Q 设置"); QMenu.Add("autoQ", new CheckBox("自动 Q")); QMenu.Add("harrasQ", new CheckBox("骚扰 Q")); WMenu = Config.AddSubMenu("W 设置"); WMenu.Add("autoW", new CheckBox("自动 W")); WMenu.Add("harrasW", new CheckBox("骚扰 W")); EMenu = Config.AddSubMenu("E 设置"); EMenu.Add("autoE", new CheckBox("自动叠加E")); RMenu = Config.AddSubMenu("R 设置"); RMenu.AddLabel("0 : 普通"); RMenu.AddLabel("1 : 一直"); RMenu.AddLabel("2 : 从不"); RMenu.AddLabel("3 : 可晕眩时"); foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(enemy => enemy.IsEnemy)) { RMenu.Add("UM" + enemy.NetworkId, new Slider(enemy.ChampionName, 0, 0, 3)); } RMenu.AddSeparator(); RMenu.Add("autoRks", new CheckBox("自动 R 抢头")); RMenu.Add("autoRcombo", new CheckBox("连招自动R,如果可晕眩")); RMenu.Add("rCount", new Slider("自动 R X 数量", 3, 2, 5)); RMenu.Add("tibers", new CheckBox("自动移动熊")); if (flash != SpellSlot.Unknown) { RMenu.Add("rCountFlash", new Slider("自动闪现 + R 可击晕敌人数量", 4, 2, 5)); } FarmMenu = Config.AddSubMenu("农兵"); FarmMenu.Add("farmQ", new CheckBox("尾兵 Q")); FarmMenu.Add("farmW", new CheckBox("清线 W")); FarmMenu.Add("Mana", new Slider("清线蓝量", 60)); Game.OnUpdate += Game_OnGameUpdate; GameObject.OnCreate += Obj_AI_Base_OnCreate; Drawing.OnDraw += Drawing_OnDraw; }
private static void OnLoaded(EventArgs args) { if (Player.Instance.ChampionName != Hero) { return; } Bootstrap.Init(null); Q = new Spell.Skillshot(SpellSlot.Q, 1200, SkillShotType.Linear, 250, 1200, 80); E = new Spell.Skillshot(SpellSlot.E, 750, SkillShotType.Linear); R = new Spell.Active(SpellSlot.R, 620); AbilitySequence = new[] { 1, 3, 2, 1, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 }; ThreshMenu = MainMenu.AddMenu("Bloodimir Thresh", "bthresh"); ThreshMenu.AddGroupLabel("Bloodimir Morgana"); ThreshMenu.AddSeparator(); ThreshMenu.AddLabel("Bloodimir Morgana v2.1.0.0"); ComboMenu = ThreshMenu.AddSubMenu("Combo", "sbtw"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.AddSeparator(); ComboMenu.Add("usecomboq", new CheckBox("Use Q")); AutoCastMenu = ThreshMenu.AddSubMenu("Auto Cast", "ac"); AutoCastMenu.AddGroupLabel("Auto Cast"); AutoCastMenu.AddSeparator(); AutoCastMenu.Add("qd", new CheckBox("Auto Q Dashing")); AutoCastMenu.Add("qi", new CheckBox("Auto Q Immobile")); AutoCastMenu.Add("ar", new CheckBox("Auto R")); AutoCastMenu.Add("rslider", new Slider("Minimum people for Auto R", 2, 0, 5)); QMenu = ThreshMenu.AddSubMenu("Q Settings", "qsettings"); QMenu.AddGroupLabel("Q Settings"); QMenu.AddSeparator(); QMenu.Add("qmin", new Slider("Min Range", 150, 0, (int)Q.Range)); QMenu.Add("qmax", new Slider("Max Range", (int)Q.Range, 0, (int)Q.Range)); QMenu.AddSeparator(); foreach (var obj in ObjectManager.Get <AIHeroClient>().Where(obj => obj.Team != Me.Team)) { QMenu.Add("hook" + obj.ChampionName.ToLower(), new CheckBox("Hook " + obj.ChampionName)); } QMenu.AddSeparator(); QMenu.Add("mediumpred", new CheckBox("MEDIUM Bind Hitchance Prediction", false)); QMenu.AddSeparator(); QMenu.Add("intq", new CheckBox("Q to Interrupt")); SkinMenu = ThreshMenu.AddSubMenu("Skin Changer", "skin"); SkinMenu.AddGroupLabel("Choose the desired skin"); var skinchange = SkinMenu.Add("sID", new Slider("Skin", 3, 0, 5)); var sid = new[] { "Default", "Exiled", "Sinful Succulence", "Blade Mistress", "Blackthorn", "dasd" }; skinchange.DisplayName = sid[skinchange.CurrentValue]; skinchange.OnValueChange += delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs) { sender.DisplayName = sid[changeArgs.NewValue]; }; MiscMenu = ThreshMenu.AddSubMenu("Misc", "misc"); MiscMenu.AddGroupLabel("Misc"); MiscMenu.AddSeparator(); MiscMenu.Add("antigapcloser", new CheckBox("Anti Gapcloser")); MiscMenu.Add("lvlup", new CheckBox("Auto Level Up Spells", false)); MiscMenu.AddSeparator(); MiscMenu.Add("support", new CheckBox("Support Mode", false)); DrawMenu = ThreshMenu.AddSubMenu("Drawings", "drawings"); DrawMenu.AddGroupLabel("Drawings"); DrawMenu.AddSeparator(); DrawMenu.Add("drawq", new CheckBox("Draw Q")); DrawMenu.Add("drawe", new CheckBox("Draw E")); DrawMenu.Add("drawr", new CheckBox("Draw R")); DrawMenu.Add("drawaa", new CheckBox("Draw AA")); DrawMenu.Add("predictions", new CheckBox("Visualize Q Prediction")); Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell; Game.OnUpdate += OnUpdate; Orbwalker.OnPreAttack += Orbwalker_OnPreAttack; Gapcloser.OnGapcloser += Gapcloser_OnGapcloser; Drawing.OnDraw += delegate { if (!Me.IsDead) { if (DrawMenu["drawr"].Cast <CheckBox>().CurrentValue&& R.IsLearned) { Circle.Draw(SharpDX.Color.Red, R.Range, Player.Instance.Position); } if (DrawMenu["drawe"].Cast <CheckBox>().CurrentValue&& E.IsLearned) { Circle.Draw(SharpDX.Color.Green, E.Range, Player.Instance.Position); } if (DrawMenu["drawaa"].Cast <CheckBox>().CurrentValue) { Circle.Draw(SharpDX.Color.Blue, Q.Range, Player.Instance.Position); } var predictedPositions = new Dictionary <int, Tuple <int, PredictionResult> >(); var predictions = DrawMenu["predictions"].Cast <CheckBox>().CurrentValue; var qRange = DrawMenu["drawq"].Cast <CheckBox>().CurrentValue; foreach ( var enemy in EntityManager.Heroes.Enemies.Where( enemy => QMenu["hook" + enemy.ChampionName].Cast <CheckBox>().CurrentValue&& enemy.IsValidTarget(Q.Range + 150) && !enemy.HasBuffOfType(BuffType.SpellShield))) { var predictionsq = Q.GetPrediction(enemy); predictedPositions[enemy.NetworkId] = new Tuple <int, PredictionResult>(Environment.TickCount, predictionsq); if (qRange && Q.IsLearned) { Circle.Draw(Q.IsReady() ? SharpDX.Color.Blue : SharpDX.Color.Red, Q.Range, Player.Instance.Position); } if (!predictions) { return; } foreach (var prediction in predictedPositions.ToArray()) { if (Environment.TickCount - prediction.Value.Item1 > 2000) { predictedPositions.Remove(prediction.Key); continue; } Circle.Draw(SharpDX.Color.Red, 75, prediction.Value.Item2.CastPosition); Line.DrawLine(Color.GreenYellow, Player.Instance.Position, prediction.Value.Item2.CastPosition); Line.DrawLine(Color.CornflowerBlue, EntityManager.Heroes.Enemies.Find(o => o.NetworkId == prediction.Key).Position, prediction.Value.Item2.CastPosition); Drawing.DrawText(prediction.Value.Item2.CastPosition.WorldToScreen() + new Vector2(0, -20), System.Drawing.Color.LimeGreen, string.Format("Hitchance: {0}%", Math.Ceiling(prediction.Value.Item2.HitChancePercent)), 10); } } ; } ; }; }
private static void OnLoaded(EventArgs args) { if (Player.Instance.ChampionName != "Blitzcrank") { return; } Bootstrap.Init(null); Q = new Spell.Skillshot(SpellSlot.Q, 925, SkillShotType.Linear, 250, 1800, 70); W = new Spell.Active(SpellSlot.W); E = new Spell.Active(SpellSlot.E); R = new Spell.Active(SpellSlot.R, 550); var FlashSlot = Blitz.GetSpellSlotFromName("summonerflash"); Flash = new Spell.Skillshot(FlashSlot, 32767, SkillShotType.Linear); Talisman = new Item((int)ItemId.Talisman_of_Ascension); BlitzMenu = MainMenu.AddMenu("BloodimirBlitz", "bloodimirblitz"); BlitzMenu.AddGroupLabel("Bloodimir Blitzcrank"); BlitzMenu.AddSeparator(); BlitzMenu.AddLabel("Bloodimir Blitzcrank v1.0.2.0"); ComboMenu = BlitzMenu.AddSubMenu("Combo", "sbtw"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.AddSeparator(); ComboMenu.Add("usecomboq", new CheckBox("Use Q")); ComboMenu.Add("usecombow", new CheckBox("Use W")); ComboMenu.Add("usecomboe", new CheckBox("Use E")); ComboMenu.Add("usecombor", new CheckBox("Use R")); ComboMenu.AddSeparator(); ComboMenu.Add("rslider", new Slider("Minimum people for R", 2, 0, 5)); ComboMenu.AddSeparator(); ComboMenu.Add("flashq", new KeyBind("Flash Q", false, KeyBind.BindTypes.HoldActive, 'Y')); QMenu = BlitzMenu.AddSubMenu("Q Settings", "qsettings"); QMenu.AddGroupLabel("Q Settings"); QMenu.AddSeparator(); QMenu.Add("qmin", new Slider("Min Range", 125, 0, (int)Q.Range)); QMenu.Add("qmax", new Slider("Max Range", (int)Q.Range, 0, (int)Q.Range)); QMenu.AddSeparator(); foreach (var obj in ObjectManager.Get <AIHeroClient>().Where(obj => obj.Team != Blitz.Team)) { QMenu.Add("grab" + obj.ChampionName.ToLower(), new CheckBox("Grab " + obj.ChampionName)); } QMenu.AddSeparator(); QMenu.Add("mediumpred", new CheckBox("MEDIUM Bind Hitchance Prediction / Disabled = High", false)); QMenu.Add("intq", new CheckBox("Q to Interrupt")); QMenu.AddSeparator(); SkinMenu = BlitzMenu.AddSubMenu("Skin Changer", "skin"); SkinMenu.AddGroupLabel("Choose the desired skin"); var skinchange = SkinMenu.Add("sID", new Slider("Skin", 4, 0, 8)); var sID = new[] { "Default", "Rusty", "Goalkeeper", "Boom Boom", "Piltover Customs", "DefNotBlitz", "iBlitzCrank", "RiotCrank", "Battle Boss" }; skinchange.DisplayName = sID[skinchange.CurrentValue]; skinchange.OnValueChange += delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs) { sender.DisplayName = sID[changeArgs.NewValue]; }; MiscMenu = BlitzMenu.AddSubMenu("Misc", "misc"); MiscMenu.AddGroupLabel("Misc"); MiscMenu.AddSeparator(); MiscMenu.Add("ksq", new CheckBox("KS with Q")); MiscMenu.Add("ksr", new CheckBox("KS with R")); MiscMenu.Add("LHE", new CheckBox("Last Hit E")); MiscMenu.AddSeparator(); MiscMenu.Add("support", new CheckBox("Support Mode")); MiscMenu.Add("fleew", new CheckBox("Use W Flee")); MiscMenu.AddSeparator(); MiscMenu.Add("talisman", new CheckBox("Use Talisman of Ascension")); DrawMenu = BlitzMenu.AddSubMenu("Drawings", "drawings"); DrawMenu.AddGroupLabel("Drawings"); DrawMenu.AddSeparator(); DrawMenu.Add("drawq", new CheckBox("Draw Q")); DrawMenu.Add("drawr", new CheckBox("Draw R")); DrawMenu.Add("drawfq", new CheckBox("Draw FlashQ")); DrawMenu.Add("predictions", new CheckBox("Visualize prediction")); Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell; Game.OnUpdate += Tick; Orbwalker.OnPreAttack += Orbwalker_OnPreAttack; Orbwalker.OnPostAttack += Orbwalker_OnPostAttack; Core.DelayAction(FlashQ, 1); Drawing.OnDraw += delegate { if (DrawMenu["drawr"].Cast <CheckBox>().CurrentValue&& R.IsLearned) { Drawing.DrawCircle(Blitz.Position, R.Range, System.Drawing.Color.LightBlue); } if (DrawMenu["drawfq"].Cast <CheckBox>().CurrentValue&& Q.IsLearned) { Drawing.DrawCircle(Blitz.Position, 850 + 425, System.Drawing.Color.DarkBlue); } var predictedPositions = new Dictionary <int, Tuple <int, PredictionResult> >(); var predictions = DrawMenu["predictions"].Cast <CheckBox>().CurrentValue; var qRange = DrawMenu["drawq"].Cast <CheckBox>().CurrentValue; foreach ( var enemy in EntityManager.Heroes.Enemies.Where( enemy => QMenu["grab" + enemy.ChampionName].Cast <CheckBox>().CurrentValue&& enemy.IsValidTarget(Q.Range + 150) && !enemy.HasBuffOfType(BuffType.SpellShield))) { var predictionsq = Q.GetPrediction(enemy); predictedPositions[enemy.NetworkId] = new Tuple <int, PredictionResult>(Environment.TickCount, predictionsq); if (qRange && Q.IsLearned) { Circle.Draw(Q.IsReady() ? Color.Blue : Color.Red, Q.Range, Player.Instance.Position); } if (!predictions) { return; } foreach (var prediction in predictedPositions.ToArray()) { if (Environment.TickCount - prediction.Value.Item1 > 2000) { predictedPositions.Remove(prediction.Key); continue; } Circle.Draw(Color.Red, 75, prediction.Value.Item2.CastPosition); Line.DrawLine(System.Drawing.Color.GreenYellow, Player.Instance.Position, prediction.Value.Item2.CastPosition); Line.DrawLine(System.Drawing.Color.CornflowerBlue, EntityManager.Heroes.Enemies.Find(o => o.NetworkId == prediction.Key).Position, prediction.Value.Item2.CastPosition); Drawing.DrawText(prediction.Value.Item2.CastPosition.WorldToScreen() + new Vector2(0, -20), System.Drawing.Color.LimeGreen, string.Format("Hitchance: {0}%", Math.Ceiling(prediction.Value.Item2.HitChancePercent)), 10); } } ; }; }
public static void LoadOKTW() { Q = new Spell(SpellSlot.Q, 870); W = new Spell(SpellSlot.W, 580); E = new Spell(SpellSlot.E, 950); R = new Spell(SpellSlot.R, 600); Q.SetSkillshot(0.25f, 90, 1550, false, SkillshotType.SkillshotLine); E.SetSkillshot(0.25f, 60, 1550, true, SkillshotType.SkillshotLine); missileManager = new MissileReturn("AhriOrbMissile", "AhriOrbReturn", Q); missileManager = new MissileReturn("AhriOrbMissile", "AhriOrbReturn", Q); drawMenu = Config.AddSubMenu("线圈"); drawMenu.Add("noti", new CheckBox("显示提示 & 线")); drawMenu.Add("onlyRdy", new CheckBox("只显示无冷却技能")); drawMenu.Add("qRange", new CheckBox("Q 范围", false)); drawMenu.Add("wRange", new CheckBox("W 范围", false)); drawMenu.Add("eRange", new CheckBox("E 范围", false)); drawMenu.Add("rRange", new CheckBox("R 范围", false)); drawMenu.Add("Qhelp", new CheckBox("显示 Q助手")); QMenu = Config.AddSubMenu("Q 设置"); QMenu.Add("autoQ", new CheckBox("自动 Q")); QMenu.Add("harrasQ", new CheckBox("骚扰 Q")); QMenu.Add("aimQ", new CheckBox("自动校准 Q 物体")); WMenu = Config.AddSubMenu("W 设置"); WMenu.Add("autoW", new CheckBox("自动 W")); WMenu.Add("harrasW", new CheckBox("骚扰 W")); EMenu = Config.AddSubMenu("E 设置"); EMenu.Add("autoE", new CheckBox("自动 E")); EMenu.Add("harrasE", new CheckBox("骚扰 E")); foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(enemy => enemy.IsEnemy)) { EMenu.Add("Eon" + enemy.NetworkId, new CheckBox("E : " + enemy.ChampionName)); } EMenu.AddSeparator(); foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(enemy => enemy.IsEnemy)) { EMenu.Add("Egapcloser" + enemy.NetworkId, new CheckBox("Gapclose : " + enemy.ChampionName)); } RMenu = Config.AddSubMenu("R 设置"); RMenu.Add("autoR", new CheckBox("R 抢头 ")); RMenu.Add("autoR2", new CheckBox("自动 团战R逻辑 + Q 校准")); harassMenu = Config.AddSubMenu("骚扰"); foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(enemy => enemy.IsEnemy)) { harassMenu.Add("harras" + enemy.NetworkId, new CheckBox(enemy.ChampionName)); } FarmMenu = Config.AddSubMenu("农兵"); FarmMenu.Add("farmQ", new CheckBox("清线 Q")); FarmMenu.Add("farmW", new CheckBox("清线 W", false)); FarmMenu.Add("Mana", new Slider("清线蓝量", 80)); FarmMenu.Add("LCminions", new Slider("清线最低小兵数量", 2, 0, 10)); FarmMenu.Add("jungleQ", new CheckBox("清野 Q")); FarmMenu.Add("jungleW", new CheckBox("清野 W")); Game.OnUpdate += Game_OnGameUpdate; Interrupter2.OnInterruptableTarget += Interrupter2_OnInterruptableTarget; AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser; Drawing.OnDraw += Drawing_OnDraw; GameObject.OnCreate += SpellMissile_OnCreateOld; GameObject.OnDelete += Obj_SpellMissile_OnDelete; }
public static bool Init() { try { if (!Player.ChampionName.Equals("Ezreal")) { return(false); } SpellsManager.Init(); 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_RiftHerald", "Sru_Crab", "SRU_Murkwolf", "SRU_Blue", "SRU_Red" }; break; case GameMapId.TwistedTreeline: JungleMobs = new[] { "TT_NWraith", "TT_NWolf", "TT_NGolem", "TT_Spiderboss" }; break; case GameMapId.CrystalScar: JungleMobs = new[] { "AscXerath" }; break; default: JungleMobs = new[] { "Nothing" }; break; } MenuIni = new Menu("DarkEzreal", "DarkEzreal", true).Attach(); QMenu = MenuIni.CreateMenu("Q", "Q Settings"); WMenu = MenuIni.CreateMenu("W", "W Settings"); EMenu = MenuIni.CreateMenu("E", "E Settings"); RMenu = MenuIni.CreateMenu("R", "R Settings"); MiscMenu = MenuIni.CreateMenu("MiscMenu", "Misc Settings"); DrawMenu = MenuIni.CreateMenu("DrawMenu", "Drawings Settings"); var Qhit = new Menu("Qhit", "HitChance Settings"); Qhit.Add(new MenuList <string>("hit", "Q HitChance", new[] { "Low", "Medium", "High", "Very High" })); QMenu.Add(Qhit); var Qc = new Menu("Qc", "Combo Settings"); Qc.CreateBool("Q", "Use Q"); Qc.CreateBool("AQ", "AA > Q", false); Qc.CreateSliderButton("mana", "Q ManaManager"); QMenu.Add(Qc); var Qh = new Menu("Qh", "Harass Settings"); Qh.CreateKeyBind("Q", "Use Q", Keys.L, KeyBindType.Toggle); Qh.CreateBool("autoQ", "Auto Q", false); Qh.CreateSliderButton("mana", "Q ManaManager", 60); QMenu.Add(Qh); var Qlh = new Menu("Qlh", "LastHit Settings"); Qlh.CreateKeyBind("Q", "Use Q", Keys.L, KeyBindType.Toggle); Qlh.CreateBool("autoQ", "Auto Q", false); Qlh.CreateBool("Qunk", "Q LastHit Out of AA Range"); Qlh.CreateSliderButton("mana", "Q ManaManager", 60); QMenu.Add(Qlh); var Qlc = new Menu("Qlc", "LaneClear Settings"); Qlc.CreateKeyBind("Q", "Use Q", Keys.L, KeyBindType.Toggle); Qlc.CreateBool("autoQ", "Auto Q", false); Qlc.CreateBool("lhQ", "Q LastHit Only", false); Qlc.CreateBool("Qunk", "Q LastHit Out of AA Range Only"); Qlc.CreateSliderButton("mana", "Q ManaManager", 60); QMenu.Add(Qlc); var Qjc = new Menu("Qjc", "JungleClear Settings"); Qjc.CreateBool("Q", "Use Q"); Qjc.CreateBool("Qprio", "Focus Large Mobs First"); Qjc.CreateSliderButton("mana", "Q ManaManager", 60); QMenu.Add(Qjc); var Qks = new Menu("Qks", "Stealer Settings"); Qks.CreateBool("Q", "Use Q"); Qks.CreateBool("Qjs", "Steal Jungle Mobs"); Qks.CreateBool("Qks", "Steal Champions"); QMenu.Add(Qks); var Whit = new Menu("Whit", "HitChance Settings"); Whit.Add(new MenuList <string>("hit", "W HitChance", new[] { "Low", "Medium", "High", "Very High" })); WMenu.Add(Whit); var Wc = new Menu("Wc", "Combo Settings"); Wc.CreateBool("W", "Use W"); Wc.CreateSliderButton("mana", "W ManaManager", 60); WMenu.Add(Wc); var Wh = new Menu("Wh", "Harass Settings"); Wh.CreateKeyBind("W", "Use W", Keys.H, KeyBindType.Toggle); Wh.CreateBool("autoW", "Auto W", false); Wh.CreateSliderButton("mana", "W ManaManager", 60); WMenu.Add(Wh); var Wks = new Menu("Wks", "Stealer Settings"); Wks.CreateBool("W", "Use W"); Wks.CreateBool("Wks", "Steal Champions"); WMenu.Add(Wks); var Ec = new Menu("Ec", "Combo Settings"); Ec.CreateBool("kiteE", "E Kite Melee", false); Ec.CreateBool("autoE", "Auto E Into W", false); Ec.CreateBool("gapE", "E Gap Close To Target", false); Ec.CreateSliderButton("danger", "Dont E Into X Enemies", 3, 1, 6); Ec.CreateSliderButton("mana", "E ManaManager", 60); EMenu.Add(Ec); var Eh = new Menu("Eh", "Harass Settings"); Eh.CreateBool("autoE", "Auto E Into W", false); Eh.CreateSliderButton("danger", "Dont E Into X Enemies", 3, 1, 6); Eh.CreateSliderButton("mana", "E ManaManager", 60); EMenu.Add(Eh); var Eks = new Menu("Eks", "Stealer Settings"); Eks.CreateBool("E", "Use E"); Eks.CreateBool("Eks", "Steal Champions"); EMenu.Add(Eks); var Rhit = new Menu("Rhit", "HitChance Settings"); Rhit.Add(new MenuList <string>("hit", "R HitChance", new string[] { "Low", "Medium", "High", "Very High" })); RMenu.Add(Rhit); var Rc = new Menu("Rc", "Combo Settings"); Rc.CreateBool("R", "Use R"); Rc.CreateBool("Rcc", "Auto R CC'ed target"); Rc.CreateBool("Rfinisher", "Use R as Finisher"); var Raoe = new Menu("Raoe", "R AoE Settings"); Raoe.CreateBool("target", "Check AoE From Main Target"); Raoe.CreateSliderButton("Raoe", "Use R on X Enemies", 3, 1, 6); Rc.Add(Raoe); Rc.CreateSliderButton("mana", "R ManaManager"); RMenu.Add(Rc); var Rks = new Menu("Rks", "Stealer Settings"); Rks.CreateBool("R", "Use R"); Rks.CreateSlider("range", "[R] Steal Range (0 = Global)", 4000, 0, 10000); Rks.CreateBool("Rjs", "Steal Jungle Mobs", false); Rks.CreateBool("Rks", "Steal Champions"); RMenu.Add(Rks); RMenu.CreateKeyBind("Rkey", "R HotKey", Keys.S, KeyBindType.Press); var Rmin = MiscMenu.CreateSlider("Rmin", "Adjust MIN R Range", 500, 50, 3000); var Rmax = MiscMenu.CreateSlider("Rmax", "Adjust MAX R Range", 2000, Rmin.Value, 15000); Rmin.ValueChanged += delegate { Rmax.MinValue = Rmin.Value + 150; }; Rmax.ValueChanged += delegate { SpellsManager.R.Range = Rmax.Value; }; var stealer = new Menu("steal", "Select JungleMobs"); foreach (var mob in JungleMobs) { stealer.CreateBool(mob, "Steal " + mob); } MiscMenu.Add(stealer); MiscMenu.CreateBool("hooks", "Anti Hooks"); MiscMenu.CreateKeyBind("EW", "E > W KeyBind", Keys.A, KeyBindType.Press); MiscMenu.CreateBool("Egap", "Anti GapClosers"); foreach (var spell in SpellsManager.Spells) { DrawMenu.CreateBool(spell.Slot.ToString(), "Draw " + spell.Slot); } Game.OnUpdate += Modes.ModesManager.GameOnOnUpdate; Drawing.OnDraw += EventsHandler.Drawing_OnDraw; Obj_AI_Base.OnProcessSpellCast += EventsHandler.ObjAiBaseOnOnProcessSpellCast; Obj_AI_Base.OnBuffGain += EventsHandler.Obj_AI_Base_OnBuffAdd; Events.OnGapCloser += EventsHandler.Events_OnGapCloser; return(true); } catch (Exception e) { Console.WriteLine(DateTime.Now.ToString("[H:mm:ss") + " - DarkEzreal] ERROR: " + e); return(false); } }
public static void Execute() { if (Player.Instance.ChampionName != ChampName) { return; } menuIni = MainMenu.AddMenu("KappaDarius", "KappaDarius"); menuIni.AddGroupLabel("Darius The Dank Memes Master!"); menuIni.AddGroupLabel("Çeviri tradana"); menuIni.AddGroupLabel("Genel Ayarlar"); menuIni.Add("Items", new CheckBox("İtemleri Kullan?")); menuIni.Add("Combo", new CheckBox("Kombo Kullan?")); menuIni.Add("Harass", new CheckBox("Dürtme KUllan?")); menuIni.Add("Clear", new CheckBox("QSS Kullan?")); menuIni.Add("Drawings", new CheckBox("Göstergeler Aç?")); menuIni.Add("KillSteal", new CheckBox("Killçal?")); QMenu = menuIni.AddSubMenu("Q Settings"); QMenu.AddGroupLabel("Q Ayarları"); QMenu.Add("Combo", new CheckBox("Kombo'da Q")); QMenu.Add("Harass", new CheckBox("Dürtmede Q")); QMenu.AddGroupLabel("Lanetemizleme Ayarı Q için"); QMenu.Add("Clear", new CheckBox("Q İle Lanetemizleme")); QMenu.Add("Qlc", new Slider("Q için en az minyon >=", 3, 1, 10)); QMenu.AddSeparator(); QMenu.AddGroupLabel("Ek Ayarlar"); QMenu.Add("QE", new CheckBox("Her zaman Qdan Önce E", false)); QMenu.Add("Stick", new CheckBox("Q atılacak Hedefe Doğru Yürü")); QMenu.Add("QAA", new CheckBox("Diğer düz vuruşu beklerken Q Kullan", false)); QMenu.Add("range", new CheckBox("Düşman düzvuruş menzilindeyken Q atma", false)); QMenu.Add("Flee", new CheckBox("Kaçarken Q (Hedef Takip Etmeyi Yok Say)")); QMenu.Add("QFlee", new Slider("Kaçarken Q için canım şundan az %", 90, 0, 100)); QMenu.Add("Qaoe", new CheckBox("Alan Hasarı için Otomatik Q")); QMenu.Add("Qhit", new Slider("Q kaç kişiye vuracaksa >=", 3, 1, 5)); WMenu = menuIni.AddSubMenu("W Settings"); WMenu.AddGroupLabel("W Ayarları"); WMenu.Add("Combo", new CheckBox("Komboda W")); WMenu.Add("Harass", new CheckBox("Dürtmede W")); WMenu.Add("Clear", new CheckBox("Lanetemizlemede W")); WMenu.AddGroupLabel("Ek Ayarlar"); WMenu.Add("AAr", new CheckBox("W ile Düzvuruş Resetle")); EMenu = menuIni.AddSubMenu("E Settings"); EMenu.AddGroupLabel("E Ayarları"); EMenu.Add("Combo", new CheckBox("Komboda E")); EMenu.Add("Harass", new CheckBox("Dürtmede E")); EMenu.AddGroupLabel("Ek Ayarları"); EMenu.Add("Interrupt", new CheckBox("Tehlikeli yeteneği bozmak için E kullan")); RMenu = menuIni.AddSubMenu("R Settings"); RMenu.AddGroupLabel("R Ayarları"); RMenu.Add("Combo", new CheckBox("R ile Komboyu bitir(hedefi mahvet)")); RMenu.Add("stack", new CheckBox("R kullanmak için Yük(kanama)", false)); RMenu.Add("count", new Slider("R için Yük Say >=", 5, 0, 5)); RMenu.Add("SaveR", new CheckBox("Eğer hedef düzvuruşla ölecek mesafedeyse R kullanma", false)); RMenu.Add("SR", new Slider("Eğer hedef şu kadar düzvuruşla ölecekse R Kullanma X", 1, 0, 6)); RMenu.Add("semiR", new KeyBind("Yarı Otomatik R", false, KeyBind.BindTypes.HoldActive)); KillStealMenu = menuIni.AddSubMenu("KillSteal"); KillStealMenu.AddGroupLabel("KillÇalma Ayarları"); KillStealMenu.Add("Rks", new CheckBox("R İle çal")); if (Player.Spells.FirstOrDefault(o => o.SData.Name.Contains("SummonerDot")) != null) { KillStealMenu.Add("IGP", new CheckBox("Tutuştur+Kanamayla öldür")); KillStealMenu.Add("IG", new CheckBox("Sadece Tutuştur", false)); KillStealMenu.AddLabel("Tutuştur ve Kanamanın hasarını hesaplayarak hareket et"); Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600); } ManaMenu = menuIni.AddSubMenu("Mana Manager"); ManaMenu.AddGroupLabel("Dürtme"); ManaMenu.Add("harassmana", new Slider("En az mana %", 75, 0, 100)); ManaMenu.AddGroupLabel("Lanetemizleme"); ManaMenu.Add("lanemana", new Slider("En az mana %", 60, 0, 100)); ItemsMenu = menuIni.AddSubMenu("Items"); ItemsMenu.AddGroupLabel("İtem Ayarları"); ItemsMenu.Add("Hydra", new CheckBox("Kullan Hydra / Timat / Haşmetli Hydra")); ItemsMenu.Add("useGhostblade", new CheckBox("Kullan Youmuu'nun kılıcı")); ItemsMenu.Add("UseBOTRK", new CheckBox("Mahvolmuş Kılıç Kullan")); ItemsMenu.Add("UseBilge", new CheckBox("BilgeWater Palası Kullan")); ItemsMenu.AddSeparator(); ItemsMenu.Add("eL", new Slider("Kullanmak için düşmanın canı", 65, 0, 100)); ItemsMenu.Add("oL", new Slider("Kullanmak için benim canım", 65, 0, 100)); DrawMenu = menuIni.AddSubMenu("Drawings"); DrawMenu.AddGroupLabel("Gösterge Ayarları"); DrawMenu.Add("Q", new CheckBox("Göster Q")); DrawMenu.Add("W", new CheckBox("Göster W")); DrawMenu.Add("E", new CheckBox("Göster E")); DrawMenu.Add("R", new CheckBox("Göster R")); DrawMenu.AddSeparator(); DrawMenu.AddGroupLabel("Ulti Göstergesi"); DrawMenu.Add("DrawD", new CheckBox("T hasarını Göster")); DrawMenu.Add("Killable", new CheckBox("Ölecek hedefi Göster")); DrawMenu.Add("Stacks", new CheckBox("Pasif Yükü Göster")); DrawMenu.Add("PPx", new Slider("Pasif Yük Pozisyonu X", 100, 0, 150)); DrawMenu.Add("PPy", new Slider("Pasid Yük Pozisyonu Y", 100, 0, 150)); DrawMenu.Add("RHealth", new CheckBox("R den sonraki canı göster")); DrawMenu.Add("RHx", new Slider("Rden sonra Can Pozisyonu", 135, 0, 150)); Q = new Spell.Active(SpellSlot.Q, 400); W = new Spell.Active(SpellSlot.W, 300); E = new Spell.Skillshot(SpellSlot.E, 550, SkillShotType.Cone, 250, 666, 100); R = new Spell.Targeted(SpellSlot.R, 460); Game.OnUpdate += OnUpdate; Drawing.OnDraw += OnDraw; Drawing.OnEndScene += OnEndScene; Orbwalker.OnPostAttack += OnAfterAttack; Obj_AI_Base.OnSpellCast += Obj_AI_Base_OnSpellCast; Interrupter.OnInterruptableSpell += OnInterruptableTarget; }
public static void LoadOKTW() { Q = new Spell(SpellSlot.Q, 870); W = new Spell(SpellSlot.W, 580); E = new Spell(SpellSlot.E, 950); R = new Spell(SpellSlot.R, 600); Q.SetSkillshot(0.25f, 90, 1550, false, SkillshotType.SkillshotLine); E.SetSkillshot(0.25f, 60, 1550, true, SkillshotType.SkillshotLine); missileManager = new MissileReturn("AhriOrbMissile", "AhriOrbReturn", Q); drawMenu = Config.AddSubMenu("Drawings"); drawMenu.Add("noti", new CheckBox("Show notification & line")); drawMenu.Add("onlyRdy", new CheckBox("Draw only ready spells")); drawMenu.Add("qRange", new CheckBox("Q range", false)); drawMenu.Add("wRange", new CheckBox("W range", false)); drawMenu.Add("eRange", new CheckBox("E range", false)); drawMenu.Add("rRange", new CheckBox("R range", false)); drawMenu.Add("Qhelp", new CheckBox("Show Q helper")); QMenu = Config.AddSubMenu("Q Config"); QMenu.Add("autoQ", new CheckBox("Auto Q")); QMenu.Add("harrasQ", new CheckBox("Harass Q")); QMenu.Add("aimQ", new CheckBox("Auto aim Q missile")); WMenu = Config.AddSubMenu("W Config"); WMenu.Add("autoW", new CheckBox("Auto W")); WMenu.Add("harrasW", new CheckBox("Harass W")); EMenu = Config.AddSubMenu("E Config"); EMenu.Add("autoE", new CheckBox("Auto E")); EMenu.Add("harrasE", new CheckBox("Harras E")); foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(enemy => enemy.IsEnemy)) { EMenu.Add("Eon" + enemy.NetworkId, new CheckBox("E : " + enemy.ChampionName)); } EMenu.AddSeparator(); foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(enemy => enemy.IsEnemy)) { EMenu.Add("Egapcloser" + enemy.NetworkId, new CheckBox("Gapclose : " + enemy.ChampionName)); } RMenu = Config.AddSubMenu("R Config"); RMenu.Add("autoR", new CheckBox("R KS ")); RMenu.Add("autoR2", new CheckBox("auto R fight logic + aim Q")); harassMenu = Config.AddSubMenu("Harass"); foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(enemy => enemy.IsEnemy)) { harassMenu.Add("harras" + enemy.NetworkId, new CheckBox(enemy.ChampionName)); } FarmMenu = Config.AddSubMenu("Farm"); FarmMenu.Add("farmQ", new CheckBox("Lane clear Q")); FarmMenu.Add("farmW", new CheckBox("Lane clear W", false)); FarmMenu.Add("Mana", new Slider("LaneClear Mana", 80)); FarmMenu.Add("LCminions", new Slider("LaneClear minimum minions", 2, 0, 10)); FarmMenu.Add("jungleQ", new CheckBox("Jungle clear Q")); FarmMenu.Add("jungleW", new CheckBox("Jungle clear W")); Game.OnUpdate += Game_OnGameUpdate; Interrupter2.OnInterruptableTarget += Interrupter2_OnInterruptableTarget; AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser; Drawing.OnDraw += Drawing_OnDraw; GameObject.OnCreate += SpellMissile_OnCreateOld; GameObject.OnDelete += Obj_SpellMissile_OnDelete; }
private static void OnLoaded(EventArgs args) { if (Player.Instance.ChampionName != "Morgana") { return; } Bootstrap.Init(null); Q = new Spell.Skillshot(SpellSlot.Q, 1200, SkillShotType.Linear, (int)250f, (int)1200f, (int)80f); W = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Circular, (int)250f, (int)2200f, (int)400f); E = new Spell.Targeted(SpellSlot.E, 750); R = new Spell.Active(SpellSlot.R, 600); MorgMenu = MainMenu.AddMenu("B.Morgana", "bloodimirmorgana"); MorgMenu.AddGroupLabel("Bloodimir.Morgana"); MorgMenu.AddSeparator(); MorgMenu.AddLabel("An Addon made my Bloodimir/turkey"); ComboMenu = MorgMenu.AddSubMenu("Combo", "sbtw"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.AddSeparator(); ComboMenu.Add("usecomboq", new CheckBox("Use Q")); ComboMenu.Add("usecombow", new CheckBox("Use W")); ComboMenu.Add("usecombor", new CheckBox("Use R")); ComboMenu.AddSeparator(); ComboMenu.Add("rslider", new Slider("Minimum people for R", 1, 0, 5)); QMenu = MorgMenu.AddSubMenu("Q Settings", "qsettings"); QMenu.AddGroupLabel("Q Settings"); QMenu.AddSeparator(); QMenu.Add("qmin", new Slider("Min Range", 200, 0, (int)Q.Range)); QMenu.Add("qmax", new Slider("Max Range", (int)Q.Range, 0, (int)Q.Range)); QMenu.AddSeparator(); foreach (var obj in ObjectManager.Get <AIHeroClient>().Where(obj => obj.Team != Me.Team)) { QMenu.Add("bind" + obj.ChampionName.ToLower(), new CheckBox("Bind " + obj.ChampionName)); } QMenu.AddSeparator(); QMenu.AddLabel("EB's common prediction and hitchance is still beta and sometimes it wont cast Q." + Environment.NewLine + "But it works just fine if you use Medium hitchance prediction." + Environment.NewLine + "This allows Q to cast more but also a slightly smaller bind success percentage."); QMenu.AddSeparator(); QMenu.Add("mediumpred", new CheckBox("MEDIUM Bind Hitchance Prediction / Disabled = High", false)); WMenu = MorgMenu.AddSubMenu("W Settings", "wsettings"); WMenu.AddGroupLabel("W Settings"); WMenu.AddSeparator(); WMenu.Add("wmax", new Slider("Max Range", (int)W.Range, 0, (int)W.Range)); WMenu.Add("wmin", new Slider("Min Range", 124, 0, (int)W.Range)); WMenu.AddSeparator(); WMenu.Add("mediumpred", new CheckBox("MEDIUM Soil Hitchance Prediction / Disabled = High")); SkinMenu = MorgMenu.AddSubMenu("Skin Changer", "skin"); SkinMenu.AddGroupLabel("Choose the desired skin"); var skinchange = SkinMenu.Add("sID", new Slider("Skin", 0, 0, 6)); var sID = new[] { "Default", "Exiled", "Sinful Succulence", "Blade Mistress", "Blackthorn", "Ghost Bride", "Victorius" }; skinchange.DisplayName = sID[skinchange.CurrentValue]; skinchange.OnValueChange += delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs) { sender.DisplayName = sID[changeArgs.NewValue]; if (MiscMenu["debug"].Cast <CheckBox>().CurrentValue) { Chat.Print("skin-changed"); } }; MiscMenu = MorgMenu.AddSubMenu("Misc", "misc"); MiscMenu.AddGroupLabel("KS"); MiscMenu.AddSeparator(); MiscMenu.Add("ksq", new CheckBox("KS with Q")); MiscMenu.AddSeparator(); MiscMenu.AddGroupLabel("Interrupt"); MiscMenu.AddSeparator(); MiscMenu.Add("intq", new CheckBox("Q to Interrupt")); MiscMenu.Add("dashq", new CheckBox("Q on Dashing")); MiscMenu.Add("immoq", new CheckBox("Q on Immobile")); MiscMenu.Add("immow", new CheckBox("W on Immobile")); MiscMenu.AddSeparator(); MiscMenu.Add("support", new CheckBox("Support Mode", false)); MiscMenu.Add("debug", new CheckBox("Debug", false)); DrawMenu = MorgMenu.AddSubMenu("Drawings", "drawings"); DrawMenu.AddGroupLabel("Drawings"); DrawMenu.AddSeparator(); DrawMenu.Add("drawq", new CheckBox("Draw Q")); DrawMenu.Add("draww", new CheckBox("Draw W")); LaneClear = MorgMenu.AddSubMenu("Lane Clear", "laneclear"); LaneClear.AddGroupLabel("Lane Clear Settings"); LaneClear.Add("LCW", new CheckBox("Use W")); Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell; Game.OnTick += Tick; Drawing.OnDraw += OnDraw; Orbwalker.OnPreAttack += Orbwalker_OnPreAttack; }