public static void Load() { try { if (ObjectManager.Player.ChampionName != "Brand") { return; } _mainMenu = MainMenu.AddMenu("The Brand", "Brand"); var comboMenu = _mainMenu.AddSubMenu("Combo"); var harassMenu = _mainMenu.AddSubMenu("Harass"); laneclearMenu = _mainMenu.AddSubMenu("Lane Clear"); miscMenu = _mainMenu.AddSubMenu("Misc"); drawingMenu = _mainMenu.AddSubMenu("Draw"); _comboProvider = new BrandCombo(1050, new BrandQ(SpellSlot.Q), new BrandW(SpellSlot.W), new BrandE(SpellSlot.E), new BrandR(SpellSlot.R)); _comboProvider.CreateBasicMenu(comboMenu, harassMenu, null); _comboProvider.CreateLaneclearMenu(laneclearMenu, true, SpellSlot.Q, SpellSlot.R); #region Advanced Shit rOptions = _mainMenu.AddSubMenu("Ult Options"); rOptions.Add("BridgeR", new CheckBox("Bridge R", false)); rOptions.Add("RiskyR", new CheckBox("Risky R")); rOptions.Add("Ultnonkillable", new CheckBox("Ult non killable")); rOptions.Add("whenminXtargets", new Slider("^ When min X targets", 3, 1, 5)); rOptions.Add("DontRwith", new CheckBox("Don't R with")); rOptions.Add("healthDifference", new Slider("% Health difference", 60, 1)); rOptions.Add("Ignorewhenfleeing", new CheckBox("Ignore when fleeing")); laneclearMenu.Add("MinWtargets", new Slider("Min W targets", 3, 1, 10)); miscMenu.Add("eMinion", new CheckBox("E on fire-minion")); miscMenu.Add("aoeW", new CheckBox("Try AOE with W")); miscMenu.Add("eFarmAssist", new CheckBox("E farm assist")); miscMenu.Add("eKS", new CheckBox("E Killsteal")); miscMenu.Add("KSCombo", new CheckBox("Only KS in Combo", false)); miscMenu.Add("manaH", new Slider("Mana Manager Harass", 50, 1)); miscMenu.Add("manaLC", new Slider("Mana Manager Lane Clear", 80, 1)); drawingMenu.Add("WPred", new CheckBox("Draw W Prediction")); drawingMenu.Add("QRange", new CheckBox("Q Range")); drawingMenu.Add("WRange", new CheckBox("W Range")); drawingMenu.Add("ERange", new CheckBox("E Range")); drawingMenu.Add("RRange", new CheckBox("R Range")); #endregion _comboProvider.Initialize(); Game.OnUpdate += Tick; Drawing.OnDraw += Draw; } catch (Exception ex) { Console.WriteLine(Resources.Program_Load_Error_initialitzing_TheBrand__ + ex); } }
public static void Load() { try { if (ObjectManager.Player.ChampionName != "Brand") { return; } _mainMenu = MainMenu.AddMenu("火男", "Brand"); var comboMenu = _mainMenu.AddSubMenu("连招"); var harassMenu = _mainMenu.AddSubMenu("骚扰"); laneclearMenu = _mainMenu.AddSubMenu("清线"); miscMenu = _mainMenu.AddSubMenu("杂项"); drawingMenu = _mainMenu.AddSubMenu("线圈"); _comboProvider = new BrandCombo(1050, new BrandQ(SpellSlot.Q), new BrandW(SpellSlot.W), new BrandE(SpellSlot.E), new BrandR(SpellSlot.R)); _comboProvider.CreateBasicMenu(comboMenu, harassMenu, null); _comboProvider.CreateLaneclearMenu(laneclearMenu, true, SpellSlot.Q, SpellSlot.R); #region Advanced Shit rOptions = _mainMenu.AddSubMenu("大招设置"); rOptions.Add("BridgeR", new CheckBox("桥接 R", false)); rOptions.Add("RiskyR", new CheckBox("风险 R")); rOptions.Add("Ultnonkillable", new CheckBox("R可击杀目标")); rOptions.Add("whenminXtargets", new Slider("^ 最少 X 目标数", 3, 1, 5)); rOptions.Add("DontRwith", new CheckBox("不使用R当")); rOptions.Add("healthDifference", new Slider("生命百分比差为 X", 60, 1)); rOptions.Add("Ignorewhenfleeing", new CheckBox("逃跑时无视")); laneclearMenu.Add("MinWtargets", new Slider("最低 W 命中数", 3, 1, 10)); miscMenu.Add("eMinion", new CheckBox("对有火的小兵使用 E")); miscMenu.Add("aoeW", new CheckBox("尝试大范围 W")); miscMenu.Add("eFarmAssist", new CheckBox("E 尾兵助手")); miscMenu.Add("eKS", new CheckBox("E 抢头")); miscMenu.Add("KSCombo", new CheckBox("只在连招中抢头", false)); miscMenu.Add("manaH", new Slider("骚扰蓝量", 50, 1)); miscMenu.Add("manaLC", new Slider("清线蓝量", 80, 1)); drawingMenu.Add("WPred", new CheckBox("显示 W 预判")); drawingMenu.Add("QRange", new CheckBox("Q 范围")); drawingMenu.Add("WRange", new CheckBox("W 范围")); drawingMenu.Add("ERange", new CheckBox("E 范围")); drawingMenu.Add("RRange", new CheckBox("R 范围")); #endregion _comboProvider.Initialize(); Game.OnUpdate += Tick; Drawing.OnDraw += Draw; } catch (Exception ex) { Console.WriteLine(Resources.Program_Load_Error_initialitzing_TheBrand__ + ex); } }