public void LoadToMenu(Menu Menu) { var comboMenu = new Menu("sdkaio.janna.combo", "[Janna] Combo", false, ObjectManager.Player.ChampionName); { comboMenu.Add(new MenuBool("UseQ", "Use Q", true)); comboMenu.Add(new MenuBool("UseW", "Use W", true)); comboMenu.Add(new MenuBool("UseE", "Use E", true)); comboMenu.Add(new MenuSliderButton("RMinEnemiesSB", "Use R / R Minimum Enemies", 2, 1, 5, true)); comboMenu.Add(new MenuList <string>("RMode", "R Mode", new[] { "To Allies", "To Towers", "Both" })).SelectedValue = "Both"; Menu.Add(comboMenu); } var harassMenu = new Menu("sdkaio.janna.hybrid", "[Janna] Hybrid", false, ObjectManager.Player.ChampionName); { harassMenu.Add(new MenuBool("UseQ", "Use Q", true)); harassMenu.Add(new MenuBool("UseW", "Use W", true)); harassMenu.Add(new MenuBool("UseE", "Use E", true)); Menu.Add(harassMenu); } var miscMenu = new Menu("sdkaio.janna.misc", "[Janna] Misc", false, ObjectManager.Player.ChampionName); { var miscEMenu = new Menu("sdkaio.janna.misc.eon", "Use E On", false, ObjectManager.Player.ChampionName); { foreach (var hero in GameObjects.AllyHeroes) { miscEMenu.Add(new MenuBool(hero.ChampionName.ToLower(), hero.ChampionName, true)); } miscMenu.Add(miscEMenu); } Menu.Add(miscMenu); } }
private static void Game_OnGameStart(EventArgs args) { if (Player.ChampionName != "Thresh") { return; } _logger = new StreamWriter(AppDomain.CurrentDomain.BaseDirectory + @"\log.txt") { AutoFlush = true }; _q = new Spell(SpellSlot.Q, 1100); _q.SetSkillshot(true, SkillshotType.SkillshotLine); _config = new Menu("Prediction", "Prediction", true); _orbwalker = new Orbwalker(); Menu settings = new Menu("Settings", "Settings"); settings.Add(new MenuKeyBind("Write", "Write Last Cast information to log", System.Windows.Forms.Keys.L, KeyBindType.Press)); settings.Add(new MenuSeparator("Info", "Log files are located in %appdata%")); _config.Add(settings); _config.Attach(); Game.OnUpdate += Game_OnUpdate; Drawing.OnDraw += Drawing_OnDraw; }
private static void CreateMenu() { menu = new Menu("Blitzcranck", "Bliztcranck", true); Bootstrap.Init(new string[] { }); //blabla var comboMenu = new Menu("Combo", "Combo Menu"); { comboMenu.Add(new MenuList <string>("combohit", "Q hitchance ", new[] { "Medium", "Hight", "Very Hight" })); comboMenu.Add(new MenuBool("comboQ", "Use Q", true)); comboMenu.Add(new MenuBool("comboE", "Use E", true)); comboMenu.Add(new MenuBool("comboR", "Auto R", true)); // comboMenu.Add(new MenuBool("Min Enemys R", "Min Enemys R", true)); menu.Add(comboMenu); } var drawingMenu = new Menu("Draws", "Draw Menu"); { drawingMenu.Add(new MenuBool("drawQ", "Draw Q", true)); drawingMenu.Add(new MenuBool("drawR", "Draw R", true)); drawingMenu.Add(new MenuBool("drawGrabs", "Draw Grabs", true)); // comboMenu.Add(new MenuBool("Min Enemys R", "Min Enemys R", true)); menu.Add(drawingMenu); } menu.Attach(); }
public void LoadToMenu(Menu Menu) { var comboMenu = new Menu("sdkaio.janna.combo", "[Janna] Combo", false, ObjectManager.Player.ChampionName); { comboMenu.Add(new MenuBool("UseQ", "Use Q", true)); comboMenu.Add(new MenuBool("UseW", "Use W", true)); comboMenu.Add(new MenuBool("UseE", "Use E", true)); comboMenu.Add(new MenuSliderButton("RMinEnemiesSB", "Use R / R Minimum Enemies", 2, 1, 5, true)); comboMenu.Add(new MenuList<string>("RMode", "R Mode", new[] { "To Allies", "To Towers", "Both" })).SelectedValue = "Both"; Menu.Add(comboMenu); } var harassMenu = new Menu("sdkaio.janna.hybrid", "[Janna] Hybrid", false, ObjectManager.Player.ChampionName); { harassMenu.Add(new MenuBool("UseQ", "Use Q", true)); harassMenu.Add(new MenuBool("UseW", "Use W", true)); harassMenu.Add(new MenuBool("UseE", "Use E", true)); Menu.Add(harassMenu); } var miscMenu = new Menu("sdkaio.janna.misc", "[Janna] Misc", false, ObjectManager.Player.ChampionName); { var miscEMenu = new Menu("sdkaio.janna.misc.eon", "Use E On", false, ObjectManager.Player.ChampionName); { foreach (var hero in GameObjects.AllyHeroes) { miscEMenu.Add(new MenuBool(hero.ChampionName.ToLower(), hero.ChampionName, true)); } miscMenu.Add(miscEMenu); } Menu.Add(miscMenu); } }
/// <summary> /// The create menu. /// </summary> private void CreateMenu() { this.Menu = new Menu("cmMoonDraven", "Moon Draven", true); // Combo var comboMenu = new Menu("Combo", "Combo"); comboMenu.Add(new MenuBool("UseQCombo", "Use Q", true)); comboMenu.Add(new MenuBool("UseWCombo", "Use W", true)); comboMenu.Add(new MenuBool("UseECombo", "Use E", true)); comboMenu.Add(new MenuBool("UseRCombo", "Use R", true)); this.Menu.Add(comboMenu); // Harass var harassMenu = new Menu("Harass", "Harass"); harassMenu.Add(new MenuBool("UseEHarass", "Use E", true)); harassMenu.Add(new MenuKeyBind("UseHarassToggle", "Harass! (Toggle)", Keys.T, KeyBindType.Toggle)); this.Menu.Add(harassMenu); // Lane Clear var laneClearMenu = new Menu("WaveClear", "Wave Clear"); laneClearMenu.Add(new MenuBool("UseQWaveClear", "Use Q", true)); laneClearMenu.Add(new MenuBool("UseWWaveClear", "Use W", true)); laneClearMenu.Add(new MenuBool("UseEWaveClear", "Use E")); laneClearMenu.Add(new MenuSlider("WaveClearManaPercent", "Mana Percent", 0x32)); this.Menu.Add(laneClearMenu); // Axe Menu var axeMenu = new Menu("AxeSettings", "Axe Settings"); axeMenu.Add(new MenuList <string>("AxeMode", "Catch Axe on Mode:", new[] { "Always", "Combo", "Any" })); axeMenu.Add(new MenuSlider("CatchAxeRange", "Catch Axe Range", 0x320, 0x78, 0x5DC)); axeMenu.Add(new MenuSlider("MaxAxes", "Maximum Axes", 2, 1, 3)); axeMenu.Add(new MenuBool("UseWForQ", "Use W if Axe too far", true)); axeMenu.Add(new MenuBool("DontCatchUnderTurret", "Don't Catch Axe Under Turret", true)); axeMenu.Add(new MenuBool("AlwaysCatch", "Always Catch Axe", false)); this.Menu.Add(axeMenu); // Drawing var drawMenu = new Menu("Drawing", "Draw"); drawMenu.Add(new MenuBool("DrawE", "Draw E", true)); drawMenu.Add(new MenuBool("DrawAxeLocation", "Draw Axe Location", true)); drawMenu.Add(new MenuBool("DrawAxeRange", "Draw Axe Catch Range", true)); this.Menu.Add(drawMenu); // Misc Menu var miscMenu = new Menu("Misc", "Misc"); miscMenu.Add(new MenuBool("UseWSetting", "Use W Instantly(When Available)")); miscMenu.Add(new MenuBool("UseEGapcloser", "Use E on Gapcloser", true)); miscMenu.Add(new MenuBool("UseEInterrupt", "Use E to Interrupt", true)); miscMenu.Add(new MenuSlider("UseWManaPercent", "Use W Mana Percent", 0x32)); miscMenu.Add(new MenuBool("UseWSlow", "Use W if Slowed", true)); this.Menu.Add(miscMenu); this.Menu.Attach(); }
public 塔防范围() { TurretMenu = new Menu("塔防范围", "塔防范围"); TurretMenu.Add(new MenuColor("敌军颜色", "敌军颜色", EnemyColor)); TurretMenu.Add(new MenuColor("友军颜色", "友军颜色", AllyColor)); Program.Config.Add(TurretMenu); Drawing.OnDraw += Drawing_OnDraw; }
public static void CreateMenu() { var evadeMenu = new Menu("Evade", "Evade Skillshot"); { AddUI.Separator(evadeMenu, "Credit", "Credit: Evade#"); var evadeSpells = new Menu("Spells", "Spells"); { foreach (var spell in EvadeSpellDatabase.Spells) { var sub = new Menu(spell.Name, string.Format("{0} ({1})", spell.Name, spell.Slot)); { if (Program.Player.ChampionName == "Yasuo") { if (spell.Name == "YasuoDashWrapper") { AddUI.Bool(sub, "ETower", "Under Tower", false); } else if (spell.Name == "YasuoWMovingWall") { AddUI.Slider(sub, "WDelay", "Extra Delay", 100, 0, 150); } } AddUI.Slider(sub, "DangerLevel", "If Danger Level >=", spell.DangerLevel, 1, 5); if (spell.CastType == CastTypes.Target && spell.ValidTargets.Contains(SpellTargets.AllyWards)) { AddUI.Bool(sub, "WardJump", "Ward Jump"); } AddUI.Bool(sub, "Enabled", "Enabled", false); evadeSpells.Add(sub); } } evadeMenu.Add(evadeSpells); } foreach (var hero in GameObjects.EnemyHeroes.Where(i => SpellDatabase.Spells.Any(a => a.ChampionName == i.ChampionName))) { evadeMenu.Add(new Menu(hero.ChampionName, "-> " + hero.ChampionName)); } foreach (var spell in SpellDatabase.Spells.Where(i => GameObjects.EnemyHeroes.Any(a => a.ChampionName == i.ChampionName))) { var sub = new Menu(spell.SpellName, string.Format("{0} ({1})", spell.SpellName, spell.Slot)); { AddUI.Slider(sub, "DangerLevel", "Danger Level", spell.DangerValue, 1, 5); AddUI.Bool(sub, "IsDangerous", "Is Dangerous", spell.IsDangerous); AddUI.Bool(sub, "DisableFoW", "Disable FoW Dodging", false); AddUI.Bool(sub, "Enabled", "Enabled", !spell.DisabledByDefault); ((Menu)evadeMenu[spell.ChampionName]).Add(sub); } } AddUI.KeyBind(evadeMenu, "OnlyDangerous", "Dodge Only Dangerous", Keys.Space); } Program.MainMenu.Add(evadeMenu); }
public static MenuList List(this Menu subMenu, string name, string display, string[] array, int value = 0) { return(subMenu.Add(new MenuList <string>(name, display, array) { Index = value })); }
public static MenuKeyBind KeyBind(Menu subMenu, string name, string display, Keys key, KeyBindType type = KeyBindType.Press) { return(subMenu.Add(new MenuKeyBind(name, display, key, type))); }
public static MenuKeyBind KeyBind(Menu subMenu, string name, string display, Keys key, KeyBindType type = KeyBindType.Press) { return subMenu.Add(new MenuKeyBind(name, display, key, type)); }
public static MenuSlider Slider( this Menu subMenu, string name, string display, int cur, int min = 0, int max = 100) { return(subMenu.Add(new MenuSlider(name, display, cur, min, max))); }
public 显示时间() { ShowTimeMenu = new Menu("显示时间", "显示时间"); ShowTimeMenu.Add(new MenuBool("显示真实时间", "显示真实时间", true)); ShowTimeMenu.Add(new MenuSlider("TimeX", "横向显示位置(占屏幕百分比)", 71)); ShowTimeMenu.Add(new MenuSlider("TimeY", "竖向显示位置(占屏幕百分比)", 0)); ShowTimeMenu.Add(new MenuColor("颜色", "颜色", new SharpDX.ColorBGRA(0, 255, 147, 255))); Program.Config.Add(ShowTimeMenu); 字体 = new Font(Drawing.Direct3DDevice, new FontDescription { FaceName = "微软雅黑", Height = 28, OutputPrecision = FontPrecision.Default, Quality = FontQuality.Default }); Drawing.OnDraw += Drawing_OnDraw; }
public 检测外挂() { Config = new Menu("检测外挂", "检测外挂"); Config.Add(new MenuBool("启用", "启用", true)); var detectionType = new MenuList <string>("detection", "检测级别", new string[] { "优先", "一般", "不检测" }); detectionType.ValueChanged += (sender, args) => { foreach (var detector in _detectors) { detector.Value.ForEach(item => item.ApplySetting((DetectorSetting)detectionType.Index)); } }; Config.Add(detectionType); Program.Config.Add(Config); Obj_AI_Hero.OnNewPath += Obj_AI_Hero_OnNewPath; Game.OnUpdate += Game_OnUpdate; notification.IsOpen = true; }
public 屏蔽显示() { StreamMenu = new Menu("屏蔽显示", "屏蔽显示"); StreamMenu.Add(new MenuBool("屏蔽发话", "禁止脚本发话")); StreamMenu.Add(new MenuKeyBind("屏蔽显示", "屏蔽L#的显示", Keys.Home, KeyBindType.Toggle)); StreamMenu.Add(new MenuKeyBind("按下显示", "屏蔽时按下可显示L#内容", Keys.Shift, KeyBindType.Press)); StreamMenu.Add(new MenuBool("死亡屏蔽显示", "死亡屏蔽显示")); StreamMenu.Add(new MenuSlider("已连杀人数", "已连杀人数", 0, 0, 8)); StreamMenu.Add(new MenuBool("超神屏蔽显示", "超神屏蔽显示", true)); StreamMenu.Add(new MenuBool("多杀屏蔽显示", "多杀屏蔽显示", true)); StreamMenu.Add(new MenuSlider("多杀屏蔽时间", "多杀屏蔽时间", 4, 0, 10)); Program.Config.Add(StreamMenu); Game.OnUpdate += OnUpdate; Obj_AI_Base.OnNewPath += DrawFake; Orbwalker.OnAction += Orbwalker_OnAction; Spellbook.OnCastSpell += BeforeSpellCast; Obj_AI_Base.OnIssueOrder += OnIssueOrder; Game.OnNotify += Game_OnNotify; StreamMenu["屏蔽显示"].GetValue <MenuKeyBind>().ValueChanged += 屏蔽显示_ValueChanged; StreamMenu["按下显示"].GetValue <MenuKeyBind>().ValueChanged += 显示_ValueChanged; StreamMenu["屏蔽发话"].GetValue <MenuBool>().ValueChanged += 屏蔽发话_ValueChanged; }
public 打野计时() { 菜单 = new Menu("打野计时", "打野计时"); 菜单.Add(new MenuList <string>("时间格式", "时间格式", new string[] { "分:秒", "秒" })); 菜单.Add(new MenuSlider("大地图字体大小", "大地图字体大小", 35, 30, 55)); 菜单.Add(new MenuColor("大地图字体颜色", "大地图字体颜色", new ColorBGRA(225, 225, 225, 225))); 菜单.Add(new MenuSlider("小地图字体大小", "小地图字体大小", 23, 15, 35)); 菜单.Add(new MenuColor("小地图字体颜色", "小地图字体颜色", new ColorBGRA(225, 225, 225, 225))); 菜单.Add(new MenuBool("通知", "大刷野怪刷新时通知", true)); Program.Config.Add(菜单); 初始化(); int 小地图字体大小 = 菜单["小地图字体大小"].GetValue <MenuSlider>().Value; 小地图字体 = new Font(Drawing.Direct3DDevice, new FontDescription { FaceName = "微软雅黑", Height = 小地图字体大小, OutputPrecision = FontPrecision.Default, Quality = FontQuality.Default }); int 大地图字体大小 = 菜单["大地图字体大小"].GetValue <MenuSlider>().Value; 大地图字体 = new Font(Drawing.Direct3DDevice, new FontDescription { FaceName = "微软雅黑", Height = 大地图字体大小, OutputPrecision = FontPrecision.Default, Quality = FontQuality.Default }); Logging.Write()(LogLevel.Info, "时间格式:" + 菜单["时间格式"].GetValue <MenuList>().Index); Game.OnUpdate += Game_OnUpdate; GameObject.OnCreate += GameObject_OnCreate; GameObject.OnDelete += GameObject_OnDelete; Drawing.OnEndScene += Drawing_OnEndScene; Drawing.OnDraw += Drawing_OnDraw; }
/// <summary> /// The initialize method of the <c>orbwalker</c>. /// </summary> /// <param name="menu"> /// The LeagueSharp menu /// </param> internal static void Initialize(Menu menu) { var drawing = new Menu("drawings", "显示设置"); drawing.Add(new MenuBool("drawAARange", "显示平A范围", true)); drawing.Add(new MenuBool("drawKillableMinion", "补刀提示")); drawing.Add(new MenuBool("drawKillableMinionFade", "补刀提示动画")); Menu.Add(drawing); var advanced = new Menu("advanced", "高级设置"); advanced.Add(new MenuSeparator("separatorMovement", "移动")); advanced.Add( new MenuSlider( "movementDelay", "移动延时", new Random(Variables.TickCount).Next(30, 101), 0, 2500)); advanced.Add(new MenuBool("movementScramble", "随机移动位置", true)); advanced.Add(new MenuSlider("movementExtraHold", "待命范围", 25, 0, 250)); advanced.Add( new MenuSlider( "movementMaximumDistance", "最大移动距离", new Random().Next(500, 1201), 350, 1200)); advanced.Add(new MenuSeparator("separatorMisc", "其它设置")); advanced.Add(new MenuSlider("miscExtraWindup", "额外延时", 80, 0, 200)); advanced.Add(new MenuSlider("miscFarmDelay", "补刀延时", 0, 0, 200)); advanced.Add(new MenuBool("miscPriorizeFarm", "优先补刀,其次消耗", true)); advanced.Add(new MenuBool("miscMissile", "碰撞检测", true)); advanced.Add(new MenuSeparator("separatorOther", "其它")); advanced.Add( new MenuButton("resetAll", "设置", "重置所有设置") { Action = () => { Menu.RestoreDefault(); Menu["advanced"]["movementMaximumDistance"].GetValue<MenuSlider>().Value = new Random().Next( 500, 1201); Menu["advanced"]["movementDelay"].GetValue<MenuSlider>().Value = new Random().Next(30, 101); } }); Menu.Add(advanced); Menu.Add(new MenuSeparator("separatorKeys", "键位设置")); Menu.Add(new MenuBool("enableOption", "启用走砍", true)); Menu.Add(new MenuKeyBind("lasthitKey", "补刀", Keys.X, KeyBindType.Press)); Menu.Add(new MenuKeyBind("laneclearKey", "清线", Keys.V, KeyBindType.Press)); Menu.Add(new MenuKeyBind("hybridKey", "消耗", Keys.C, KeyBindType.Press)); Menu.Add(new MenuKeyBind("orbwalkKey", "走砍", Keys.Space, KeyBindType.Press)); Menu.MenuValueChanged += (sender, args) => { var keyBind = sender as MenuKeyBind; if (keyBind != null) { var modeName = keyBind.Name.Substring(0, keyBind.Name.IndexOf("Key", StringComparison.Ordinal)); OrbwalkerMode mode; ActiveMode = Enum.TryParse(modeName, true, out mode) ? keyBind.Active ? mode : mode == ActiveMode ? Menu["lasthitKey"].GetValue<MenuKeyBind>().Active ? OrbwalkerMode.LastHit : Menu["laneclearKey"].GetValue<MenuKeyBind>().Active ? OrbwalkerMode.LaneClear : Menu["hybridKey"].GetValue<MenuKeyBind>().Active ? OrbwalkerMode.Hybrid : Menu["orbwalkKey"].GetValue<MenuKeyBind>() .Active ? OrbwalkerMode.Orbwalk : OrbwalkerMode.None : ActiveMode : ActiveMode; } var boolean = sender as MenuBool; if (boolean != null) { if (boolean.Name.Equals("enableOption")) { enabled = boolean.Value; } } }; menu.Add(Menu); Movement = Attack = true; enabled = Menu["enableOption"].GetValue<MenuBool>().Value; Game.OnUpdate += OnUpdate; Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast; Drawing.OnDraw += OnDraw; GameObject.OnCreate += OnCreate; }
/* * PLEASE THIS MENU IS PATENTED BY AUSTRALIAN IP LAWS. * KEEP CALM AND (); {} ON */ protected static void CreateMenu() { menu = new Menu("ElRengar", "ElRengar", true); //This will be a loader functionality later on Bootstrap.Init(null); var comboMenu = new Menu("combo.settings", "Combo settings"); { comboMenu.Add(new MenuSeparator("General", "General")); comboMenu.Add(new MenuBool("combo.spell.q", "Use Q", true)); comboMenu.Add(new MenuBool("combo.spell.w", "Use W", true)); comboMenu.Add(new MenuBool("combo.spell.e", "Use E", true)); comboMenu.Add(new MenuBool("combo.spell.e.outofrange", "Use E out of range")); comboMenu.Add(new MenuSeparator("Miscellaneous", "Miscellaneous")); comboMenu.Add(new MenuBool("combo.spell.ignite", "Use ignite", true)); comboMenu.Add(new MenuBool("combo.spell.smite", "Use smite", true)); comboMenu.Add(new MenuSeparator("Prioritized", "Prioritized")); //comboMenu.Add(new MenuList<string>("combo.prioritize", "Prioritized spell", new[] { "Q", "E" })); comboMenu.Add(new MenuList <string>("combo.prioritize", "Prioritized spell", new[] { "Q", "E" }) { SelectedValue = "Q" }); menu.Add(comboMenu); } var harassMenu = new Menu("harass.settings", "Harass settings"); { harassMenu.Add(new MenuSeparator("General", "General")); harassMenu.Add(new MenuBool("harass.spell.q", "Use Q", true)); harassMenu.Add(new MenuBool("harass.spell.w", "Use W", true)); harassMenu.Add(new MenuBool("harass.spell.e", "Use E", true)); harassMenu.Add(new MenuSeparator("Prioritized", "Prioritized")); harassMenu.Add(new MenuList <string>("harass.prioritize", "Prioritized spell", new[] { "Q", "W", "E" })); menu.Add(harassMenu); } var laneclearMenu = new Menu("laneclear.settings", "Laneclear settings"); { laneclearMenu.Add(new MenuSeparator("General", "General")); laneclearMenu.Add(new MenuBool("laneclear.spell.q", "Use Q", true)); laneclearMenu.Add(new MenuBool("laneclear.spell.w", "Use W", true)); laneclearMenu.Add(new MenuBool("laneclear.spell.e", "Use E", false)); laneclearMenu.Add(new MenuSeparator("Items", "Item usage")); laneclearMenu.Add(new MenuBool("laneclear.items.hydra", "Ravenous Hydra", true)); laneclearMenu.Add(new MenuSeparator("Ferocity", "Ferocity")); laneclearMenu.Add(new MenuBool("laneclear.save.ferocity", "Save ferocity", true)); laneclearMenu.Add(new MenuList <string>("laneclear.prioritize", "Prioritized spell", objects: new[] { "Q", "W", "E" })); menu.Add(laneclearMenu); } var jungleClearMenu = new Menu("jungleclear.settings", "Jungleclear settings"); { jungleClearMenu.Add(new MenuSeparator("General", "General")); jungleClearMenu.Add(new MenuBool("jungleclear.spell.q", "Use Q", true)); jungleClearMenu.Add(new MenuBool("jungleclear.spell.w", "Use W", true)); jungleClearMenu.Add(new MenuBool("jungleclear.spell.e", "Use E", false)); jungleClearMenu.Add(new MenuSeparator("Items", "Item usage")); jungleClearMenu.Add(new MenuBool("jungleclear.items.hydra", "Ravenous Hydra", true)); jungleClearMenu.Add(new MenuSeparator("Ferocity", "Ferocity")); jungleClearMenu.Add(new MenuBool("jungleclear.save.ferocity", "Save ferocity", true)); jungleClearMenu.Add(new MenuList <string>("jungleclear.prioritize", "Prioritized spell", objects: new[] { "Q", "W", "E" })); menu.Add(jungleClearMenu); } var healMenu = new Menu("heal.settings", "Heal settings"); { healMenu.Add(new MenuSeparator("General", "General")); healMenu.Add(new MenuBool("heal.activated", "Use W", true)); healMenu.Add(new MenuSlider("heal.player.hp", "Player health percentage", value: 25, minValue: 1, maxValue: 100)); menu.Add(healMenu); } var miscMenu = new Menu("misc.settings", "Misc settings"); { miscMenu.Add(new MenuSeparator("Notifications", "Notifications")); miscMenu.Add(new MenuBool("misc.notifications", "Permashow prioritized spell", true)); miscMenu.Add(new MenuSeparator("Items", "Item usage")); miscMenu.Add(new MenuBool("misc.items.tiamat", "Tiamat", true)); miscMenu.Add(new MenuBool("misc.items.hydra", "Ravenous Hydra", true)); miscMenu.Add(new MenuBool("misc.items.ghostblade", "Youmuu's Ghostblade", true)); miscMenu.Add(new MenuBool("misc.items.cutlass", "Bilgewater Cutlass", true)); miscMenu.Add(new MenuBool("misc.items.botrk", "Blade of the Ruined King", true)); miscMenu.Add(new MenuSeparator("Drawings", "Drawings")); miscMenu.Add(new MenuBool("misc.drawing.deactivate", "Disable all drawings")); miscMenu.Add(new MenuBool("misc.drawing.draw.spell.q", "Q range", true)); miscMenu.Add(new MenuBool("misc.drawing.draw.spell.w", "W range", true)); miscMenu.Add(new MenuBool("misc.drawing.draw.spell.e", "E range", true)); miscMenu.Add(new MenuBool("misc.drawing.draw.spell.r", "R range", true)); miscMenu.Add(new MenuBool("misc.drawing.draw.helper.canjump", "Jump helper", true)); miscMenu.Add(new MenuSeparator("Debug", "Debug")); miscMenu.Add(new MenuBool("misc.debug.active", "Debug", false)); menu.Add(miscMenu); } var creditsMenu = new Menu("credits.settings", "Credits"); { creditsMenu.Add(new MenuSeparator("credits.title.1", "if you would like to donate via PayPal:")); creditsMenu.Add(new MenuSeparator("credits.title.2", "*****@*****.**")); creditsMenu.Add(new MenuSeparator("credits.title.3", " ")); creditsMenu.Add(new MenuSeparator("credits.title.4", "This assembly is created by:")); creditsMenu.Add(new MenuSeparator("credits.title.5", "jQuery")); creditsMenu.Add(new MenuSeparator("credits.title.6", " ")); creditsMenu.Add(new MenuSeparator("credits.title.7", String.Format("Version: {0}", Rengar.ScriptVersion))); menu.Add(creditsMenu); } menu.Attach(); }
internal static void Init(Menu menu) { var orbwalkMenu = menu.Add(new Menu("Orbwalker", "Orbwalker")); { orbwalkMenu.Bool("Enable", "Enable Orbwalker"); var drawMenu = orbwalkMenu.Add(new Menu("Draw", "Draw")); { drawMenu.Bool("AARange", "Auto-Attack Range"); drawMenu.Bool("KillableMinion", "Killable Minion", false); drawMenu.Bool("KillableMinionFade", "Enable Killable Minion Fade Effect", false); } var advMenu = orbwalkMenu.Add(new Menu("Advanced", "Advanced")); { advMenu.Separator("Movement"); advMenu.Slider("ExtraHold", "Extra Hold Position", 25, 0, 250); advMenu.Separator("Miscellaneous"); advMenu.Slider("ExtraWindup", "Extra Windup", 80, 0, 200); advMenu.Slider("FarmDelay", "Farm Delay", 30, 0, 200); advMenu.Bool("PriorizeFarm", "Priorize Farm Over Harass"); advMenu.Bool("Missile", "Use Missile Checks (Ranged)"); } orbwalkMenu.Separator("Key Bindings"); orbwalkMenu.KeyBind("lasthitKey", "Farm", Keys.X); orbwalkMenu.KeyBind("laneclearKey", "Lane Clear", Keys.V); orbwalkMenu.KeyBind("hybridKey", "Hybrid", Keys.C); orbwalkMenu.KeyBind("orbwalkKey", "Orbwalk", Keys.Space); } Movement = Attack = true; Game.OnUpdate += args => { if (InterruptableSpell.IsCastingInterruptableSpell(Program.Player, true) || !Enabled) { return; } if (ActiveMode != OrbwalkingMode.None) { Orbwalk(OrbwalkTarget, OrbwalkPosition); } }; Spellbook.OnStopCast += (sender, args) => { if (!sender.Owner.IsMe || !Enabled) { return; } if (args.DestroyMissile && args.StopAnimation) { ResetAutoAttackTimer(); } }; Obj_AI_Base.OnDoCast += (sender, args) => { if (!sender.IsMe || !Enabled || !AutoAttack.IsAutoAttack(args.SData.Name)) { return; } if (Game.Ping <= 30) { DelayAction.Add(30, () => OnDoCastDelayed(args)); return; } OnDoCastDelayed(args); }; Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast; Drawing.OnDraw += OnDraw; }
public static void CreateMenu(Menu mainMenu) { var evadeMenu = mainMenu.Add(new Menu("Evade", "Evade Skillshot")); { evadeMenu.Separator("Credit: Evade#"); var evadeSpells = evadeMenu.Add(new Menu("Spells", "Spells")); { foreach (var spell in EvadeSpellDatabase.Spells) { var subMenu = evadeSpells.Add(new Menu(spell.Name, spell.Name)); { if (spell.UnderTower) { subMenu.Bool(spell.Slot + "Tower", "Under Tower", false); } if (spell.ExtraDelay) { subMenu.Slider(spell.Slot + "Delay", "Extra Delay", 100, 0, 150); } subMenu.Slider("DangerLevel", "If Danger Level >=", spell.DangerLevel, 1, 5); if (spell.IsTargetted && spell.ValidTargets.Contains(SpellValidTargets.AllyWards)) { subMenu.Bool("WardJump", "Ward Jump"); } subMenu.Bool("Enabled", "Enabled"); } } } foreach (var hero in GameObjects.EnemyHeroes.Where( i => SpellDatabase.Spells.Any( a => string.Equals(a.ChampionName, i.ChampionName, StringComparison.InvariantCultureIgnoreCase))) ) { evadeMenu.Add(new Menu(hero.ChampionName.ToLowerInvariant(), "-> " + hero.ChampionName)); } foreach (var spell in SpellDatabase.Spells.Where( i => GameObjects.EnemyHeroes.Any( a => string.Equals(a.ChampionName, i.ChampionName, StringComparison.InvariantCultureIgnoreCase))) ) { var subMenu = ((Menu)evadeMenu[spell.ChampionName.ToLowerInvariant()]).Add( new Menu(spell.SpellName, $"{spell.SpellName} ({spell.Slot})")); { subMenu.Slider("DangerLevel", "Danger Level", spell.DangerValue, 1, 5); subMenu.Bool("IsDangerous", "Is Dangerous", spell.IsDangerous); subMenu.Bool("DisableFoW", "Disable FoW Dodging", false); subMenu.Bool("Draw", "Draw"); subMenu.Bool("Enabled", "Enabled", !spell.DisabledByDefault); } } var drawMenu = evadeMenu.Add(new Menu("Draw", "Draw")); { drawMenu.Bool("Skillshot", "Skillshot"); drawMenu.Bool("Status", "Evade Status"); } evadeMenu.KeyBind("Enabled", "Enabled", Keys.K, KeyBindType.Toggle); evadeMenu.KeyBind("OnlyDangerous", "Dodge Only Dangerous", Keys.Space); } }
internal static void Init(Menu menu) { var orbwalkMenu = menu.Add(new Menu("Orbwalker", "Orbwalker")); { orbwalkMenu.Bool("Enable", "Enable Orbwalker"); var drawMenu = orbwalkMenu.Add(new Menu("Draw", "Draw")); { drawMenu.Bool("AARange", "Auto-Attack Range"); drawMenu.Bool("KillableMinion", "Killable Minion", false); drawMenu.Bool("KillableMinionFade", "Enable Killable Minion Fade Effect", false); } var advMenu = orbwalkMenu.Add(new Menu("Advanced", "Advanced")); { advMenu.Separator("Movement"); advMenu.Slider("ExtraHold", "Extra Hold Position", 25, 0, 250); advMenu.Separator("Miscellaneous"); advMenu.Slider("ExtraWindup", "Extra Windup", 80, 0, 200); advMenu.Slider("FarmDelay", "Farm Delay", 30, 0, 200); advMenu.Bool("PriorizeFarm", "Priorize Farm Over Harass"); advMenu.Bool("Missile", "Use Missile Checks (Ranged)"); } orbwalkMenu.Separator("Key Bindings"); orbwalkMenu.KeyBind("lasthitKey", "Farm", Keys.X); orbwalkMenu.KeyBind("laneclearKey", "Lane Clear", Keys.V); orbwalkMenu.KeyBind("hybridKey", "Hybrid", Keys.C); orbwalkMenu.KeyBind("orbwalkKey", "Orbwalk", Keys.Space); } Movement = Attack = true; Game.OnUpdate += args => { if (InterruptableSpell.IsCastingInterruptableSpell(Program.Player, true) || !Enabled) { return; } if (ActiveMode != OrbwalkingMode.None) { Orbwalk(OrbwalkTarget, OrbwalkPosition); } }; Spellbook.OnStopCast += (sender, args) => { if (!sender.Owner.IsMe || !Enabled) { return; } if (args.DestroyMissile && args.StopAnimation) { ResetAutoAttackTimer(); } }; Obj_AI_Base.OnDoCast += (sender, args) => { if (!sender.IsMe || !Enabled || !AutoAttack.IsAutoAttack(args.SData.Name)) { return; } if (Game.Ping <= 30) { DelayAction.Add(30, () => OnDoCastDelayed(args)); return; } OnDoCastDelayed(args); }; Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast; Drawing.OnDraw += OnDraw; }
public static MenuSlider Slider(Menu subMenu, string name, string display, int cur, int min = 0, int max = 100) { return subMenu.Add(new MenuSlider(name, display, cur, min, max)); }
public Jinx() { Q = new Spell(SpellSlot.Q, 725); W = new Spell(SpellSlot.W, 1500f); W.SetSkillshot(0.6f, 60f, 3300f, true, LeagueSharp.Common.SkillshotType.SkillshotLine); E = new Spell(SpellSlot.E, 900f); E.SetSkillshot(0.7f, 120f, 1750f, false, LeagueSharp.Common.SkillshotType.SkillshotCircle); R = new Spell(SpellSlot.R, 20000); R.SetSkillshot(0.6f, 140f, 1700f, false, LeagueSharp.Common.SkillshotType.SkillshotLine); _r2 = new Spell(SpellSlot.R, 20000); _r2.SetSkillshot(0.6f, 140f, 1700f, false, LeagueSharp.Common.SkillshotType.SkillshotLine); //Menu //Set key Menu Skill = new Menu("Keys", "Cài đặt kill"); Skill.Add(new MenuSlider("Q_Max_Range", "Q khi đủ tầm", 650, 500, 1200)); Skill.Add(new MenuSlider("W_Max_Range", "W khi đủ tầm", 900, 500, 1500)); Skill.Add(new MenuSlider("R_Min_Range", "Tầm đánh R nhỏ nhât", 300, 300, 1200)); Skill.Add(new MenuSlider("R_Max_Range", "Tầm đánh R lớn nhất", 20000, 500, 20000)); Skill.Add(new MenuKeyBind("Combo_WE", "Combo WE", System.Windows.Forms.Keys.E, KeyBindType.Press, "E")); // Combo Menu ComboMenu = new Menu("Combo", "Combo"); ComboMenu.Add(new MenuBool("UseQ","Dùng Q",true)); ComboMenu.Add(new MenuBool("UseW", "Dùng W", true)); ComboMenu.Add(new MenuBool("UseE", "Dùng E", true)); ComboMenu.Add(new MenuBool("UseR", "Dùng R", true)); ComboMenu.Add(new MenuBool("R_Nearest_Killable", "Giết khi gần Chết")); //Cấu rỉa Menu HarassMenu = new Menu("Harass", "Cấu Rỉa"); HarassMenu.Add(new MenuBool("UseQ", "Dùng Q", true)); HarassMenu.Add(new MenuBool("UseW", "Dùng W", true)); //Đẩy đường Menu LaneClearMenu = new Menu("LaneClear", "Đẩy Đường"); LaneClearMenu.Add(new MenuBool("UseQ", "Use Q", true)); //Dọn rừng Menu JungleClearMenu = new Menu("JungleClear", "Dọn Rừng"); JungleClearMenu.Add(new MenuBool("UseQ", "Use Q", true)); //Tiện ích Menu MiscMenu = new Menu("Misc", "Tiện ích"); MiscMenu.Add(new MenuBool("UseKillsteal", "Dùng R KS", true)); MiscMenu.Add(new MenuBool("Misc_Use_WE", "Combo E + W", true)); //Hiển thị Menu DrawingsMenu = new Menu("Drawings", "Hiển Thị"); DrawingsMenu.Add(new MenuSeparator("Qseparator", "Q")); DrawingsMenu.Add(new MenuBool("DrawQ", "Draw Q Range", true)); DrawingsMenu.Add(new MenuColor("QColor", "Color", SharpDX.Color.Blue)); DrawingsMenu.Add(new MenuSeparator("Wseparator", "W")); DrawingsMenu.Add(new MenuBool("DrawW", "Draw W Range")); DrawingsMenu.Add(new MenuColor("WColor", "Color", SharpDX.Color.Blue)); DrawingsMenu.Add(new MenuSeparator("Eseparator", "E")); DrawingsMenu.Add(new MenuBool("DrawE", "Draw E Range", true)); DrawingsMenu.Add(new MenuColor("EColor", "Color", SharpDX.Color.Blue)); DrawingsMenu.Add(new MenuSeparator("Rseparator", "R")); DrawingsMenu.Add(new MenuBool("DrawR", "Draw R Range")); DrawingsMenu.Add(new MenuColor("RColor", "Color", SharpDX.Color.Blue)); DrawingsMenu.Add(new MenuBool("Draw_R_Killable", "Tìm Muc tiêu ULti")); DrawingsMenu.Add(new MenuSeparator("Dseparator", "DamageIndicator")); var UseDamageIndicator = new MenuBool("UseDamageIndicator", "Use DamageIndicator", true); var DamageIndicatorFillColor = new MenuColor("DamageIndicatorFillColor", "Color", SharpDX.Color.Goldenrod); UseDamageIndicator.ValueChanged += (object sender, EventArgs e) => { DamageIndicator.Enabled = UseDamageIndicator.Value; }; DamageIndicatorFillColor.ValueChanged += (object sender, EventArgs e) => { DamageIndicator.FillColor = Color.FromArgb(DamageIndicatorFillColor.Color.ToBgra()); }; DrawingsMenu.Add(UseDamageIndicator); DrawingsMenu.Add(DamageIndicatorFillColor); MenuProvider.MainMenu.Add(ComboMenu); MenuProvider.MainMenu.Add(Skill); MenuProvider.MainMenu.Add(HarassMenu); MenuProvider.MainMenu.Add(LaneClearMenu); MenuProvider.MainMenu.Add(JungleClearMenu); MenuProvider.MainMenu.Add(MiscMenu); MenuProvider.MainMenu.Add(DrawingsMenu); //Event Game.OnUpdate += Game_OnGameUpdate; Drawing.OnDraw += Game_OnDraw; Spellbook.OnCastSpell += Spellbook_OnCastSpell; DamageIndicator.DamageToUnit = GetComboDamage; //Loaded Logging.Write()(LogLevel.Info, "HuyNK Series SDK: Jinx Loaded!"); }
/// <summary> /// The generation function. /// </summary> public static void Generate() { RootMenu = new Menu("com.ikalista", "iKalista 2.0", true); var comboMenu = new Menu("com.kalista.combo", "Combo Options"); { comboMenu.Add(new MenuSeparator("sep111", "Combo")); comboMenu.Add(new MenuBool("useQ", "Use Q", true)); comboMenu.Add(new MenuBool("useE", "Use E", true)); comboMenu.Add(new MenuSeparator("sep11", "Auto E")); // Make Module comboMenu.Add(new MenuBool("autoE", "Auto E")); comboMenu.Add(new MenuSlider("minStacks", "Min Percent for Auto E", 100, 10)); comboMenu.Add(new MenuSeparator("sep123", "E Leaving")); comboMenu.Add(new MenuBool("useELeaving", "E Leaving target")); comboMenu.Add(new MenuSlider("eLeavePercent", "Min Percent for Leaving", 40, 10)); // Make Module comboMenu.Add(new MenuSeparator("sep231", "E Before Death")); // make module comboMenu.Add(new MenuBool("eDeath", "E Before Death")); comboMenu.Add(new MenuSlider("eDeathPercent", "Damage Percent Before Death", 20, 10)); comboMenu.Add(new MenuSlider("myHealthPercent", "My Health Percent Before Death", 15, 5, 50)); comboMenu.Add(new MenuSeparator("sep321", "Ultimate Options")); comboMenu.Add(new MenuBool("saveAlly", "Save Ally With Ultimate")); comboMenu.Add(new MenuSlider("allyHealth", "Min Ally Health to save", 15, 10)); RootMenu.Add(comboMenu); } var harassMenu = new Menu("com.kalista.harass", "Harass Options"); { harassMenu.Add(new MenuBool("useQ", "Use Q", true)); harassMenu.Add(new MenuBool("useE", "Use E", true)); harassMenu.Add(new MenuSlider("minStacks", "Min Percent for Auto E", 50, 10)); harassMenu.Add(new MenuBool("autoHarass", "Minion -> Champion Harass", true)); RootMenu.Add(harassMenu); } var laneclearMenu = new Menu("com.kalista.laneclear", "Laneclear Options"); { laneclearMenu.Add(new MenuBool("useQ", "Use Q", true)); laneclearMenu.Add(new MenuSlider("qClear", "Min Minions for Q", 3, 1, 10)); laneclearMenu.Add(new MenuSlider("qMana", "Min Mana for Q %", 50, 10)); laneclearMenu.Add(new MenuSeparator("sep3321", "-")); laneclearMenu.Add(new MenuBool("useE", "Use E", true)); laneclearMenu.Add(new MenuSlider("eClear", "Min Minions for E", 3, 1, 10)); laneclearMenu.Add(new MenuSlider("eMana", "Min Mana for E %", 50, 10)); RootMenu.Add(laneclearMenu); } var miscMenu = new Menu("com.kalista.misc", "Misc Options"); { miscMenu.Add(new MenuKeyBind("sentinelDrake", "Send Sentinel to Dragon", Keys.T, KeyBindType.Press)); miscMenu.Add(new MenuKeyBind("sentinelBaron", "Send Sentinel to Baron", Keys.Y, KeyBindType.Press)); miscMenu.Add(new MenuBool("useJungleSteal", "Use Jungle Steal", true)); miscMenu.Add( new MenuList <string>( "stealMode", "Jungle Steal Mode", new[] { "Both", "Jungle Minions", "Super / Siege Minions" })); RootMenu.Add(miscMenu); } var fleeMenu = new Menu("com.kalista.flee", "Flee Options"); { fleeMenu.Add(new MenuKeyBind("fleeActive", "Flee Key", Keys.V, KeyBindType.Press)); fleeMenu.Add(new MenuSeparator("sep", "-")); fleeMenu.Add(new MenuBool("wallJump", "Try Wall Jump", true)); fleeMenu.Add(new MenuBool("aaFlee", "Use Auto Attacks", true)); RootMenu.Add(fleeMenu); } var drawingMenu = new Menu("com.kalista.drawing", "Drawing Options"); { drawingMenu.Add(new MenuBool("drawQ", "Draw Q Range")); drawingMenu.Add(new MenuBool("drawE", "Draw E Range")); drawingMenu.Add(new MenuBool("drawELeaving", "Draw E Range Leaving")); drawingMenu.Add(new MenuBool("drawPercentage", "Draw E Damage Percentage")); RootMenu.Add(drawingMenu); } RootMenu.Attach(); }
private void CreateMenu() { _cfg = new Menu("Aatrox", "Aatrox", true); var combo = new Menu("Combo", "Combo"); { combo.Add(new MenuBool("QCombo", "Use Q", true)); combo.Add(new MenuBool("WCombo", "Use W", true)); combo.Add(new MenuBool("ECombo", "Use E", true)); combo.Add(new MenuBool("RCombo", "Use R", true)); combo.Add(new MenuSlider("minW", "Min HP % W", 50, 0, 100)); combo.Add(new MenuSlider("maxW", "Max HP % W", 80, 0, 100)); combo.Add(new MenuBool("DontQ", "Don't Q at enemy tower", true)); combo.Add(new MenuBool("Dive", "Dive Tower when target HP is lower then %", true)); combo.Add(new MenuSlider("DiveMHP", "My HP % to Towerdive", 60, 0, 100)); combo.Add(new MenuSlider("DiveTHP", "Target HP % to Towerdive", 10, 0, 100)); combo.Add(new MenuBool("UseItems", "Use Items", true)); _cfg.Add(combo); } var harass = new Menu("Harass", "Harass"); { harass.Add(new MenuBool("HarQ", "Use Q in Harass", false)); harass.Add(new MenuBool("HarE", "Use E in Harass", true)); _cfg.Add(harass); } var laneclear = new Menu("LaneClear", "LaneClear"); { laneclear.Add(new MenuBool("UseQLane", "Use Q", false)); laneclear.Add(new MenuBool("UseWLane", "Use W", true)); laneclear.Add(new MenuBool("UseELane", "Use E", true)); _cfg.Add(laneclear); } var jungleclear = new Menu("JungleClear", "JungleClear"); { jungleclear.Add(new MenuBool("UseQJungle", "Use Q", true)); jungleclear.Add(new MenuBool("UseWJungle", "Use W", true)); jungleclear.Add(new MenuBool("UseEJungle", "Use E", true)); _cfg.Add(jungleclear); } var killsteal = new Menu("KillSteal", "KillSteal"); { killsteal.Add(new MenuBool("SmartKS", "Smart KillSteal", true)); killsteal.Add(new MenuBool("RKS", "Use R in KS", false)); _cfg.Add(killsteal); } var drawings = new Menu("Drawings", "Drawings"); { drawings.Add(new MenuBool("DrawQ", "Draw Q", true)); drawings.Add(new MenuBool("DrawE", "Draw E", true)); _cfg.Add(drawings); } var misc = new Menu("Misc", "Misc"); { misc.Add(new MenuBool("TowerQ", "Auto Q Under Turret", false)); misc.Add(new MenuBool("IntQ", "Auto Interrupt with Q", false)); misc.Add(new MenuBool("IntMed", "Interrupt Medium Danger Spells", false)); misc.Add(new MenuBool("SmartW", "Smart W Logic", true)); _cfg.Add(misc); } var flee = new Menu("Flee", "Flee"); { flee.Add(new MenuKeyBind("ActiveFlee", "Flee!", Keys.G, KeyBindType.Press)); _cfg.Add(flee); } _cfg.Attach(); }
/// <summary> /// The generation function. /// </summary> public static void Generate() { RootMenu = new Menu("com.ikalista", "iKalista 2.0", true); var comboMenu = new Menu("com.kalista.combo", "Combo Options"); { comboMenu.Add(new MenuSeparator("sep111", "Combo")); comboMenu.Add(new MenuBool("useQ", "Use Q", true)); comboMenu.Add(new MenuBool("useE", "Use E", true)); comboMenu.Add(new MenuSeparator("sep11", "Auto E")); // Make Module comboMenu.Add(new MenuBool("autoE", "Auto E")); comboMenu.Add(new MenuSlider("minStacks", "Min Percent for Auto E", 100, 10)); comboMenu.Add(new MenuSeparator("sep123", "E Leaving")); comboMenu.Add(new MenuBool("useELeaving", "E Leaving target")); comboMenu.Add(new MenuSlider("eLeavePercent", "Min Percent for Leaving", 40, 10)); // Make Module comboMenu.Add(new MenuSeparator("sep231", "E Before Death")); // make module comboMenu.Add(new MenuBool("eDeath", "E Before Death")); comboMenu.Add(new MenuSlider("eDeathPercent", "Damage Percent Before Death", 20, 10)); comboMenu.Add(new MenuSlider("myHealthPercent", "My Health Percent Before Death", 15, 5, 50)); comboMenu.Add(new MenuSeparator("sep321", "Ultimate Options")); comboMenu.Add(new MenuBool("saveAlly", "Save Ally With Ultimate")); comboMenu.Add(new MenuSlider("allyHealth", "Min Ally Health to save", 15, 10)); RootMenu.Add(comboMenu); } var harassMenu = new Menu("com.kalista.harass", "Harass Options"); { harassMenu.Add(new MenuBool("useQ", "Use Q", true)); harassMenu.Add(new MenuBool("useE", "Use E", true)); harassMenu.Add(new MenuSlider("minStacks", "Min Percent for Auto E", 50, 10)); harassMenu.Add(new MenuBool("autoHarass", "Minion -> Champion Harass", true)); RootMenu.Add(harassMenu); } var laneclearMenu = new Menu("com.kalista.laneclear", "Laneclear Options"); { laneclearMenu.Add(new MenuBool("useQ", "Use Q", true)); laneclearMenu.Add(new MenuSlider("qClear", "Min Minions for Q", 3, 1, 10)); laneclearMenu.Add(new MenuSlider("qMana", "Min Mana for Q %", 50, 10)); laneclearMenu.Add(new MenuSeparator("sep3321", "-")); laneclearMenu.Add(new MenuBool("useE", "Use E", true)); laneclearMenu.Add(new MenuSlider("eClear", "Min Minions for E", 3, 1, 10)); laneclearMenu.Add(new MenuSlider("eMana", "Min Mana for E %", 50, 10)); RootMenu.Add(laneclearMenu); } var miscMenu = new Menu("com.kalista.misc", "Misc Options"); { miscMenu.Add(new MenuKeyBind("sentinelDrake", "Send Sentinel to Dragon", Keys.T, KeyBindType.Press)); miscMenu.Add(new MenuKeyBind("sentinelBaron", "Send Sentinel to Baron", Keys.Y, KeyBindType.Press)); miscMenu.Add(new MenuBool("useJungleSteal", "Use Jungle Steal", true)); miscMenu.Add( new MenuList<string>( "stealMode", "Jungle Steal Mode", new[] { "Both", "Jungle Minions", "Super / Siege Minions" })); RootMenu.Add(miscMenu); } var fleeMenu = new Menu("com.kalista.flee", "Flee Options"); { fleeMenu.Add(new MenuKeyBind("fleeActive", "Flee Key", Keys.V, KeyBindType.Press)); fleeMenu.Add(new MenuSeparator("sep", "-")); fleeMenu.Add(new MenuBool("wallJump", "Try Wall Jump", true)); fleeMenu.Add(new MenuBool("aaFlee", "Use Auto Attacks", true)); RootMenu.Add(fleeMenu); } var drawingMenu = new Menu("com.kalista.drawing", "Drawing Options"); { drawingMenu.Add(new MenuBool("drawQ", "Draw Q Range")); drawingMenu.Add(new MenuBool("drawE", "Draw E Range")); drawingMenu.Add(new MenuBool("drawELeaving", "Draw E Range Leaving")); drawingMenu.Add(new MenuBool("drawPercentage", "Draw E Damage Percentage")); RootMenu.Add(drawingMenu); } RootMenu.Attach(); }
internal static void Init() { LoadSpellData(); var evadeMenu = new Menu("EvadeTarget", "Evade Target"); { evadeMenu.Bool("W", "Use W"); /*evadeMenu.Bool("BAttack", "Basic Attack"); evadeMenu.Slider("BAttackHpU", "-> If Hp <", 35); evadeMenu.Bool("CAttack", "Crit Attack"); evadeMenu.Slider("CAttackHpU", "-> If Hp <", 40);*/ foreach (var hero in GameObjects.EnemyHeroes.Where( i => Spells.Any( a => string.Equals( a.ChampionName, i.ChampionName, StringComparison.InvariantCultureIgnoreCase)))) { evadeMenu.Add(new Menu(hero.ChampionName.ToLowerInvariant(), "-> " + hero.ChampionName)); } foreach (var spell in Spells.Where( i => GameObjects.EnemyHeroes.Any( a => string.Equals( a.ChampionName, i.ChampionName, StringComparison.InvariantCultureIgnoreCase)))) { ((Menu)evadeMenu[spell.ChampionName.ToLowerInvariant()]).Bool( spell.MissileName, spell.MissileName + " (" + spell.Slot + ")", false); } } MainMenu.Add(evadeMenu); Game.OnUpdate += OnUpdateTarget; GameObject.OnCreate += ObjSpellMissileOnCreate; GameObject.OnDelete += ObjSpellMissileOnDelete; }
private void CreateMenu() { _cfg = new Menu("VoliBear", "Volibear", true); var _combo = new Menu("Combo", "Combo"); { _combo.Add(new MenuBool("QCombo", "Use Q", true)); _combo.Add(new MenuBool("WCombo", "Use W", true)); _combo.Add(new MenuBool("ECombo", "Use E", true)); //_combo.Add(new MenuBool("UseItems", "Use Items", true)); _combo.Add(new MenuSlider("HPW", "Min Enemy HP% To Use W", 30, 0, 100)); _combo.Add(new MenuBool("AutoR", "Auto use R", true)); _combo.Add(new MenuSlider("CountR", "Num of Enemy in Range to Ult", 3, 0, 5)); _cfg.Add(_combo); } var _harass = new Menu("Harass", "Harass"); { _harass.Add(new MenuBool("HarassW", "Use W in Harass", true)); _harass.Add(new MenuBool("HarassE", "Use E in Harass", true)); _harass.Add(new MenuSlider("HPWHarass", "Min Enemy HP% To Use W", 30, 0, 100)); _cfg.Add(_harass); } var _laneclear = new Menu("LaneClear", "LaneClear"); { _laneclear.Add(new MenuBool("UseQLane", "Use Q", true)); _laneclear.Add(new MenuBool("UseWLane", "Use W", true)); _laneclear.Add(new MenuBool("UseELane", "Use E", true)); _cfg.Add(_laneclear); } var _jungleclear = new Menu("JungleClear", "JungleClear"); { _jungleclear.Add(new MenuBool("UseQJungle", "Use Q", true)); _jungleclear.Add(new MenuBool("UseWJungle", "Use W", true)); _jungleclear.Add(new MenuBool("UseEJungle", "Use E", true)); _cfg.Add(_jungleclear); } var _killsteal = new Menu("KillSteal", "KillSteal"); { _killsteal.Add(new MenuBool("SmartKS", "Smart KillSteal", true)); _cfg.Add(_killsteal); } var _flee = new Menu("Flee", "Flee"); { _flee.Add(new MenuKeyBind("ActiveFlee", "Flee!", Keys.G, KeyBindType.Press)); _cfg.Add(_flee); } var _drawings = new Menu("Drawings", "Drawings"); { _drawings.Add(new MenuBool("DrawQ", "Draw Q", true)); _drawings.Add(new MenuBool("DrawW", "Draw W", true)); _drawings.Add(new MenuBool("DrawE", "Draw E", true)); _drawings.Add(new MenuBool("DrawR", "Draw R", true)); _cfg.Add(_drawings); } _cfg.Attach(); }
public static MenuBool Bool(this Menu subMenu, string name, string display, bool state = true) { return(subMenu.Add(new MenuBool(name, display, state))); }
public static MenuSeparator Separator(this Menu subMenu, string display) { cBlank += 1; return(subMenu.Add(new MenuSeparator("blank" + cBlank, display))); }
private static void OnLoad(object sender, EventArgs e) { Q = new Spell(SpellSlot.Q, 600f); W = new Spell(SpellSlot.W); E = new Spell(SpellSlot.E); R = new Spell(SpellSlot.R, 400f); Q.SetTargetted(0f, 1000f, Player.Position); Config = new Menu("Mighty Fiora", "Mighty Fiora", true); Config.Add(new MenuSeparator("Mighty Fiora", "Mighty Fiora")); var combo = Config.Add(new Menu("combo", "Combo Settings")); var spell = Config.Add(new Menu("spell", "Spell Settings")); combo.Add(new MenuSeparator("Combo Menu", "Combo Menu")); combo.Add(new MenuBool("UseQ", "Use Q", true)); combo.Add(new MenuBool("UseW", "Use W", true)); combo.Add(new MenuBool("UseE", "Use E", true)); combo.Add(new MenuBool("UseR", "Use R", true)); //Advanced Spell Settings spell.Add(new MenuSeparator("Advanced Q Settings", "Advanced Q Settings")); spell.Add(new MenuBool("qgapcloseonly", "Use [Q] for Gapclosing only", false)); spell.Add((new MenuSlider("qgapcloserange", "Gapclose Range", 300, 0, 600))); spell.Add(new MenuSeparator("Advanced W Settings", "Advanced W Settings")); spell.Add(new MenuBool("autow", "Use [W] on Autoattacks", true)); spell.Add(new MenuSlider("wdelay", "Cast Delay in Miliseconds", 80, 0, 1000)); spell.Add(new MenuSeparator("Advanced R Settings", "Advanced R Settings")); spell.Add(new MenuBool("UseRF", "Use [R] on Killable", true)); spell.Add(new MenuKeyBind("forceR", "Force [R] Toggle (will R after Combo)", Keys.J, KeyBindType.Toggle)); spell.Add(new MenuBool("rhp", "Auto [R] if HP <= %", true)); spell.Add((new MenuSlider("rhp%", "Player HP %", 30, 0, 100))); spell.Add(new MenuBool("rAOE", "Auto [R] on X amount of Enemies", true)); spell.Add((new MenuSlider("rcount", "Enemy Count", 4, 0, 5))); var harass = Config.Add(new Menu("harass", "Harass Settings")); harass.Add(new MenuSeparator("Harass Menu", "Harass Menu")); harass.Add(new MenuBool("harrQ", "Use Q", true)); harass.Add(new MenuBool("harrE", "Use E", true)); var laneclear = Config.Add(new Menu("laneclear", "Laneclear Settings")); laneclear.Add(new MenuSeparator("Coming Soon", "Coming Soon")); var drawing = Config.Add(new Menu("draw", "Draw Settings")); drawing.Add(new MenuSeparator("Draw Menu", "Draw Menu")); drawing.Add(new MenuBool("disable", "Disable all drawings", false)); drawing.Add(new MenuList <string>("drawmode", "Drawing Mode:", objects: new[] { "Normal", "Custom" })); drawing.Add(new MenuBool("disableq", "[Q] draw", true)); drawing.Add(new MenuBool("disableqp", "[Q] Gapclose draw", true)); drawing.Add(new MenuBool("disablee", "[E] draw", true)); drawing.Add(new MenuBool("disabler", "[R] draw", true)); drawing.Add(new MenuSeparator("Color Settings", "Color Settings")); //I'll call your parents if you copy this. KappaHD //Do you need an Onii-chan or a Senpai? Feel free to contact me on Skype: djkleeven drawing.Add(new MenuColor("drawq", "[Q] Range Draw Color", new ColorBGRA(32, 20, 10, 255))); drawing.Add(new MenuColor("drawqp", "[Q] Gapclose Draw Color", new ColorBGRA(125, 20, 10, 255))); drawing.Add(new MenuColor("drawe", "[E] Range Draw Color", new ColorBGRA(32, 20, 10, 255))); drawing.Add(new MenuColor("drawr", "[R] Range Draw Color", new ColorBGRA(32, 20, 10, 255))); drawing.Add(new MenuSeparator("Misc Settings", "Misc Settings")); drawing.Add(new MenuBool("dmgindic", "Damage Indicator", true)); drawing.Add(new MenuBool("targets", "Draw Selected Target", true)); Config.Add(new MenuButton("resetAll", "Settings", "Reset All Settings") { Action = () => { Config.RestoreDefault(); } }); Bootstrap.Init(new string[] { }); Config.Attach(); Game.OnUpdate += OnUpdate; Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast; Orbwalker.OnAction += OnAction; Drawing.OnDraw += OnDraw; Obj_AI_Hero.OnBuffRemove += Tiamat; Obj_AI_Hero.OnBuffAdd += Qbuff; Drawing.OnEndScene += DamageIn; }
public static MenuList List(Menu subMenu, string name, string display, string[] array) { return subMenu.Add(new MenuList<string>(name, display, array)); }
/// <summary> /// The create menu. /// </summary> private void CreateMenu() { this.Menu = new Menu("cmMoonDraven", "Moon Draven", true); // Combo var comboMenu = new Menu("Combo", "Combo"); comboMenu.Add(new MenuBool("UseQCombo", "Use Q", true)); comboMenu.Add(new MenuBool("UseWCombo", "Use W", true)); comboMenu.Add(new MenuBool("UseECombo", "Use E", true)); comboMenu.Add(new MenuBool("UseRCombo", "Use R", true)); this.Menu.Add(comboMenu); // Harass var harassMenu = new Menu("Harass", "Harass"); harassMenu.Add(new MenuBool("UseEHarass", "Use E", true)); harassMenu.Add(new MenuKeyBind("UseHarassToggle", "Harass! (Toggle)", Keys.T, KeyBindType.Toggle)); this.Menu.Add(harassMenu); // Lane Clear var laneClearMenu = new Menu("WaveClear", "Wave Clear"); laneClearMenu.Add(new MenuBool("UseQWaveClear", "Use Q", true)); laneClearMenu.Add(new MenuBool("UseWWaveClear", "Use W", true)); laneClearMenu.Add(new MenuBool("UseEWaveClear", "Use E")); laneClearMenu.Add(new MenuSlider("WaveClearManaPercent", "Mana Percent", 0x32)); this.Menu.Add(laneClearMenu); // Axe Menu var axeMenu = new Menu("AxeSettings", "Axe Settings"); axeMenu.Add(new MenuList<string>("AxeMode", "Catch Axe on Mode:", new[] { "Always", "Combo", "Any" })); axeMenu.Add(new MenuSlider("CatchAxeRange", "Catch Axe Range", 0x320, 0x78, 0x5DC)); axeMenu.Add(new MenuSlider("MaxAxes", "Maximum Axes", 2, 1, 3)); axeMenu.Add(new MenuBool("UseWForQ", "Use W if Axe too far", true)); axeMenu.Add(new MenuBool("DontCatchUnderTurret", "Don't Catch Axe Under Turret", true)); axeMenu.Add(new MenuBool("AlwaysCatch", "Always Catch Axe", false)); this.Menu.Add(axeMenu); // Drawing var drawMenu = new Menu("Drawing", "Draw"); drawMenu.Add(new MenuBool("DrawE", "Draw E", true)); drawMenu.Add(new MenuBool("DrawAxeLocation", "Draw Axe Location", true)); drawMenu.Add(new MenuBool("DrawAxeRange", "Draw Axe Catch Range", true)); this.Menu.Add(drawMenu); // Misc Menu var miscMenu = new Menu("Misc", "Misc"); miscMenu.Add(new MenuBool("UseWSetting", "Use W Instantly(When Available)")); miscMenu.Add(new MenuBool("UseEGapcloser", "Use E on Gapcloser", true)); miscMenu.Add(new MenuBool("UseEInterrupt", "Use E to Interrupt", true)); miscMenu.Add(new MenuSlider("UseWManaPercent", "Use W Mana Percent", 0x32)); miscMenu.Add(new MenuBool("UseWSlow", "Use W if Slowed", true)); this.Menu.Add(miscMenu); this.Menu.Attach(); }
private void CreateMenu() { _cfg = new Menu("VoliBear", "Volibear", true); var _combo = new Menu("Combo", "Combo"); { _combo.Add(new MenuBool("QCombo", "Use Q", true)); _combo.Add(new MenuBool("WCombo", "Use W", true)); _combo.Add(new MenuBool("ECombo", "Use E", true)); //_combo.Add(new MenuBool("UseItems", "Use Items", true)); _combo.Add(new MenuSlider("HPW", "Min Enemy HP% To Use W", 30, 0, 100)); _combo.Add(new MenuBool("AutoR", "Auto use R", true)); _combo.Add(new MenuSlider("CountR", "Num of Enemy in Range to Ult", 3, 0, 5)); _cfg.Add(_combo); } var _harass = new Menu("Harass", "Harass"); { _harass.Add(new MenuBool("HarassW", "Use W in Harass", true)); _harass.Add(new MenuBool("HarassE", "Use E in Harass",true)); _harass.Add(new MenuSlider("HPWHarass", "Min Enemy HP% To Use W", 30, 0, 100)); _cfg.Add(_harass); } var _laneclear = new Menu("LaneClear", "LaneClear"); { _laneclear.Add(new MenuBool("UseQLane", "Use Q", true)); _laneclear.Add(new MenuBool("UseWLane", "Use W", true)); _laneclear.Add(new MenuBool("UseELane", "Use E", true)); _cfg.Add(_laneclear); } var _jungleclear = new Menu("JungleClear", "JungleClear"); { _jungleclear.Add(new MenuBool("UseQJungle", "Use Q", true)); _jungleclear.Add(new MenuBool("UseWJungle", "Use W", true)); _jungleclear.Add(new MenuBool("UseEJungle", "Use E", true)); _cfg.Add(_jungleclear); } var _killsteal = new Menu("KillSteal", "KillSteal"); { _killsteal.Add(new MenuBool("SmartKS", "Smart KillSteal", true)); _cfg.Add(_killsteal); } var _flee = new Menu("Flee", "Flee"); { _flee.Add(new MenuKeyBind("ActiveFlee", "Flee!", Keys.G, KeyBindType.Press)); _cfg.Add(_flee); } var _drawings = new Menu("Drawings", "Drawings"); { _drawings.Add(new MenuBool("DrawQ", "Draw Q", true)); _drawings.Add(new MenuBool("DrawW", "Draw W", true)); _drawings.Add(new MenuBool("DrawE", "Draw E", true)); _drawings.Add(new MenuBool("DrawR", "Draw R", true)); _cfg.Add(_drawings); } _cfg.Attach(); }
public static void OnLoad(object sender, EventArgs e) { Q = new Spell(SpellSlot.Q, 1175); W = new Spell(SpellSlot.W, 1075); E = new Spell(SpellSlot.E, 1100); R = new Spell(SpellSlot.R, 3250); Q.SetSkillshot(0.25f, 110f, 1300f, false, SkillshotType.SkillshotLine); W.SetSkillshot(0.25f, 110f, 1200f, false, SkillshotType.SkillshotLine); E.SetSkillshot(0.25f, 280f, 1300f, false, SkillshotType.SkillshotCircle); R.SetSkillshot(1.35f, 190f, 5000000, false, SkillshotType.SkillshotLine); Config = new Menu("Mighty Lux", "Mighty Lux", true); Config.Add(new MenuSeparator("Mighty Lux", "Mighty Lux")); Bootstrap.Init(new string[] {}); var spell = Config.Add(new Menu("spell", "Combo Settings")); var combo = Config.Add(new Menu("combo", "Spell Settings")); spell.Add(new MenuSeparator("Combo Menu", "Combo Menu")); spell.Add(new MenuBool("UseQ", "Use Q", true)); spell.Add(new MenuBool("UseE", "Use E", true)); spell.Add(new MenuBool("UseR", "Use R", true)); combo.Add(new MenuSeparator("Advanced Q Settings", "Advanced Q Settings")); combo.Add(new MenuBool("AutoQcc", "Auto [Q] on CC'd enemies", true)); combo.Add(new MenuSeparator("Advanced W Settings", "Advanced W Settings")); combo.Add(new MenuBool("AutoWturret", "Auto [W] on Turret Shots", true)); combo.Add(new MenuSeparator("Advanced R Settings", "Advanced R Settings")); combo.Add(new MenuKeyBind("forceR", "Semi-Manual [R] cast", Keys.R, KeyBindType.Press)); combo.Add(new MenuBool("UseRF", "Use [R] to Finish off enemies", true)); combo.Add((new MenuBool("useraoe", "Use [R] if it will hit X amount of Enemies", true))); combo.Add((new MenuSlider("raoeslider", "Enemy Count", 4, 0, 5))); combo.Add(new MenuSeparator("Killsteal Settings", "Killsteal Settings")); combo.Add((new MenuBool("UseQKS", "Use [Q] for Killstealing", true))); combo.Add((new MenuBool("UseRKS", "Use [R] for Killstealing", true))); combo.Add(new MenuBool("UseEKS", "Use [E] for Killstealing", true)); //Prediction combo.Add(new MenuSeparator("science", "Prediction Settings")); combo.Add(new MenuList <string>("hitchanceQ", "[Q] Hitchance", objects: new[] { "High", "Medium", "Low", "VeryHigh" })); combo.Add(new MenuList <string>("hitchanceE", "[E] Hitchance", objects: new[] { "High", "Medium", "Low", "VeryHigh" })); combo.Add(new MenuList <string>("hitchanceR", "[R] Hitchance", objects: new[] { "High", "Medium", "Low", "VeryHigh" })); var harass = Config.Add(new Menu("harass", "Harass Settings")); harass.Add(new MenuSeparator("Harass Menu", "Harass Menu")); harass.Add(new MenuBool("harrQ", "Use Q", true)); harass.Add(new MenuBool("harrE", "Use E", true)); harass.Add(new MenuSlider("harassmana", "Mana Percentage", 65, 0, 100)); var laneclear = Config.Add(new Menu("laneclear", "Laneclear Settings")); laneclear.Add(new MenuSeparator("Laneclear Menu", "Laneclear Menu")); laneclear.Add(new MenuBool("laneQ", "Use Q", true)); laneclear.Add(new MenuBool("laneE", "Use E", true)); laneclear.Add(new MenuSeparator("[E] Settings", "[E] Settings")); laneclear.Add(new MenuSlider("laneclearEcount", "Minion Count", 2, 0, 10)); laneclear.Add(new MenuSeparator("[Q] Settings", "[Q] Settings")); laneclear.Add(new MenuSlider("laneclearQcount", "Minion Count", 2, 0, 10)); laneclear.Add(new MenuSeparator("Misc Settings", "Misc Settings")); laneclear.Add(new MenuSlider("lanemana", "Mana Percentage", 65, 0, 100)); laneclear.Add(new MenuSlider("lanelevel", "Don't use Abilities till level", 8, 0, 18)); var jungle = Config.Add(new Menu("jungle", "Junglesteal Settings")); jungle.Add(new MenuSeparator("Jungle Settings", "Junglesteal Settings")); jungle.Add(new MenuKeyBind("toggle", "Junglesteal with [R] (TOGGLE)", Keys.K, KeyBindType.Toggle)); jungle.Add(new MenuBool("blue", "Blue buff", true)); jungle.Add(new MenuBool("red", "Red buff", true)); jungle.Add(new MenuBool("dragon", "Dragon", true)); jungle.Add(new MenuBool("baron", "Baron", true)); jungle.Add(new MenuList <string>("jungleteam", "[BROKEN/NOT WORKING]", new[] { "Enemy", "Ally" })); var misc = Config.Add(new Menu("misc", "Sound Settings")); misc.Add(new MenuSeparator("sound", "Sound Settings")); misc.Add(new MenuBool("rsound", "Enable [R] Cast Sound Effect", true)); var drawing = Config.Add(new Menu("draw", "Draw Settings")); var utility = Config.Add(new Menu("util", "Utility Drawings")); drawing.Add(new MenuSeparator("Draw Menu", "Draw Menu")); drawing.Add(new MenuBool("disable", "Disable all drawings", false)); drawing.Add(new MenuList <string>("drawmode", "Drawing Mode:", new[] { "Normal", "Custom" })); drawing.Add(new MenuBool("disableq", "[Q] draw", true)); drawing.Add(new MenuBool("disablew", "[W] draw", true)); drawing.Add(new MenuBool("disablee", "[E] draw", true)); drawing.Add(new MenuBool("disabler", "[R] draw", true)); drawing.Add(new MenuSeparator("Color Settings", "Color Settings")); //I'll call your parents if you copy this. KappaHD //Do you need an Onii-chan or a Senpai? Feel free to contact me on Skype: djkleeven drawing.Add(new MenuColor("drawq", "[Q] Range Draw Color", new ColorBGRA(32, 20, 10, 255))); drawing.Add(new MenuColor("draww", "[W] Range Draw Color", new ColorBGRA(32, 20, 10, 255))); drawing.Add(new MenuColor("drawe", "[E] Range Draw Color", new ColorBGRA(32, 20, 10, 255))); drawing.Add(new MenuColor("drawr", "[R] Range Draw Color", new ColorBGRA(32, 20, 10, 255))); utility.Add(new MenuSeparator("Utility Drawings", "Utility Drawings")); utility.Add(new MenuList <string>("dmgdrawer", "Damage Indicator", new[] { "Custom", "SDK" })); utility.Add(new MenuColor("dmgcolor", "Damage Indicator Color", new ColorBGRA(32, 155, 120, 255))); utility.Add(new MenuBool("drawRdmg", "Draw [R] Damage Indicator", true)); // utility.Add(new MenuColor("rdmgcolor", "Damage Indicator Color", new ColorBGRA(32, 155, 120, 255))); // utility.Add(new MenuBool("HUD", "Heads-Up Display", true)); utility.Add(new MenuBool("indicator", "Enemy Indicator", true)); utility.Add(new MenuBool("orbmode", "Draw Active Orbwalk Mode", true)); Config.Add(new MenuButton("resetAll", "Settings", "Reset All Settings") { Action = () => { Config.RestoreDefault(); } }); Config.Attach(); //Drawings.DrawEvent(); Dash.OnDash += AntiGapcloser; Game.OnUpdate += OnUpdate; GameObject.OnDelete += GameObject_OnDelete; GameObject.OnCreate += GameObject_OnCreate; Obj_AI_Turret.OnAggro += Turretaggro; Obj_AI_Base.OnProcessSpellCast += TurretOnProcessSpellCast; Drawing.OnDraw += MiscDrawings; Drawings.DrawEvent(); }
public static MenuSeparator Separator(Menu subMenu, string name, string display) { return(subMenu.Add(new MenuSeparator(name, display))); }
public static void CreateMenu(Menu mainMenu) { var evadeMenu = mainMenu.Add(new Menu("Evade", "Evade Skillshot")); { evadeMenu.Separator("Credit: Evade#"); var evadeSpells = evadeMenu.Add(new Menu("Spells", "Spells")); { foreach (var spell in EvadeSpellDatabase.Spells) { var subMenu = evadeSpells.Add(new Menu(spell.Name, spell.Name)); { if (spell.UnderTower) { subMenu.Bool(spell.Slot + "Tower", "Under Tower", false); } if (spell.ExtraDelay) { subMenu.Slider(spell.Slot + "Delay", "Extra Delay", 100, 0, 150); } subMenu.Slider("DangerLevel", "If Danger Level >=", spell.DangerLevel, 1, 5); if (spell.IsTargetted && spell.ValidTargets.Contains(SpellValidTargets.AllyWards)) { subMenu.Bool("WardJump", "Ward Jump"); } subMenu.Bool("Enabled", "Enabled"); } } } foreach (var hero in GameObjects.EnemyHeroes.Where( i => SpellDatabase.Spells.Any( a => string.Equals(a.ChampionName, i.ChampionName, StringComparison.InvariantCultureIgnoreCase))) ) { evadeMenu.Add(new Menu(hero.ChampionName.ToLowerInvariant(), "-> " + hero.ChampionName)); } foreach (var spell in SpellDatabase.Spells.Where( i => GameObjects.EnemyHeroes.Any( a => string.Equals(a.ChampionName, i.ChampionName, StringComparison.InvariantCultureIgnoreCase))) ) { var subMenu = ((Menu)evadeMenu[spell.ChampionName.ToLowerInvariant()]).Add( new Menu(spell.SpellName, $"{spell.SpellName} ({spell.Slot})")); { subMenu.Slider("DangerLevel", "Danger Level", spell.DangerValue, 1, 5); subMenu.Bool("IsDangerous", "Is Dangerous", spell.IsDangerous); subMenu.Bool("DisableFoW", "Disable FoW Dodging", false); subMenu.Bool("Draw", "Draw"); subMenu.Bool("Enabled", "Enabled", !spell.DisabledByDefault); } } var drawMenu = evadeMenu.Add(new Menu("Draw", "Draw")); { drawMenu.Bool("Skillshot", "Skillshot"); drawMenu.Bool("Status", "Evade Status"); } evadeMenu.KeyBind("Enabled", "Enabled", Keys.K, KeyBindType.Toggle); evadeMenu.KeyBind("OnlyDangerous", "Dodge Only Dangerous", Keys.Space); } }
private static void OnLoad(object sender, EventArgs e) { Q = new Spell(SpellSlot.Q, 600f); W = new Spell(SpellSlot.W); E = new Spell(SpellSlot.E); R = new Spell(SpellSlot.R, 400f); Q.SetTargetted(0f, 1000f, Player.Position); Config = new Menu("Mighty Fiora", "Mighty Fiora", true); Config.Add(new MenuSeparator("Mighty Fiora", "Mighty Fiora")); var combo = Config.Add(new Menu("combo", "Combo Settings")); var spell = Config.Add(new Menu("spell", "Spell Settings")); combo.Add(new MenuSeparator("Combo Menu", "Combo Menu")); combo.Add(new MenuBool("UseQ", "Use Q", true)); combo.Add(new MenuBool("UseW", "Use W", true)); combo.Add(new MenuBool("UseE", "Use E", true)); combo.Add(new MenuBool("UseR", "Use R", true)); //Advanced Spell Settings spell.Add(new MenuSeparator("Advanced Q Settings", "Advanced Q Settings")); spell.Add(new MenuBool("qgapcloseonly", "Use [Q] for Gapclosing only", false)); spell.Add((new MenuSlider("qgapcloserange", "Gapclose Range", 300, 0, 600))); spell.Add(new MenuSeparator("Advanced W Settings", "Advanced W Settings")); spell.Add(new MenuBool("autow", "Use [W] on Autoattacks", true)); spell.Add(new MenuSlider("wdelay", "Cast Delay in Miliseconds", 80, 0, 1000)); spell.Add(new MenuSeparator("Advanced R Settings", "Advanced R Settings")); spell.Add(new MenuBool("UseRF", "Use [R] on Killable", true)); spell.Add(new MenuKeyBind("forceR", "Force [R] Toggle (will R after Combo)", Keys.J, KeyBindType.Toggle)); spell.Add(new MenuBool("rhp", "Auto [R] if HP <= %", true)); spell.Add((new MenuSlider("rhp%", "Player HP %", 30, 0, 100))); spell.Add(new MenuBool("rAOE", "Auto [R] on X amount of Enemies", true)); spell.Add((new MenuSlider("rcount", "Enemy Count", 4, 0, 5))); var harass = Config.Add(new Menu("harass", "Harass Settings")); harass.Add(new MenuSeparator("Harass Menu", "Harass Menu")); harass.Add(new MenuBool("harrQ", "Use Q", true)); harass.Add(new MenuBool("harrE", "Use E", true)); var laneclear = Config.Add(new Menu("laneclear", "Laneclear Settings")); laneclear.Add(new MenuSeparator("Coming Soon", "Coming Soon")); var drawing = Config.Add(new Menu("draw", "Draw Settings")); drawing.Add(new MenuSeparator("Draw Menu", "Draw Menu")); drawing.Add(new MenuBool("disable", "Disable all drawings", false)); drawing.Add(new MenuList<string>("drawmode", "Drawing Mode:", objects: new[] {"Normal", "Custom"})); drawing.Add(new MenuBool("disableq", "[Q] draw", true)); drawing.Add(new MenuBool("disableqp", "[Q] Gapclose draw", true)); drawing.Add(new MenuBool("disablee", "[E] draw", true)); drawing.Add(new MenuBool("disabler", "[R] draw", true)); drawing.Add(new MenuSeparator("Color Settings", "Color Settings")); //I'll call your parents if you copy this. KappaHD //Do you need an Onii-chan or a Senpai? Feel free to contact me on Skype: djkleeven drawing.Add(new MenuColor("drawq", "[Q] Range Draw Color", new ColorBGRA(32, 20, 10, 255))); drawing.Add(new MenuColor("drawqp", "[Q] Gapclose Draw Color", new ColorBGRA(125, 20, 10, 255))); drawing.Add(new MenuColor("drawe", "[E] Range Draw Color", new ColorBGRA(32, 20, 10, 255))); drawing.Add(new MenuColor("drawr", "[R] Range Draw Color", new ColorBGRA(32, 20, 10, 255))); drawing.Add(new MenuSeparator("Misc Settings", "Misc Settings")); drawing.Add(new MenuBool("dmgindic", "Damage Indicator", true)); drawing.Add(new MenuBool("targets", "Draw Selected Target", true)); Config.Add(new MenuButton("resetAll", "Settings", "Reset All Settings") { Action = () => { Config.RestoreDefault(); } }); Bootstrap.Init(new string[] { }); Config.Attach(); Game.OnUpdate += OnUpdate; Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast; Orbwalker.OnAction += OnAction; Drawing.OnDraw += OnDraw; Obj_AI_Hero.OnBuffRemove += Tiamat; Obj_AI_Hero.OnBuffAdd += Qbuff; Drawing.OnEndScene += DamageIn; }
/// <inheritdoc /> public void AddToMenu(Menu tsMenu) { this.menu = tsMenu; this.weightsMenu = new Menu("weights", "Weights"); var heroPercentMenu = new Menu("heroPercentage", "Hero Percentage"); foreach (var enemy in GameObjects.EnemyHeroes) { heroPercentMenu.Add( new MenuSlider( enemy.ChampionName, enemy.ChampionName, DefaultPercentage, MinPercentage, MaxPercentage)); } this.weightsMenu.Add(heroPercentMenu); this.weightsMenu.Add( new MenuButton("export", "Export to Clipboard", "Export") { Action = this.ExportSettings }); this.weightsMenu.Add( new MenuButton("import", "Import from Clipboard", "Import") { Action = this.ImportSettings }); this.weightsMenu.Add(new MenuButton("reset", "Reset to Default", "Reset") { Action = this.ResetSettings }); foreach (var weight in this.pItems) { this.weightsMenu.Add( new MenuSlider( weight.Name, weight.DisplayName, Math.Min(MaxWeight, Math.Max(MinWeight, weight.Weight)), MinWeight, MaxWeight)); } this.weightsMenu.MenuValueChanged += (sender, args) => { var slider = sender as MenuSlider; if (slider != null) { foreach (var weight in this.pItems.Where(weight => slider.Name.Equals(weight.Name))) { weight.Weight = slider.Value; } } }; this.menu.Add(this.weightsMenu); foreach (var weight in this.pItems) { weight.Weight = this.weightsMenu[weight.Name].GetValue<MenuSlider>().Value; } foreach (var enemy in GameObjects.EnemyHeroes) { this.weightsMenu["heroPercentage"][enemy.ChampionName].GetValue<MenuSlider>().Value = DefaultPercentage; } }
/// <summary> /// The initialize method of the <c>orbwalker</c>. /// </summary> /// <param name="menu"> /// The LeagueSharp menu /// </param> internal static void Initialize(Menu menu) { var drawing = new Menu("drawings", "Drawings"); drawing.Add(new MenuBool("drawAARange", "Draw Auto-Attack Range", true)); drawing.Add(new MenuBool("drawKillableMinion", "Draw Killable Minion")); drawing.Add(new MenuBool("drawKillableMinionFade", "Enable Killable Minion Fade Effect")); Menu.Add(drawing); var advanced = new Menu("advanced", "Advanced"); advanced.Add(new MenuSeparator("separatorMovement", "Movement")); advanced.Add( new MenuSlider( "movementDelay", "Delay between Movement", new Random(Variables.TickCount).Next(30, 101), 0, 2500)); advanced.Add(new MenuBool("movementScramble", "Randomize movement location", true)); advanced.Add(new MenuSlider("movementExtraHold", "Extra Hold Position", 25, 0, 250)); advanced.Add( new MenuSlider( "movementMaximumDistance", "Maximum Movement Distance", new Random().Next(500, 1201), 350, 1200)); advanced.Add(new MenuSeparator("separatorMisc", "Miscellaneous")); advanced.Add(new MenuSlider("miscExtraWindup", "Extra Windup", 80, 0, 200)); advanced.Add(new MenuSlider("miscFarmDelay", "Farm Delay", 0, 0, 200)); advanced.Add(new MenuBool("miscPriorizeFarm", "Priorize farm over harass", true)); advanced.Add(new MenuBool("miscMissile", "Use Missile Checks", true)); advanced.Add(new MenuSeparator("separatorOther", "Other")); advanced.Add( new MenuButton("resetAll", "Settings", "Reset All Settings") { Action = () => { Menu.RestoreDefault(); Menu["advanced"]["movementMaximumDistance"].GetValue <MenuSlider>().Value = new Random().Next( 500, 1201); Menu["advanced"]["movementDelay"].GetValue <MenuSlider>().Value = new Random().Next(30, 101); } }); Menu.Add(advanced); Menu.Add(new MenuSeparator("separatorKeys", "Key Bindings")); Menu.Add(new MenuBool("enableOption", "Enable Orbwalker", true)); Menu.Add(new MenuKeyBind("lasthitKey", "Farm", Keys.X, KeyBindType.Press)); Menu.Add(new MenuKeyBind("laneclearKey", "Lane Clear", Keys.V, KeyBindType.Press)); Menu.Add(new MenuKeyBind("hybridKey", "Hybrid", Keys.C, KeyBindType.Press)); Menu.Add(new MenuKeyBind("orbwalkKey", "Orbwalk", Keys.Space, KeyBindType.Press)); Menu.MenuValueChanged += (sender, args) => { var keyBind = sender as MenuKeyBind; if (keyBind != null) { var modeName = keyBind.Name.Substring(0, keyBind.Name.IndexOf("Key", StringComparison.Ordinal)); OrbwalkerMode mode; ActiveMode = Enum.TryParse(modeName, true, out mode) ? keyBind.Active ? mode : mode == ActiveMode ? Menu["lasthitKey"].GetValue <MenuKeyBind>().Active ? OrbwalkerMode.LastHit : Menu["laneclearKey"].GetValue <MenuKeyBind>().Active ? OrbwalkerMode.LaneClear : Menu["hybridKey"].GetValue <MenuKeyBind>().Active ? OrbwalkerMode.Hybrid : Menu["orbwalkKey"].GetValue <MenuKeyBind>() .Active ? OrbwalkerMode.Orbwalk : OrbwalkerMode.None : ActiveMode : ActiveMode; } var boolean = sender as MenuBool; if (boolean != null) { if (boolean.Name.Equals("enableOption")) { enabled = boolean.Value; } } }; menu.Add(Menu); Movement = Attack = true; enabled = Menu["enableOption"].GetValue <MenuBool>().Value; Game.OnUpdate += OnUpdate; Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast; Drawing.OnDraw += OnDraw; GameObject.OnCreate += OnCreate; }
public static MenuList List(Menu subMenu, string name, string display, string[] array) { return(subMenu.Add(new MenuList <string>(name, display, array))); }
internal static void CreateMenu(this Menu mainMenu) { var evadeMenu = new Menu("Evade", "Evade Skillshot"); { evadeMenu.Separator("Credit", "Credit: Evade#"); var evadeSpells = new Menu("Spells", "Spells"); { foreach (var spell in EvadeSpellDatabase.Spells) { var subMenu = new Menu(spell.Name, string.Format("{0} ({1})", spell.Name, spell.Slot)); { if (ObjectManager.Player.ChampionName == "Yasuo") { if (spell.Name == "YasuoDashWrapper") { subMenu.Bool("ETower", "Under Tower", false); } else if (spell.Name == "YasuoWMovingWall") { subMenu.Slider("WDelay", "Extra Delay", 100, 0, 150); } } subMenu.Slider("DangerLevel", "If Danger Level >=", spell.DangerLevel, 1, 5); if (spell.CastType == CastTypes.Target && spell.ValidTargets.Contains(SpellTargets.AllyWards)) { subMenu.Bool("WardJump", "Ward Jump"); } subMenu.Bool("Enabled", "Enabled"); evadeSpells.Add(subMenu); } } evadeMenu.Add(evadeSpells); } foreach (var hero in GameObjects.EnemyHeroes.Where( i => SpellDatabase.Spells.Any( a => string.Equals(a.ChampionName, i.ChampionName, StringComparison.InvariantCultureIgnoreCase))) ) { evadeMenu.Add(new Menu(hero.ChampionName.ToLowerInvariant(), "-> " + hero.ChampionName)); } foreach (var spell in SpellDatabase.Spells.Where( i => GameObjects.EnemyHeroes.Any( a => string.Equals(a.ChampionName, i.ChampionName, StringComparison.InvariantCultureIgnoreCase))) ) { var subMenu = new Menu(spell.SpellName, string.Format("{0} ({1})", spell.SpellName, spell.Slot)); { subMenu.Slider("DangerLevel", "Danger Level", spell.DangerValue, 1, 5); subMenu.Bool("IsDangerous", "Is Dangerous", spell.IsDangerous); subMenu.Bool("DisableFoW", "Disable FoW Dodging", false); subMenu.Bool("Enabled", "Enabled", !spell.DisabledByDefault); ((Menu)evadeMenu[spell.ChampionName.ToLowerInvariant()]).Add(subMenu); } } evadeMenu.Bool("DrawStatus", "Draw Evade Status"); evadeMenu.KeyBind("Enabled", "Enabled", Keys.K, KeyBindType.Toggle); evadeMenu.KeyBind("OnlyDangerous", "Dodge Only Dangerous", Keys.Space); } mainMenu.Add(evadeMenu); }
public static void SetUp() { VHR.VHRMenu = new Menu("VayneHunter Reborn", "VHR", true); #region Modes Menu var comboMenu = new Menu("dz191.vhr.orbwalk", "[VHR] Combo"); //Done { comboMenu.Add(new MenuBool("UseQ", "Use Q", true)); comboMenu.Add(new MenuBool("UseE", "Use E", true)); comboMenu.Add(new MenuBool("UseR", "Use R", true)); comboMenu.Add(new MenuSlider("rMinEnemies", "Min R Enemies", 2, 1, 5)); comboMenu.Add(new MenuSeparator("sepCombo", "Mana Manager")); comboMenu.Add(new MenuSlider("QMana", "Q Mana")); comboMenu.Add(new MenuSlider("EMana", "E Mana")); comboMenu.Add(new MenuSlider("RMana", "R Mana")); } VHR.VHRMenu.Add(comboMenu); var harassMenu = new Menu("dz191.vhr.hybrid", "[VHR] Harass"); //Done { harassMenu.Add(new MenuBool("UseQ", "Use Q", true)); harassMenu.Add(new MenuBool("UseE", "Use E", true)); harassMenu.Add(new MenuBool("eThird", "E for 3rd proc")); harassMenu.Add(new MenuSeparator("sepHarass", "Mana Manager")); harassMenu.Add(new MenuSlider("QMana", "Q Mana", 25)); harassMenu.Add(new MenuSlider("EMana", "E Mana", 20)); } VHR.VHRMenu.Add(harassMenu); var farmMenu = new Menu("dz191.vhr.laneclear", "[VHR] Farm"); //Done, sort of. { farmMenu.Add(new MenuBool("UseQ", "Use Q", true)); farmMenu.Add(new MenuSeparator("sepFarm", "Mana Manager")); farmMenu.Add(new MenuSlider("QMana", "Q Mana", 40)); } VHR.VHRMenu.Add(farmMenu); #endregion #region Misc Menu var miscMenu = new Menu("dz191.vhr.misc", "[VHR] Misc"); var miscQMenu = new Menu("dz191.vhr.misc.tumble", "Tumble"); { miscQMenu.Add(new MenuSeparator("sepQ1", "Q Mode Settings")); miscQMenu.Add(new MenuList<string>("qlogic", "Q Logic", new[] { "Normal", "Kite Melees when Possible" })); //Done miscQMenu.Add(new MenuSeparator("sepQ2", "Q Safety Checks")); //Done miscQMenu.Add(new MenuBool("noqenemies", "Don't Q into enemies", true)); //Done miscQMenu.Add(new MenuBool("dynamicqsafety", "Dynamic Q Safety Distance")); //Done miscQMenu.Add(new MenuBool("limitQ", "Limit Q")); //Done miscQMenu.Add(new MenuBool("qspam", "Ignore Q checks")); //Done miscQMenu.Add(new MenuSeparator("sepQ3", "Q Integration")); miscQMenu.Add(new MenuBool("smartq", "Try to QE First")); //Done miscQMenu.Add(new MenuBool("noaastealth", "Don't AA while stealthed")); //TODO Disabled? miscQMenu.Add(new MenuSeparator("sepQ4", "Q Miscellaneous")); miscQMenu.Add(new MenuBool("qinrange", "Q To KS if Enemy Killable", true)); //Done miscQMenu.Add(new MenuBool("qburst", "Q Wall Burst (Mirin Mode!)", true)); //Done miscQMenu.Add(new MenuKeyBind("walltumble", "Tumble Over Wall (WallTumble)", Keys.Y, KeyBindType.Press)); } var miscEMenu = new Menu("dz191.vhr.misc.condemn", "Condemn"); //All Done { miscEMenu.Add(new MenuSeparator("sepE1", "E Mode Settings")); miscEMenu.Add(new MenuList<string>("condemnmethod", "Condemn Method", new[] { "VHR SDK", "Marksman/Gosu"})); miscEMenu.Add(new MenuSeparator("sepE2", "E Prediction Settings (Only VHR Method)")); miscEMenu.Add(new MenuSlider("predictionNumber", "Number of Predictions (Higher = Laggier)", 10, 1, 15)); miscEMenu.Add(new MenuSlider("accuracy", "Condemn Accuracy", 50)); miscEMenu.Add(new MenuSlider("nextprediction", "Last Prediction Time (Don't touch unless you know what you're doing)", 500, 0, 1000)); ////miscEMenu.Add(new MenuList<string>("enemymode", "Enemy Bounding Box", new[] { "Circle", "Point"})); miscEMenu.Add(new MenuSeparator("sepE3", "E Skill Settings (Both)")); miscEMenu.Add(new MenuSlider("pushdistance", "E Push Distance", 460, 350, 470)); //Done miscEMenu.Add(new MenuBool("onlystuncurrent", "Only stun current target")); //Done miscEMenu.Add(new MenuSlider("noeaa", "Don't E if Target can be killed in X AA (0 = Always E)", 1, 0, 4)); //Done miscEMenu.Add(new MenuBool("condemnflag", "Condemn to J4 flag", true)); //Done miscEMenu.Add(new MenuBool("noeturret", "No E Under enemy turret", true)); //Done miscEMenu.Add(new MenuSeparator("sepE4", "E Miscellaneous (Both)")); miscEMenu.Add(new MenuKeyBind("enextauto", "E Next Auto", Keys.T, KeyBindType.Toggle)); //Done miscEMenu.Add(new MenuBool("autoe", "Auto E")); //Done miscEMenu.Add(new MenuBool("eks", "Smart E Ks")); //Done miscEMenu.Add(new MenuBool("trinketbush", "Trinket Bush on Condemn", true)); //Done miscEMenu.Add(new MenuBool("lowlifepeel", "Peel with E when low")); //Done } var miscGeneralSubMenu = new Menu("dz191.vhr.misc.general", "General"); { miscGeneralSubMenu.Add(new MenuSeparator("sepGeneral1", "AntiGP & Interrupter")); miscGeneralSubMenu.Add(new MenuBool("antigp", "Anti Gapcloser", true)); //Done miscGeneralSubMenu.Add(new MenuBool("interrupt", "Interrupter", true)); //Done miscGeneralSubMenu.Add(new MenuSlider("antigpdelay", "Anti Gapcloser Delay (ms)", 0, 0, 1000)); //Done miscGeneralSubMenu.Add(new MenuSeparator("sepGeneral2", "Various")); miscGeneralSubMenu.Add(new MenuBool("specialfocus", "Focus targets with 2 W marks")); //Done miscGeneralSubMenu.Add(new MenuBool("reveal", "Stealth Reveal (Pink Ward)")); //Done miscGeneralSubMenu.Add(new MenuBool("disablemovement", "Disable Orbwalker Movement")); //Done miscGeneralSubMenu.Add(new MenuBool("disableaa", "Disable Orbwalker AA")); //Done miscGeneralSubMenu.Add(new MenuSeparator("sepGeneral3", "Performance")); miscGeneralSubMenu.Add(new MenuBool("lightweight", "Lightweight mode")); //Semi-Done ////TODO When Lightweight is enabled then double all the intervals in the TickLimiters. } miscMenu.Add(miscQMenu); miscMenu.Add(miscEMenu); miscMenu.Add(miscGeneralSubMenu); VHR.VHRMenu.Add(miscMenu); VHR.VHRMenu.Add( new MenuSeparator( "sepVersion", "VH Revolution by Asuna v." + Assembly.GetExecutingAssembly().GetName().Version)); #endregion VHR.VHRMenu.Attach(); }
/// <summary> /// The initialize method of the <c>orbwalker</c>. /// </summary> /// <param name="menu"> /// The LeagueSharp menu /// </param> internal static void Initialize(Menu menu) { var drawing = new Menu("drawings", "显示设置"); drawing.Add(new MenuBool("drawAARange", "显示平A范围", true)); drawing.Add(new MenuBool("drawKillableMinion", "补刀提示")); drawing.Add(new MenuBool("drawKillableMinionFade", "补刀提示动画")); Menu.Add(drawing); var advanced = new Menu("advanced", "高级设置"); advanced.Add(new MenuSeparator("separatorMovement", "移动")); advanced.Add( new MenuSlider( "movementDelay", "移动延时", new Random(Variables.TickCount).Next(30, 101), 0, 2500)); advanced.Add(new MenuBool("movementScramble", "随机移动位置", true)); advanced.Add(new MenuSlider("movementExtraHold", "待命范围", 25, 0, 250)); advanced.Add( new MenuSlider( "movementMaximumDistance", "最大移动距离", new Random().Next(500, 1201), 350, 1200)); advanced.Add(new MenuSeparator("separatorMisc", "其它设置")); advanced.Add(new MenuSlider("miscExtraWindup", "额外延时", 80, 0, 200)); advanced.Add(new MenuSlider("miscFarmDelay", "补刀延时", 0, 0, 200)); advanced.Add(new MenuBool("miscPriorizeFarm", "优先补刀,其次消耗", true)); advanced.Add(new MenuBool("miscMissile", "碰撞检测", true)); advanced.Add(new MenuSeparator("separatorOther", "其它")); advanced.Add( new MenuButton("resetAll", "设置", "重置所有设置") { Action = () => { Menu.RestoreDefault(); Menu["advanced"]["movementMaximumDistance"].GetValue <MenuSlider>().Value = new Random().Next( 500, 1201); Menu["advanced"]["movementDelay"].GetValue <MenuSlider>().Value = new Random().Next(30, 101); } }); Menu.Add(advanced); Menu.Add(new MenuSeparator("separatorKeys", "键位设置")); Menu.Add(new MenuBool("enableOption", "启用走砍", true)); Menu.Add(new MenuKeyBind("lasthitKey", "补刀", Keys.X, KeyBindType.Press)); Menu.Add(new MenuKeyBind("laneclearKey", "清线", Keys.V, KeyBindType.Press)); Menu.Add(new MenuKeyBind("hybridKey", "消耗", Keys.C, KeyBindType.Press)); Menu.Add(new MenuKeyBind("orbwalkKey", "走砍", Keys.Space, KeyBindType.Press)); Menu.MenuValueChanged += (sender, args) => { var keyBind = sender as MenuKeyBind; if (keyBind != null) { var modeName = keyBind.Name.Substring(0, keyBind.Name.IndexOf("Key", StringComparison.Ordinal)); OrbwalkerMode mode; ActiveMode = Enum.TryParse(modeName, true, out mode) ? keyBind.Active ? mode : mode == ActiveMode ? Menu["lasthitKey"].GetValue <MenuKeyBind>().Active ? OrbwalkerMode.LastHit : Menu["laneclearKey"].GetValue <MenuKeyBind>().Active ? OrbwalkerMode.LaneClear : Menu["hybridKey"].GetValue <MenuKeyBind>().Active ? OrbwalkerMode.Hybrid : Menu["orbwalkKey"].GetValue <MenuKeyBind>() .Active ? OrbwalkerMode.Orbwalk : OrbwalkerMode.None : ActiveMode : ActiveMode; } var boolean = sender as MenuBool; if (boolean != null) { if (boolean.Name.Equals("enableOption")) { enabled = boolean.Value; } } }; menu.Add(Menu); Movement = Attack = true; enabled = Menu["enableOption"].GetValue <MenuBool>().Value; Game.OnUpdate += OnUpdate; Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast; Drawing.OnDraw += OnDraw; GameObject.OnCreate += OnCreate; }
/// <summary> /// Initializes a new instance of the <see cref="Orbwalker" /> class. /// </summary> /// <param name="menu">The menu.</param> internal Orbwalker(Menu menu) { var drawing = new Menu("drawings", "Drawings"); drawing.Add(new MenuBool("drawAARange", "Auto-Attack Range", true)); drawing.Add(new MenuBool("drawAARangeEnemy", "Auto-Attack Range Enemy")); drawing.Add(new MenuBool("drawExtraHoldPosition", "Extra Hold Position")); drawing.Add(new MenuBool("drawKillableMinion", "Killable Minions")); drawing.Add(new MenuBool("drawKillableMinionFade", "Killable Minions Fade Effect")); this.Menu.Add(drawing); var advanced = new Menu("advanced", "Advanced"); advanced.Add(new MenuSeparator("separatorMovement", "Movement")); advanced.Add(new MenuBool("movementRandomize", "Randomize Location", true)); advanced.Add(new MenuSlider("movementExtraHold", "Extra Hold Position", 0, 0, 250)); advanced.Add(new MenuSlider("movementMaximumDistance", "Maximum Distance", 1500, 500, 1500)); advanced.Add(new MenuSeparator("separatorDelay", "Delay")); advanced.Add(new MenuSlider("delayMovement", "Movement", 0, 0, 500)); advanced.Add(new MenuSlider("delayWindup", "Windup", 80, 0, 200)); advanced.Add(new MenuSlider("delayFarm", "Farm", 30, 0, 200)); advanced.Add(new MenuSeparator("separatorPrioritization", "Prioritization")); advanced.Add(new MenuBool("prioritizeFarm", "Farm Over Harass", true)); advanced.Add(new MenuBool("prioritizeMinions", "Minions Over Objectives")); advanced.Add(new MenuBool("prioritizeSmallJungle", "Small Jungle")); advanced.Add(new MenuBool("prioritizeWards", "Wards")); advanced.Add(new MenuBool("prioritizeSpecialMinions", "Special Minions")); advanced.Add(new MenuSeparator("separatorAttack", "Attack")); advanced.Add(new MenuBool("attackWards", "Wards")); advanced.Add(new MenuBool("attackBarrels", "Barrels")); advanced.Add(new MenuBool("attackClones", "Clones")); advanced.Add(new MenuBool("attackSpecialMinions", "Special Minions", true)); advanced.Add(new MenuSeparator("separatorMisc", "Miscellaneous")); advanced.Add(new MenuBool("miscMissile", "Use Missile Checks", true)); advanced.Add(new MenuBool("miscAttackSpeed", "Don't Kite if Attack Speed > 2.5", true)); this.Menu.Add(advanced); this.Menu.Add(new MenuSeparator("separatorKeys", "Key Bindings")); this.Menu.Add(new MenuKeyBind("lasthitKey", "Last Hit", Keys.X, KeyBindType.Press)); this.Menu.Add(new MenuKeyBind("laneclearKey", "Lane Clear", Keys.V, KeyBindType.Press)); this.Menu.Add(new MenuKeyBind("hybridKey", "Hybrid", Keys.C, KeyBindType.Press)); this.Menu.Add(new MenuKeyBind("comboKey", "Combo", Keys.Space, KeyBindType.Press)); this.Menu.Add(new MenuBool("enabledOption", "Enabled", true)); this.Menu.MenuValueChanged += (sender, args) => { var keyBind = sender as MenuKeyBind; if (keyBind != null) { var modeName = keyBind.Name.Substring(0, keyBind.Name.IndexOf("Key", StringComparison.Ordinal)); OrbwalkingMode mode; this.ActiveMode = Enum.TryParse(modeName, true, out mode) ? keyBind.Active ? mode : mode == this.ActiveMode ? this.Menu["lasthitKey"].GetValue <MenuKeyBind>().Active ? OrbwalkingMode.LastHit : this.Menu["laneclearKey"].GetValue <MenuKeyBind>() .Active ? OrbwalkingMode.LaneClear : this.Menu["hybridKey"].GetValue <MenuKeyBind>() .Active ? OrbwalkingMode.Hybrid : this.Menu["comboKey"] .GetValue <MenuKeyBind>().Active ? OrbwalkingMode.Combo : OrbwalkingMode.None : this.ActiveMode : this.ActiveMode; } var boolean = sender as MenuBool; if (boolean != null) { if (boolean.Name.Equals("enabledOption")) { this.Enabled = boolean.Value; } } }; menu.Add(this.Menu); this.Selector = new Selector(this); this.Enabled = this.Menu["enabledOption"].GetValue <MenuBool>().Value; }
private void CreateMenu() { _cfg = new Menu("Aatrox", "Aatrox", true); var combo = new Menu("Combo", "Combo"); { combo.Add(new MenuBool("QCombo", "Use Q", true)); combo.Add(new MenuBool("WCombo", "Use W", true)); combo.Add(new MenuBool("ECombo", "Use E", true)); combo.Add(new MenuBool("RCombo", "Use R", true)); combo.Add(new MenuSlider("minW", "Min HP % W", 50, 0, 100)); combo.Add(new MenuSlider("maxW", "Max HP % W", 80, 0, 100)); combo.Add(new MenuBool("DontQ", "Don't Q at enemy tower", true)); combo.Add(new MenuBool("Dive", "Dive Tower when target HP is lower then %", true)); combo.Add(new MenuSlider("DiveMHP", "My HP % to Towerdive", 60, 0, 100)); combo.Add(new MenuSlider("DiveTHP", "Target HP % to Towerdive", 10, 0, 100)); combo.Add(new MenuBool("UseItems", "Use Items", true)); _cfg.Add(combo); } var harass = new Menu("Harass", "Harass"); { harass.Add(new MenuBool("HarQ", "Use Q in Harass", false)); harass.Add(new MenuBool("HarE", "Use E in Harass", true)); _cfg.Add(harass); } var laneclear = new Menu("LaneClear", "LaneClear"); { laneclear.Add(new MenuBool("UseQLane", "Use Q", false)); laneclear.Add(new MenuBool("UseWLane", "Use W", true)); laneclear.Add(new MenuBool("UseELane", "Use E", true)); _cfg.Add(laneclear); } var jungleclear = new Menu("JungleClear", "JungleClear"); { jungleclear.Add(new MenuBool("UseQJungle", "Use Q", true)); jungleclear.Add(new MenuBool("UseWJungle", "Use W", true)); jungleclear.Add(new MenuBool("UseEJungle", "Use E", true)); _cfg.Add(jungleclear); } var killsteal = new Menu("KillSteal", "KillSteal"); { killsteal.Add(new MenuBool("SmartKS", "Smart KillSteal", true)); killsteal.Add(new MenuBool("RKS", "Use R in KS", false)); _cfg.Add(killsteal); } var drawings = new Menu("Drawings", "Drawings"); { drawings.Add(new MenuBool("DrawQ", "Draw Q", true)); drawings.Add(new MenuBool("DrawE", "Draw E", true)); _cfg.Add(drawings); } var misc = new Menu("Misc", "Misc"); { misc.Add(new MenuBool("TowerQ", "Auto Q Under Turret", false)); misc.Add(new MenuBool("IntQ", "Auto Interrupt with Q", false)); misc.Add(new MenuBool("IntMed", "Interrupt Medium Danger Spells", false)); misc.Add(new MenuBool("SmartW", "Smart W Logic", true)); _cfg.Add(misc); } var flee = new Menu("Flee", "Flee"); { flee.Add(new MenuKeyBind("ActiveFlee", "Flee!", Keys.G, KeyBindType.Press)); _cfg.Add(flee); } _cfg.Attach(); }
/// <summary> /// Sets up the Menu /// </summary> private static void SetUpMenu() { Menu = new Menu("VayneHunter Reborn", "VHR", true); var comboMenu = new Menu("[VHR] Combo", "dz191.vhr.combo"); comboMenu.AddModeMenu(Mode.Combo, new[] { SpellSlot.Q, SpellSlot.E, SpellSlot.R }, new[] { true, true, false }); comboMenu.AddManaManager(Mode.Combo, new[] { SpellSlot.Q, SpellSlot.E, SpellSlot.R }, new[] { 0, 0, 0 }); comboMenu.Add(new MenuSlider("dz191.vhr.combo.r.minenemies", "Min R Enemies", 2, 1, 5)); Menu.Add(comboMenu); var harassMenu = new Menu("[VHR] Harass", "dz191.vhr.harass"); harassMenu.AddModeMenu(Mode.Harrass, new[] { SpellSlot.Q, SpellSlot.E }, new[] { true, true }); harassMenu.AddManaManager(Mode.Harrass, new[] { SpellSlot.Q, SpellSlot.E }, new[] { 25, 20 }); Menu.Add(harassMenu); var farmMenu = new Menu("[VHR] Farm", "dz191.vhr.farm"); farmMenu.AddModeMenu(Mode.Farm, new[] { SpellSlot.Q }, new[] { true, true }); farmMenu.AddManaManager(Mode.Farm, new[] { SpellSlot.Q }, new[] { 40 }); Menu.Add(farmMenu); var miscMenu = new Menu("[VHR] Misc", "dz191.vhr.misc"); var miscQMenu = new Menu("Misc - Tumble", "dz191.vhr.misc.tumble"); { miscQMenu.Add(new MenuList<string>("qlogic", "Q Logic", new[] { "Normal", "Away from enemies" })); miscQMenu.Add(new MenuBool("smartq", "Try to QE First")); miscQMenu.Add(new MenuBool("noaastealth", "Don't AA while stealthed")); miscQMenu.Add(new MenuBool("noqenemies", "Don't Q into enemies", true)); miscQMenu.Add(new MenuBool("dynamicqsafety", "Dynamic Q Safety Distance")); miscQMenu.Add(new MenuBool("qspam", "Ignore Q checks")); miscQMenu.Add(new MenuBool("qinrange", "Q In Range if Enemy Health < Q+AA Dmg", true)); miscQMenu.Add(new MenuKeyBind("walltumble", "Tumble Over Wall (WallTumble)", System.Windows.Forms.Keys.Y, KeyBindType.Press)); miscQMenu.Add(new MenuBool("mirin", "Enable this if you're Mirin")); } var miscEMenu = new Menu("Misc - Condemn", "dz191.vhr.misc.condemn"); { miscEMenu.Add(new MenuList<string>("condemnmethod", "Condemn Method", new[] { "VH Reborn", "Marksman/Gosu", "VH Rework" })); miscEMenu.Add(new MenuSlider("pushdistance", "E Push Distance", 375, 350, 500)); miscEMenu.Add(new MenuKeyBind("enextauto", "E Next Auto", Keys.T, KeyBindType.Toggle)); miscEMenu.Add(new MenuBool("onlystuncurrent", "Only stun current target")); miscEMenu.Add(new MenuBool("autoe", "Auto E")); miscEMenu.Add(new MenuBool("eks", "Smart E Ks")); miscEMenu.Add(new MenuSlider("noeaa", "Don't E if Target can be killed in X AA", 1, 0, 4)); miscEMenu.Add(new MenuBool("trinketbush", "Trinket Bush on Condemn", true)); miscEMenu.Add(new MenuBool("ethird", "E 3rd proc in Harass")); miscEMenu.Add(new MenuBool("lowlifepeel", "Peel with E when low")); miscEMenu.Add(new MenuBool("condemnturret", "Try to Condemn to turret")); miscEMenu.Add(new MenuBool("condemnflag", "Condemn to J4 flag", true)); miscEMenu.Add(new MenuBool("noeturret", "No E Under enemy turret", true)); } var miscGeneralSubMenu = new Menu("Misc - General", "dz191.vhr.misc.general"); { miscGeneralSubMenu.Add(new MenuBool("antigp", "Anti Gapcloser", true)); miscGeneralSubMenu.Add(new MenuBool("interrupt", "Interrupter", true)); miscGeneralSubMenu.Add(new MenuSlider("antigpdelay", "Anti Gapcloser Delay (ms)", 0, 0, 1000)); miscGeneralSubMenu.Add(new MenuBool("specialfocus", "Focus targets with 2 W marks")); miscGeneralSubMenu.Add(new MenuBool("reveal", "Stealth Reveal (Pink Ward)")); miscGeneralSubMenu.Add(new MenuBool("disablemovement", "Disable Orbwalker Movement")); /** miscGeneralSubMenu.AddItem(new MenuItem("dz191.vhr.misc.general.permashow", "PermaShow").SetShared().SetValue(true)).ValueChanged += (s, args) => { if (args.GetNewValue<bool>()) { Menu.Item("dz191.vhr.misc.condemn.enextauto").Permashow(true, "E Next Auto"); } else { Menu.Item("dz191.vhr.misc.condemn.enextauto").Permashow(false); } }; * */ } miscMenu.Add(miscQMenu); miscMenu.Add(miscEMenu); miscMenu.Add(miscGeneralSubMenu); Menu.Add(miscMenu); //AntiGP.BuildMenu(Menu); /** var drawMenu = new Menu("[VHR] Drawing", "dz191.vhr.drawing"); drawMenu.AddDrawMenu(_spells, Color.Red); drawMenu.AddItem(new MenuItem("dz191.vhr.drawing.drawstun", "Draw Stunnable").SetValue(true)); drawMenu.AddItem(new MenuItem("dz191.vhr.drawing.drawspots", "Draw Spots").SetValue(true)); Menu.AddSubMenu(drawMenu); Menu.AddItem(new MenuItem("dz191.vhr.info", "VHR by Asuna v." + Assembly.GetExecutingAssembly().GetName().Version)); Menu.Item("dz191.vhr.misc.condemn.enextauto").Permashow(Menu.Item("dz191.vhr.misc.condemn.enextauto").GetValue<KeyBind>().Active, "E Next Auto"); */ Menu.Attach(); }
internal static void CreateMenu() { var evadeMenu = new Menu("Evade", "Evade Skillshot"); { Config.Separator(evadeMenu, "Credit", "Credit: Evade#"); var evadeSpells = new Menu("Spells", "Spells"); { foreach (var spell in EvadeSpellDatabase.Spells) { var sub = new Menu(spell.Name, string.Format("{0} ({1})", spell.Name, spell.Slot)); { if (ObjectManager.Player.ChampionName == "Yasuo") { if (spell.Name == "YasuoDashWrapper") { Config.Bool(sub, "ETower", "Under Tower", false); } else if (spell.Name == "YasuoWMovingWall") { Config.Slider(sub, "WDelay", "Extra Delay", 100, 0, 150); } } Config.Slider(sub, "DangerLevel", "If Danger Level >=", spell.DangerLevel, 1, 5); if (spell.CastType == CastTypes.Target && spell.ValidTargets.Contains(SpellTargets.AllyWards)) { Config.Bool(sub, "WardJump", "Ward Jump"); } Config.Bool(sub, "Enabled", "Enabled"); evadeSpells.Add(sub); } } evadeMenu.Add(evadeSpells); } foreach (var hero in GameObjects.EnemyHeroes.Where( i => SpellDatabase.Spells.Any( a => string.Equals(a.ChampionName, i.ChampionName, StringComparison.InvariantCultureIgnoreCase))) ) { evadeMenu.Add(new Menu(hero.ChampionName.ToLowerInvariant(), "-> " + hero.ChampionName)); } foreach (var spell in SpellDatabase.Spells.Where( i => GameObjects.EnemyHeroes.Any( a => string.Equals(a.ChampionName, i.ChampionName, StringComparison.InvariantCultureIgnoreCase))) ) { var sub = new Menu(spell.SpellName, string.Format("{0} ({1})", spell.SpellName, spell.Slot)); { Config.Slider(sub, "DangerLevel", "Danger Level", spell.DangerValue, 1, 5); Config.Bool(sub, "IsDangerous", "Is Dangerous", spell.IsDangerous); Config.Bool(sub, "DisableFoW", "Disable FoW Dodging", false); Config.Bool(sub, "Enabled", "Enabled", !spell.DisabledByDefault); ((Menu)evadeMenu[spell.ChampionName.ToLowerInvariant()]).Add(sub); } } Config.Bool(evadeMenu, "DrawStatus", "Draw Evade Status"); Config.KeyBind(evadeMenu, "Enabled", "Enabled", Keys.K, KeyBindType.Toggle); Config.KeyBind(evadeMenu, "OnlyDangerous", "Dodge Only Dangerous", Keys.Space); } Program.MainMenu.Add(evadeMenu); }
internal static void Generate(Menu RootMenu) { var keysMenu = new Menu("dz191.thresh.keys", "Keys"); { keysMenu.Add(new MenuKeyBind("ePull", "E Pull", Keys.T, KeyBindType.Press)); keysMenu.Add(new MenuKeyBind("ePush", "E Push", Keys.G, KeyBindType.Press)); RootMenu.Add(keysMenu); } var comboMenu = new Menu("dz191.thresh.orbwalk", "Combo Options"); { ////Skills comboMenu.Add(new MenuSeparator("separatorSkills", "Combo - Skills")); comboMenu.Add(new MenuBool("useQ", "Use Q", true)); comboMenu.Add(new MenuBool("useW", "Use W", true)); comboMenu.Add(new MenuBool("useE", "Use E", true)); comboMenu.Add(new MenuBool("useR", "Use R", true)); ////Mana Manager comboMenu.Add(new MenuSeparator("separatorMana", "Combo - Mana Manager")); comboMenu.Add(new MenuSlider("QMana", "Q Mana", 15)); comboMenu.Add(new MenuSlider("WMana", "W Mana", 30)); comboMenu.Add(new MenuSlider("EMana", "E Mana", 10)); comboMenu.Add(new MenuSlider("RMana", "R Mana", 15)); ////Skills Options comboMenu.Add(new MenuSeparator("separatorOptions", "Combo - Skill Options")); comboMenu.Add(new MenuSlider("rMinEnemies", "Min Enemies for R", 2, 1, 5)); comboMenu.Add(new MenuBool("pullInUlt", "Pull Enemies into R (Box) with E")); RootMenu.Add(comboMenu); } var harassMenu = new Menu("dz191.thresh.harass", "Harass Options"); { ////Skills harassMenu.Add(new MenuSeparator("separatorHSkills", "Harass - Skills")); harassMenu.Add(new MenuBool("useQ", "Use Q", true)); harassMenu.Add(new MenuBool("useE", "Use E", true)); ////Mana Manager harassMenu.Add(new MenuSeparator("separatorHMana", "Harass - Mana Manager")); harassMenu.Add(new MenuSlider("QMana", "Q Mana", 15)); harassMenu.Add(new MenuSlider("EMana", "E Mana", 10)); RootMenu.Add(harassMenu); } var lanternMenu = new Menu("dz191.thresh.lantern", "Lantern Options"); { var lanternAllies = new Menu("dz191.thresh.lantern.allies", "Use Lantern On"); { if (GameObjects.AllyHeroes.Any()) { foreach (var ally in GameObjects.AllyHeroes) { lanternAllies.Add(new MenuBool(ally.ChampionName.ToLowerInvariant(), ally.ChampionName, true)); } lanternMenu.Add(lanternAllies); } } ////Usage lanternMenu.Add(new MenuSeparator("separatorLanternKeys", "Lantern Usage")); lanternMenu.Add(new MenuBool("saveAllies", "Auto Save Allies with Lantern", true)); lanternMenu.Add(new MenuKeyBind("throwLantern", "Throw Lantern", Keys.S, KeyBindType.Press)); lanternMenu.Add(new MenuList<string>("prioritizeAlly", "Throw Lantern Priority", new[] { "Health", "Closest" })); ////Health and Options lanternMenu.Add(new MenuSeparator("separatorLanternOptions", "Lantern Options")); lanternMenu.Add(new MenuSlider("allyHealth", "Auto Use Lantern if Ally Health < %", 20)); lanternMenu.Add(new MenuSlider("enemiesNumber", "And Enemies Around >=", 2, 1, 5)); ////CC lanternMenu.Add(new MenuSeparator("separatorLanternCC", "Lantern on CC")); lanternMenu.Add(new MenuBool("lanternCC", "Lantern CC'd allies", true)); lanternMenu.Add(new MenuSlider("minCC", "Minimum Number of CC on Ally", 2, 1, 5)); RootMenu.Add(lanternMenu); } var miscMenu = new Menu("dz191.thresh.misc", "Misc Options"); { ////Antigapcloser and Interrupter miscMenu.Add(new MenuSeparator("separatorMiscAGP", "Antigapcloser & Interrupter")); miscMenu.Add(new MenuBool("antigapcloser", "AntiGapcloser", true)); miscMenu.Add(new MenuBool("interrupter", "Interrupter", true)); miscMenu.Add(new MenuList<string>("interruptskills", "Interrupt Skills", new[] { "Only E", "Only Q", "Q and E" })); miscMenu.Add(new MenuBool("xspecial", "The XSpecial", true)); miscMenu.Add(new MenuList<string>("defaultEMode", "E Mode", new[] { "Push", "Pull" })); ////Items & Spells miscMenu.Add(new MenuSeparator("separatorMiscItems", "Items & Spells")); miscMenu.Add(new MenuBool("exhaust", "Use Exhaust", true)); miscMenu.Add(new MenuBool("ignite", "Use Ignite", true)); RootMenu.Add(miscMenu); } var drawingMenu = new Menu("dz191.thresh.drawing", "Drawing Options"); { drawingMenu.Add(new MenuBool("drawQ", "Draw Q Range")); drawingMenu.Add(new MenuBool("drawE", "Draw E Range")); drawingMenu.Add(new MenuBool("drawQTarget", "Draw Q Target")); RootMenu.Add(drawingMenu); } RootMenu.Attach(); }
public static MenuBool Bool(Menu subMenu, string name, string display, bool state = true) { return subMenu.Add(new MenuBool(name, display, state)); }
private static void Game_OnGameStart(EventArgs args) { if (Player.ChampionName != "Thresh") return; _logger = new StreamWriter(AppDomain.CurrentDomain.BaseDirectory + @"\log.txt") { AutoFlush = true }; _q = new Spell(SpellSlot.Q, 1100); _q.SetSkillshot(true, SkillshotType.SkillshotLine); _config = new Menu("Prediction", "Prediction", true); _orbwalker = new Orbwalker(); Menu settings = new Menu("Settings", "Settings"); settings.Add(new MenuKeyBind("Write", "Write Last Cast information to log", System.Windows.Forms.Keys.L, KeyBindType.Press)); settings.Add(new MenuSeparator("Info", "Log files are located in %appdata%")); _config.Add(settings); _config.Attach(); Game.OnUpdate += Game_OnUpdate; Drawing.OnDraw += Drawing_OnDraw; }
public static MenuSeparator Separator(Menu subMenu, string name, string display) { return subMenu.Add(new MenuSeparator(name, display)); }
public static void OnLoad(object sender, EventArgs e) { if (Player.ChampionName != ChampName) { return; } Q = new Spell(SpellSlot.Q, 865); Qn = new Spell(SpellSlot.Q, 865); W = new Spell(SpellSlot.W, 585); E = new Spell(SpellSlot.E, 585); R = new Spell(SpellSlot.R); Q.SetSkillshot(0.26f, 50f, 1700f, true, SkillshotType.SkillshotLine); Qn.SetSkillshot(0.26f, 50f, 1700f, false, SkillshotType.SkillshotLine); abilitySequence = new int[] { 1, 2, 3, 1, 1, 4, 1, 2, 1, 2, 4, 3, 2, 2, 3, 4, 3, 3 }; Config = new Menu("Slutty Ryze", "Slutty Ryze", true); LeagueSharp.SDK.Core.Bootstrap.Init(null); //This will be a loader functionality later on var comboMenu = new Menu("combo", "Combo Settings"); var combodefaultMenu = new Menu("combos", "Spells"); { combodefaultMenu.Add(new MenuBool("useQ", "Use Q", true)); combodefaultMenu.Add(new MenuBool("useW", "Use W", true)); combodefaultMenu.Add(new MenuBool("useE", "Use E", true)); combodefaultMenu.Add(new MenuBool("useR", "Use R")); combodefaultMenu.Add(new MenuBool("useRww", "Use R Only when Rooted", true)); comboMenu.Add(combodefaultMenu); } var combooptionsMenu = new Menu("combooptions", "Combo Options"); { combooptionsMenu.Add(new MenuBool("AAblock", "Auto Attack Block", true)); combooptionsMenu.Add(new MenuList <string>("comboooptions", "Combo Mode", new[] { "Stable", "Beta Combo" })); comboMenu.Add(combooptionsMenu); } Config.Add(comboMenu); var hybridMenu = new Menu("hybrid", "Hybrid"); { hybridMenu.Add(new MenuBool("nospell", "Don't Proc Passive", true)); hybridMenu.Add(new MenuBool("useQm", "Use Q", true)); hybridMenu.Add(new MenuBool("useQml", "Use Q Last Hit", true)); hybridMenu.Add(new MenuBool("useWm", "Use W", true)); hybridMenu.Add(new MenuBool("useEm", "Use E", true)); hybridMenu.Add(new MenuBool("UseQauto", "Auto Q")); hybridMenu.Add(new MenuSlider("mMin", "Minimum Mana For Spells", 40)); Config.Add(hybridMenu); } var clearMenu = new Menu("laneclear", "Clear"); var laneMenu = new Menu("laneeclear", "Lane Clear (V)"); { laneMenu.Add(new MenuSlider("minmana", "Minimum Mana For Spells", 40)); laneMenu.Add(new MenuBool("useq2L", "Use Q", true)); laneMenu.Add(new MenuBool("usew2L", "Use W", true)); laneMenu.Add(new MenuBool("usee2L", "Use E", true)); laneMenu.Add(new MenuBool("user2L", "Use R", true)); laneMenu.Add(new MenuBool("useQlc", "Use Q Last hit", true)); laneMenu.Add(new MenuBool("useWlc", "Use W Last hit", true)); laneMenu.Add(new MenuBool("useElc", "Use E Last Hit", true)); // laneMenu.Add(new MenuSlider("useRl", "Use R When X Minions", 1,3,20)); laneMenu.Add(new MenuBool("spellblock", "Don't Use Spells when to pop passive")); clearMenu.Add(laneMenu); } var lasthitMenu = new Menu("lasthit", "Last Hit (X)"); { lasthitMenu.Add(new MenuBool("useQ2l", "Use Q Last hit", true)); lasthitMenu.Add(new MenuBool("useW2l", "Use W Last hit", true)); lasthitMenu.Add(new MenuBool("useE2l", "Use E Last Hit", true)); clearMenu.Add(lasthitMenu); } Config.Add(clearMenu); /* * var potionMenu = new Menu("autoP", "Auto Potions"); * { * potionMenu.Add(new MenuBool("autoPO", "Auto Health Potion", true)); * potionMenu.Add(new MenuBool("HP", "Auto Health Potion", true)); * potionMenu.Add(new MenuSlider("HPSlider", "Minimum %Health for Potion", 30)); * * potionMenu.Add(new MenuBool("Mana", "Auto Mana Potion", true)); * potionMenu.Add(new MenuSlider("MANASlider", "Minimum %Mana for Potion", 30)); * * potionMenu.Add(new MenuBool("Biscuit", "Auto Biscuit", true)); * potionMenu.Add(new MenuSlider("bSlider", "Minimum %Health for Biscuit", 30)); * * potionMenu.Add(new MenuBool("flask", "Auto Flask", true)); * potionMenu.Add(new MenuSlider("fSlider", "Minimum %Health for flask", 30)); * } * Config.Add(potionMenu); */ var miscMenu = new Menu("misc", "Miscellaneous"); { miscMenu.Add(new MenuBool("useW2I", "Interrupt With W", true)); miscMenu.Add(new MenuBool("useQW2D", "Use W/Q On Dashing", true)); miscMenu.Add(new MenuBool("level", "Auto Skill Level Up", true)); miscMenu.Add(new MenuBool("autow", "Auto W enemy under turre", true)); Config.Add(miscMenu); } /* * var passiveMenu = new Menu("passive", "Passive Stack"); * { * passiveMenu.Add(new MenuBool("autoPassive", "Passive Stack")) * } */ var drawMenu = new Menu("draw", "Drawings"); { drawMenu.Add(new MenuBool("qDraw", "Draw Q", true)); drawMenu.Add(new MenuBool("wDraw", "Draw W", true)); drawMenu.Add(new MenuBool("eDraw", "Draw E", true)); Config.Add(drawMenu); } Config.Attach(); Drawing.OnDraw += OnDraw; Game.OnUpdate += OnUpdate; InterruptableSpell.OnInterruptableTarget += Interruptable; // Dash.OnDash += Unit_Ondash; }
public void BuildMikaelsMenu(Menu Menu) { var MikaelsMenu = new Menu("use.mikaelsmenu", "Mikaels Options", true); { foreach (var ally in ObjectManager.Get<Obj_AI_Hero>() .Where(h => h.IsAlly) .Select(hero => hero.ChampionName) .ToList()){ MikaelsMenu.Add(new MenuBool(string.Format("use.mikaels.{0}", ally.ToLowerInvariant()), ally, true)); } } MikaelsMenu.Add(new MenuBool("enable.mikaels", "Enable Mikaels Usage", true)); this.Menu.Attach(); }
public static void OnLoad(object sender, EventArgs e) { if (Player.ChampionName != ChampName) return; Q = new Spell(SpellSlot.Q, 865); Qn = new Spell(SpellSlot.Q, 865); W = new Spell(SpellSlot.W, 585); E = new Spell(SpellSlot.E, 585); R = new Spell(SpellSlot.R); Q.SetSkillshot(0.26f, 50f, 1700f, true, SkillshotType.SkillshotLine); Qn.SetSkillshot(0.26f, 50f, 1700f, false, SkillshotType.SkillshotLine); abilitySequence = new int[] {1, 2, 3, 1, 1, 4, 1, 2, 1, 2, 4, 3, 2, 2, 3, 4, 3, 3}; Config = new Menu("Slutty Ryze", "Slutty Ryze", true); LeagueSharp.SDK.Core.Bootstrap.Init(null); //This will be a loader functionality later on var comboMenu = new Menu("combo", "Combo Settings"); var combodefaultMenu = new Menu("combos", "Spells"); { combodefaultMenu.Add(new MenuBool("useQ", "Use Q", true)); combodefaultMenu.Add(new MenuBool("useW", "Use W", true)); combodefaultMenu.Add(new MenuBool("useE", "Use E", true)); combodefaultMenu.Add(new MenuBool("useR", "Use R")); combodefaultMenu.Add(new MenuBool("useRww", "Use R Only when Rooted", true)); comboMenu.Add(combodefaultMenu); } var combooptionsMenu = new Menu("combooptions", "Combo Options"); { combooptionsMenu.Add(new MenuBool("AAblock", "Auto Attack Block", true)); combooptionsMenu.Add(new MenuList<string>("comboooptions", "Combo Mode", new[] { "Stable", "Beta Combo" })); comboMenu.Add(combooptionsMenu); } Config.Add(comboMenu); var hybridMenu = new Menu("hybrid", "Hybrid"); { hybridMenu.Add(new MenuBool("nospell", "Don't Proc Passive", true)); hybridMenu.Add(new MenuBool("useQm", "Use Q", true)); hybridMenu.Add(new MenuBool("useQml", "Use Q Last Hit", true)); hybridMenu.Add(new MenuBool("useWm", "Use W", true)); hybridMenu.Add(new MenuBool("useEm", "Use E", true)); hybridMenu.Add(new MenuBool("UseQauto", "Auto Q")); hybridMenu.Add(new MenuSlider("mMin", "Minimum Mana For Spells", 40)); Config.Add(hybridMenu); } var clearMenu = new Menu("laneclear", "Clear"); var laneMenu = new Menu("laneeclear", "Lane Clear (V)"); { laneMenu.Add(new MenuSlider("minmana", "Minimum Mana For Spells", 40)); laneMenu.Add(new MenuBool("useq2L", "Use Q", true)); laneMenu.Add(new MenuBool("usew2L", "Use W", true)); laneMenu.Add(new MenuBool("usee2L", "Use E", true)); laneMenu.Add(new MenuBool("user2L", "Use R", true)); laneMenu.Add(new MenuBool("useQlc", "Use Q Last hit", true)); laneMenu.Add(new MenuBool("useWlc", "Use W Last hit", true)); laneMenu.Add(new MenuBool("useElc", "Use E Last Hit", true)); // laneMenu.Add(new MenuSlider("useRl", "Use R When X Minions", 1,3,20)); laneMenu.Add(new MenuBool("spellblock", "Don't Use Spells when to pop passive")); clearMenu.Add(laneMenu); } var lasthitMenu = new Menu("lasthit", "Last Hit (X)"); { lasthitMenu.Add(new MenuBool("useQ2l", "Use Q Last hit", true)); lasthitMenu.Add(new MenuBool("useW2l", "Use W Last hit", true)); lasthitMenu.Add(new MenuBool("useE2l", "Use E Last Hit", true)); clearMenu.Add(lasthitMenu); } Config.Add(clearMenu); /* var potionMenu = new Menu("autoP", "Auto Potions"); { potionMenu.Add(new MenuBool("autoPO", "Auto Health Potion", true)); potionMenu.Add(new MenuBool("HP", "Auto Health Potion", true)); potionMenu.Add(new MenuSlider("HPSlider", "Minimum %Health for Potion", 30)); potionMenu.Add(new MenuBool("Mana", "Auto Mana Potion", true)); potionMenu.Add(new MenuSlider("MANASlider", "Minimum %Mana for Potion", 30)); potionMenu.Add(new MenuBool("Biscuit", "Auto Biscuit", true)); potionMenu.Add(new MenuSlider("bSlider", "Minimum %Health for Biscuit", 30)); potionMenu.Add(new MenuBool("flask", "Auto Flask", true)); potionMenu.Add(new MenuSlider("fSlider", "Minimum %Health for flask", 30)); } Config.Add(potionMenu); */ var miscMenu = new Menu("misc", "Miscellaneous"); { miscMenu.Add(new MenuBool("useW2I", "Interrupt With W", true)); miscMenu.Add(new MenuBool("useQW2D", "Use W/Q On Dashing", true)); miscMenu.Add(new MenuBool("level", "Auto Skill Level Up", true)); miscMenu.Add(new MenuBool("autow", "Auto W enemy under turre", true)); Config.Add(miscMenu); } /* var passiveMenu = new Menu("passive", "Passive Stack"); { passiveMenu.Add(new MenuBool("autoPassive", "Passive Stack")) } */ var drawMenu = new Menu("draw", "Drawings"); { drawMenu.Add(new MenuBool("qDraw", "Draw Q", true)); drawMenu.Add(new MenuBool("wDraw", "Draw W", true)); drawMenu.Add(new MenuBool("eDraw", "Draw E", true)); Config.Add(drawMenu); } Config.Attach(); Drawing.OnDraw += OnDraw; Game.OnUpdate += OnUpdate; InterruptableSpell.OnInterruptableTarget += Interruptable; // Dash.OnDash += Unit_Ondash; }
/// <inheritdoc /> public void AddToMenu(Menu tsMenu) { this.menu = tsMenu; this.weightsMenu = new Menu("weights", "Weights"); var heroPercentMenu = new Menu("heroPercentage", "Hero Percentage"); foreach (var enemy in GameObjects.EnemyHeroes) { heroPercentMenu.Add( new MenuSlider( enemy.ChampionName, enemy.ChampionName, DefaultPercentage, MinPercentage, MaxPercentage)); } this.weightsMenu.Add(heroPercentMenu); this.weightsMenu.Add( new MenuButton("export", "Export to Clipboard", "Export") { Action = this.ExportSettings }); this.weightsMenu.Add( new MenuButton("import", "Import from Clipboard", "Import") { Action = this.ImportSettings }); this.weightsMenu.Add(new MenuButton("reset", "Reset to Default", "Reset") { Action = this.ResetSettings }); foreach (var weight in this.pItems) { this.weightsMenu.Add( new MenuSlider( weight.Name, weight.DisplayName, Math.Min(MaxWeight, Math.Max(MinWeight, weight.Weight)), MinWeight, MaxWeight)); } this.weightsMenu.MenuValueChanged += (sender, args) => { var slider = sender as MenuSlider; if (slider != null) { foreach (var weight in this.pItems.Where(weight => slider.Name.Equals(weight.Name))) { weight.Weight = slider.Value; } } }; this.menu.Add(this.weightsMenu); foreach (var weight in this.pItems) { weight.Weight = this.weightsMenu[weight.Name].GetValue <MenuSlider>().Value; } foreach (var enemy in GameObjects.EnemyHeroes) { this.weightsMenu["heroPercentage"][enemy.ChampionName].GetValue <MenuSlider>().Value = DefaultPercentage; } }
private static void CreateMenu() { menu = new Menu("Blitzcranck", "Bliztcranck", true); Bootstrap.Init(new string[] { }); //blabla var comboMenu = new Menu("Combo", "Combo Menu"); { comboMenu.Add(new MenuList<string>("combohit", "Q hitchance ", new[] { "Medium", "Hight", "Very Hight" })); comboMenu.Add(new MenuBool("comboQ", "Use Q", true)); comboMenu.Add(new MenuBool("comboE", "Use E", true)); comboMenu.Add(new MenuBool("comboR", "Auto R", true)); // comboMenu.Add(new MenuBool("Min Enemys R", "Min Enemys R", true)); menu.Add(comboMenu); } var drawingMenu = new Menu("Draws", "Draw Menu"); { drawingMenu.Add(new MenuBool("drawQ", "Draw Q", true)); drawingMenu.Add(new MenuBool("drawR", "Draw R", true)); drawingMenu.Add(new MenuBool("drawGrabs", "Draw Grabs", true)); // comboMenu.Add(new MenuBool("Min Enemys R", "Min Enemys R", true)); menu.Add(drawingMenu); } menu.Attach(); }
/// <summary> /// The initialize method of the <c>orbwalker</c>. /// </summary> /// <param name="menu"> /// The LeagueSharp menu /// </param> internal static void Initialize(Menu menu) { var drawing = new Menu("drawings", "Drawings"); drawing.Add(new MenuBool("drawAARange", "Draw Auto-Attack Range", true)); drawing.Add(new MenuBool("drawKillableMinion", "Draw Killable Minion")); drawing.Add(new MenuBool("drawKillableMinionFade", "Enable Killable Minion Fade Effect")); Menu.Add(drawing); var advanced = new Menu("advanced", "Advanced"); advanced.Add(new MenuSeparator("separatorMovement", "Movement")); advanced.Add( new MenuSlider( "movementDelay", "Delay between Movement", new Random(Variables.TickCount).Next(30, 101), 0, 2500)); advanced.Add(new MenuBool("movementScramble", "Randomize movement location", true)); advanced.Add(new MenuSlider("movementExtraHold", "Extra Hold Position", 25, 0, 250)); advanced.Add( new MenuSlider( "movementMaximumDistance", "Maximum Movement Distance", new Random().Next(500, 1201), 350, 1200)); advanced.Add(new MenuSeparator("separatorMisc", "Miscellaneous")); advanced.Add(new MenuSlider("miscExtraWindup", "Extra Windup", 80, 0, 200)); advanced.Add(new MenuSlider("miscFarmDelay", "Farm Delay", 0, 0, 200)); advanced.Add(new MenuBool("miscPriorizeFarm", "Priorize farm over harass", true)); advanced.Add(new MenuSeparator("separatorOther", "Other")); advanced.Add( new MenuButton("resetAll", "Settings", "Reset All Settings") { Action = () => { Menu.RestoreDefault(); Menu["advanced"]["movementMaximumDistance"].GetValue<MenuSlider>().Value = new Random().Next( 500, 1201); Menu["advanced"]["movementDelay"].GetValue<MenuSlider>().Value = new Random().Next(30, 101); } }); Menu.Add(advanced); Menu.Add(new MenuSeparator("separatorKeys", "Key Bindings")); Menu.Add(new MenuKeyBind("lasthitKey", "Farm", Keys.X, KeyBindType.Press)); Menu.Add(new MenuKeyBind("laneclearKey", "Lane Clear", Keys.V, KeyBindType.Press)); Menu.Add(new MenuKeyBind("hybridKey", "Hybrid", Keys.C, KeyBindType.Press)); Menu.Add(new MenuKeyBind("orbwalkKey", "Orbwalk", Keys.Space, KeyBindType.Press)); Menu.MenuValueChanged += (sender, args) => { var keyBind = sender as MenuKeyBind; if (keyBind != null) { var modeName = keyBind.Name.Substring(0, keyBind.Name.IndexOf("Key", StringComparison.Ordinal)); OrbwalkerMode mode; ActiveMode = Enum.TryParse(modeName, true, out mode) ? keyBind.Active ? mode : mode == ActiveMode ? OrbwalkerMode.None : ActiveMode : ActiveMode; } }; menu.Add(Menu); Movement = Attack = true; Game.OnUpdate += OnUpdate; Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast; Drawing.OnDraw += OnDraw; }
public static void OnLoad(object sender, EventArgs e) { Q = new Spell(SpellSlot.Q, 1175); W = new Spell(SpellSlot.W, 1075); E = new Spell(SpellSlot.E, 1100); R = new Spell(SpellSlot.R, 3250); Q.SetSkillshot(0.25f, 110f, 1300f, false, SkillshotType.SkillshotLine); W.SetSkillshot(0.25f, 110f, 1200f, false, SkillshotType.SkillshotLine); E.SetSkillshot(0.25f, 280f, 1300f, false, SkillshotType.SkillshotCircle); R.SetSkillshot(1.35f, 190f, 5000000, false, SkillshotType.SkillshotLine); Config = new Menu("Mighty Lux", "Mighty Lux", true); Config.Add(new MenuSeparator("Mighty Lux", "Mighty Lux")); Bootstrap.Init(new string[] {}); var spell = Config.Add(new Menu("spell", "Combo Settings")); var combo = Config.Add(new Menu("combo", "Spell Settings")); spell.Add(new MenuSeparator("Combo Menu", "Combo Menu")); spell.Add(new MenuBool("UseQ", "Use Q", true)); spell.Add(new MenuBool("UseE", "Use E", true)); spell.Add(new MenuBool("UseR", "Use R", true)); combo.Add(new MenuSeparator("Advanced Q Settings", "Advanced Q Settings")); combo.Add(new MenuBool("AutoQcc", "Auto [Q] on CC'd enemies", true)); combo.Add(new MenuSeparator("Advanced W Settings", "Advanced W Settings")); combo.Add(new MenuBool("AutoWturret", "Auto [W] on Turret Shots", true)); combo.Add(new MenuSeparator("Advanced R Settings", "Advanced R Settings")); combo.Add(new MenuKeyBind("forceR", "Semi-Manual [R] cast", Keys.R, KeyBindType.Press)); combo.Add(new MenuBool("UseRF", "Use [R] to Finish off enemies", true)); combo.Add((new MenuBool("useraoe", "Use [R] if it will hit X amount of Enemies", true))); combo.Add((new MenuSlider("raoeslider", "Enemy Count", 4, 0, 5))); combo.Add(new MenuSeparator("Killsteal Settings", "Killsteal Settings")); combo.Add((new MenuBool("UseQKS", "Use [Q] for Killstealing", true))); combo.Add((new MenuBool("UseRKS", "Use [R] for Killstealing", true))); combo.Add(new MenuBool("UseEKS", "Use [E] for Killstealing", true)); //Prediction combo.Add(new MenuSeparator("science", "Prediction Settings")); combo.Add(new MenuList<string>("hitchanceQ", "[Q] Hitchance", objects: new[] { "High", "Medium", "Low", "VeryHigh" })); combo.Add(new MenuList<string>("hitchanceE", "[E] Hitchance", objects: new[] { "High", "Medium", "Low", "VeryHigh" })); combo.Add(new MenuList<string>("hitchanceR", "[R] Hitchance", objects: new[] { "High", "Medium", "Low", "VeryHigh" })); var harass = Config.Add(new Menu("harass", "Harass Settings")); harass.Add(new MenuSeparator("Harass Menu", "Harass Menu")); harass.Add(new MenuBool("harrQ", "Use Q", true)); harass.Add(new MenuBool("harrE", "Use E", true)); harass.Add(new MenuSlider("harassmana", "Mana Percentage", 65, 0, 100)); var laneclear = Config.Add(new Menu("laneclear", "Laneclear Settings")); laneclear.Add(new MenuSeparator("Laneclear Menu", "Laneclear Menu")); laneclear.Add(new MenuBool("laneQ", "Use Q", true)); laneclear.Add(new MenuBool("laneE", "Use E", true)); laneclear.Add(new MenuSeparator("[E] Settings", "[E] Settings")); laneclear.Add(new MenuSlider("laneclearEcount", "Minion Count", 2, 0, 10)); laneclear.Add(new MenuSeparator("[Q] Settings", "[Q] Settings")); laneclear.Add(new MenuSlider("laneclearQcount", "Minion Count", 2, 0, 10)); laneclear.Add(new MenuSeparator("Misc Settings", "Misc Settings")); laneclear.Add(new MenuSlider("lanemana", "Mana Percentage", 65, 0, 100)); laneclear.Add(new MenuSlider("lanelevel", "Don't use Abilities till level", 8, 0, 18)); var jungle = Config.Add(new Menu("jungle", "Junglesteal Settings")); jungle.Add(new MenuSeparator("Jungle Settings", "Junglesteal Settings")); jungle.Add(new MenuKeyBind("toggle", "Junglesteal with [R] (TOGGLE)", Keys.K, KeyBindType.Toggle)); jungle.Add(new MenuBool("blue", "Blue buff", true)); jungle.Add(new MenuBool("red", "Red buff", true)); jungle.Add(new MenuBool("dragon", "Dragon", true)); jungle.Add(new MenuBool("baron", "Baron", true)); jungle.Add(new MenuList<string>("jungleteam", "[BROKEN/NOT WORKING]", new[] {"Enemy", "Ally"})); var misc = Config.Add(new Menu("misc", "Sound Settings")); misc.Add(new MenuSeparator("sound", "Sound Settings")); misc.Add(new MenuBool("rsound", "Enable [R] Cast Sound Effect", true)); var drawing = Config.Add(new Menu("draw", "Draw Settings")); var utility = Config.Add(new Menu("util", "Utility Drawings")); drawing.Add(new MenuSeparator("Draw Menu", "Draw Menu")); drawing.Add(new MenuBool("disable", "Disable all drawings", false)); drawing.Add(new MenuList<string>("drawmode", "Drawing Mode:", new[] {"Normal", "Custom"})); drawing.Add(new MenuBool("disableq", "[Q] draw", true)); drawing.Add(new MenuBool("disablew", "[W] draw", true)); drawing.Add(new MenuBool("disablee", "[E] draw", true)); drawing.Add(new MenuBool("disabler", "[R] draw", true)); drawing.Add(new MenuSeparator("Color Settings", "Color Settings")); //I'll call your parents if you copy this. KappaHD //Do you need an Onii-chan or a Senpai? Feel free to contact me on Skype: djkleeven drawing.Add(new MenuColor("drawq", "[Q] Range Draw Color", new ColorBGRA(32, 20, 10, 255))); drawing.Add(new MenuColor("draww", "[W] Range Draw Color", new ColorBGRA(32, 20, 10, 255))); drawing.Add(new MenuColor("drawe", "[E] Range Draw Color", new ColorBGRA(32, 20, 10, 255))); drawing.Add(new MenuColor("drawr", "[R] Range Draw Color", new ColorBGRA(32, 20, 10, 255))); utility.Add(new MenuSeparator("Utility Drawings", "Utility Drawings")); utility.Add(new MenuList<string>("dmgdrawer", "Damage Indicator", new[] { "Custom", "SDK" })); utility.Add(new MenuColor("dmgcolor", "Damage Indicator Color", new ColorBGRA(32, 155, 120, 255))); utility.Add(new MenuBool("drawRdmg", "Draw [R] Damage Indicator", true)); // utility.Add(new MenuColor("rdmgcolor", "Damage Indicator Color", new ColorBGRA(32, 155, 120, 255))); // utility.Add(new MenuBool("HUD", "Heads-Up Display", true)); utility.Add(new MenuBool("indicator", "Enemy Indicator", true)); utility.Add(new MenuBool("orbmode", "Draw Active Orbwalk Mode", true)); Config.Add(new MenuButton("resetAll", "Settings", "Reset All Settings") { Action = () => { Config.RestoreDefault(); } }); Config.Attach(); //Drawings.DrawEvent(); Dash.OnDash += AntiGapcloser; Game.OnUpdate += OnUpdate; GameObject.OnDelete += GameObject_OnDelete; GameObject.OnCreate += GameObject_OnCreate; Obj_AI_Turret.OnAggro += Turretaggro; Obj_AI_Base.OnProcessSpellCast += TurretOnProcessSpellCast; Drawing.OnDraw += MiscDrawings; Drawings.DrawEvent(); }