public static void Miscmenu() { MiscMenu = YMenu.AddSubMenu("Misc", "Misc"); MiscMenu.AddGroupLabel("Misc"); MiscMenu.Add("StackQ", new CheckBox("Stack Q")); MiscMenu.Add("InterruptQ", new CheckBox("Use Q3 to Interrupt")); MiscMenu.Add("noEturret", new CheckBox("Dont Jump Turret")); MiscMenu.AddSeparator(); MiscMenu.AddLabel("1: Q 2: E"); MiscMenu.Add("autolvl", new CheckBox("Activate Auto level")); MiscMenu.Add("autolvls", new Slider("Level Mode", 1, 1, 2)); switch (MiscMenu["autolvls"].Cast <Slider>().CurrentValue) { case 1: Variables.abilitySequence = new[] { 1, 3, 2, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 }; break; case 2: Variables.abilitySequence = new[] { 3, 1, 2, 3, 3, 4, 3, 1, 3, 1, 4, 1, 1, 2, 2, 4, 2, 2 }; break; } var skin = MiscMenu.Add("sID", new Slider("Skin", 0, 0, 2)); var sID = new[] { "Classic", "High-Noon Yasuo", "Project Yasuo" }; skin.DisplayName = sID[skin.CurrentValue]; skin.OnValueChange += delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs) { sender.DisplayName = sID[changeArgs.NewValue]; }; }
public static void Miscmenu() { MiscMenu = YMenu.AddSubMenu("杂项", "Misc"); MiscMenu.Add("InterruptQ", new CheckBox("使用Q第3下打断技能")); MiscMenu.Add("noEturret", new CheckBox("在敌人塔下不E")); MiscMenu.AddSeparator(); MiscMenu.AddLabel("1: 主Q 2:主 E"); MiscMenu.Add("autolvl", new CheckBox("自动升级")); MiscMenu.Add("autolvls", new Slider("顺序", 1, 1, 2)); switch (MiscMenu["autolvls"].Cast <Slider>().CurrentValue) { case 1: Variables.abilitySequence = new[] { 1, 3, 2, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 }; break; case 2: Variables.abilitySequence = new[] { 3, 1, 2, 3, 3, 4, 3, 1, 3, 1, 4, 1, 1, 2, 2, 4, 2, 2 }; break; } var skin = MiscMenu.Add("sID", new Slider("皮肤切换", 0, 0, 2)); var sID = new[] { "Classic", "High-Noon Yasuo", "Project Yasuo" }; skin.DisplayName = sID[skin.CurrentValue]; skin.OnValueChange += delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs) { sender.DisplayName = sID[changeArgs.NewValue]; }; }
static Misc() { // Initialize the menu values MiscMenu.AddGroupLabel("Miscellenous"); _fleeE = MiscMenu.Add("fleeE", new CheckBox("Use E when you press the orbwalker key to flee ?")); _stunR = MiscMenu.Add("stunUlt", new CheckBox("Use R when target has some kind of CC (Ex: Stun)?")); _gapE = MiscMenu.Add("gapE", new CheckBox("Use E to safety when an enemy use a gapcloser spell on you ?")); MiscMenu.AddLabel("Auto Tear Stack Settings"); _tearAutoStack = MiscMenu.Add("tearstackbox", new CheckBox("Use spells to auto stack tear ?")); _minManaToAutoStack = MiscMenu.Add("manaAutoStack", new Slider("It will only autostack if mana is greater than ({0}).", 90, 1)); MiscMenu.AddGroupLabel("R Settings"); _minKsR = MiscMenu.Add("ksminR", new Slider("It will only cast R if the enemie is not in ({0}).", 600, 300, 2000)); _maxKsR = MiscMenu.Add("ksmaxR", new Slider("It will only cast R if the enemie is in ({0}).", 1500, 300, 30000)); MiscMenu.AddLabel("KS Settings"); _ksR = MiscMenu.Add("ksR", new CheckBox("Use R to KillSteal ?")); _minHealthKsR = MiscMenu.Add("kshealthR", new Slider( "Overkill R, it will cast the ultimate only if the target`s health is greater than ({0}).", 150, 0, 650)); MiscMenu.AddGroupLabel("Jungle Steal"); _jugSteal = MiscMenu.Add("jungleSteal", new CheckBox("JungleSteal using R ?")); MiscMenu.AddSeparator(1); _jugStealBlue = MiscMenu.Add("junglestealBlue", new CheckBox("JungleSteal Blue ?")); _jugStealRed = MiscMenu.Add("junglestealRed", new CheckBox("JungleSteal Red ?")); _jugStealDragon = MiscMenu.Add("junglestealDrag", new CheckBox("JungleSteal Dragon ?")); _jugStealBaron = MiscMenu.Add("junglestealBaron", new CheckBox("JungleSteal Baron ?")); }
static Misc() { // Initialize the menu values MiscMenu.AddGroupLabel("杂项"); _fleeE = MiscMenu.Add("fleeE", new CheckBox("按逃跑按键时使用E逃跑 ?")); _stunR = MiscMenu.Add("stunUlt", new CheckBox("对无法移动敌方单位使用R (比如: 晕眩)?")); _gapE = MiscMenu.Add("gapE", new CheckBox("敌方英雄突击时智能E至安全地点 ?")); MiscMenu.AddLabel("女神之泪叠加设置"); _tearAutoStack = MiscMenu.Add("tearstackbox", new CheckBox("使用技能叠加女神 ?")); _minManaToAutoStack = MiscMenu.Add("manaAutoStack", new Slider("蓝量高于({0})时才使用自动叠加女神.", 90, 1)); MiscMenu.AddGroupLabel("R 设置"); _minKsR = MiscMenu.Add("ksminR", new Slider("当敌人在({0})最小范围内才使用R.", 600, 300, 2000)); _maxKsR = MiscMenu.Add("ksmaxR", new Slider("当敌人在({0})最大范围内才使用R.", 1500, 300, 30000)); MiscMenu.AddLabel("抢头设置"); _ksR = MiscMenu.Add("ksR", new CheckBox("使用R抢头 ?")); _minHealthKsR = MiscMenu.Add("kshealthR", new Slider( "只有在目标血量高于({0})才使用R.", 150, 0, 650)); MiscMenu.AddGroupLabel("偷野设置"); _jugSteal = MiscMenu.Add("jungleSteal", new CheckBox("使用R偷野 ?")); MiscMenu.AddSeparator(1); _jugStealBlue = MiscMenu.Add("junglestealBlue", new CheckBox("使用R偷蓝 ?")); _jugStealRed = MiscMenu.Add("junglestealRed", new CheckBox("使用R偷红 ?")); _jugStealDragon = MiscMenu.Add("junglestealDrag", new CheckBox("使用R偷龙 ?")); _jugStealBaron = MiscMenu.Add("junglestealBaron", new CheckBox("使用R偷男爵 ?")); }
public static void CreateMenu() { RakanMain = MainMenu.AddMenu("Unk Rakan", "rakMenu"); RakanMain.AddLabel(Program.Version); RakanMain.AddLabel("Made by Unwake"); ComboMenu = RakanMain.AddSubMenu("Combo"); ComboMenu.AddLabel("Select your Combo Type"); ComboMenu.Add("Combo QWR", new CheckBox("Combo QWR", true)); ComboMenu.Add("Combo WQE", new CheckBox("Combo WQE", false)); ComboMenu.Add("Combo EWQE", new CheckBox("Combo EWQE", false)); ComboMenu.Add("Combo REWQE", new CheckBox("Combo REWQE", false)); ComboMenu.AddSeparator(0); ComboMenu.Add("Use Q", new CheckBox("Use Q", true)); ComboMenu.Add("Use W", new CheckBox("Use W", true)); ComboMenu.Add("Use E", new CheckBox("Use E", true)); ComboMenu.Add("Use R", new CheckBox("Use R", true)); ComboMenu.Add("Use R in Min Enemies", new Slider("Min Enemies R", 2, 1, 5)); ComboMenu.AddSeparator(0); ComboMenu.Add("Use Ignite", new CheckBox("Use Ignite", true)); HarassMenu = RakanMain.AddSubMenu("Harass"); HarassMenu.Add("Use Q", new CheckBox("Use Q", true)); HarassMenu.Add("Use Q Mana Percent", new Slider("Min Mana %", 30, 1, 100)); HarassMenu.AddSeparator(0); HarassMenu.Add("Use AutoQ", new CheckBox("Use Auto Q", true)); HarassMenu.Add("Use AutoQ Mana Percent", new Slider("Min Mana Auto Q %", 30, 1, 100)); InterrupterMenu = RakanMain.AddSubMenu("Interrupter"); InterrupterMenu.Add("Use W", new CheckBox("Use W", true)); FleeMenu = RakanMain.AddSubMenu("Flee"); FleeMenu.Add("AutoE", new CheckBox("Use E", true)); FleeMenu.Add("AutoEManaCost", new Slider("Mana E %", 30, 1, 100)); FleeMenu.AddSeparator(0); FleeMenu.Add("AutoRFlee", new CheckBox("Use R To Escape", true)); FleeMenu.Add("AutoRHpPer", new Slider("HP Percent to Use Auto R %", 25, 1, 100)); MiscMenu = RakanMain.AddSubMenu("Misc"); MiscMenu.Add("WGap", new CheckBox("Use W on GapCloser", true)); MiscMenu.AddSeparator(0); MiscMenu.Add("AutoPot", new CheckBox("Use Auto Potion", true)); MiscMenu.Add("AutoPotHPPercent", new Slider("Auto Pot HP %", 30, 1, 100)); MiscMenu.AddSeparator(0); MiscMenu.Add("skinHack", new CheckBox("Skin Change", false)); MiscMenu.Add("SkinID", new Slider("Skin", 0, 0, 1)); DrawMenu = RakanMain.AddSubMenu("Drawings"); DrawMenu.Add("qRange", new CheckBox("Draw Q", false)); DrawMenu.Add("wRange", new CheckBox("Draw W", false)); DrawMenu.Add("eRange", new CheckBox("Draw E", false)); DrawMenu.Add("rRange", new CheckBox("Draw R", false)); DrawMenu.AddSeparator(0); DrawMenu.Add("onlyRdy", new CheckBox("Draw when skill is Ready", true)); }
static void MenuKha() { KhaMenu = MainMenu.AddMenu("SP-Khazix", "SP-Khazix"); KhaMenu.AddGroupLabel("SP-Khazix"); KhaMenu.AddSeparator(); KhaMenu.AddGroupLabel("R-W-E-Q = Combo"); KhaMenu.AddGroupLabel("W-E-Q = Harass"); KhaMenu.AddGroupLabel("W-Q = Lane Clear"); KhaMenu.AddGroupLabel("Hydra,Tiamat,Youmuu's Item's Usage (Combo, Harass, LaneClear)"); KhaMenu.AddLabel("SP-Khazix v1.0.0.2"); // COMBO ComboMenu = KhaMenu.AddSubMenu("Combo", "combo"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.AddSeparator(); ComboMenu.Add("usecomboq", new CheckBox("Use Q")); ComboMenu.Add("usecombow", new CheckBox("Use W")); ComboMenu.Add("usecomboe", new CheckBox("Use E")); ComboMenu.Add("usecombor", new CheckBox("Use R")); ComboMenu.AddSeparator(); ComboMenu.Add("useitems", new CheckBox("Use Items")); // HARASS HarassMenu = KhaMenu.AddSubMenu("Harass", "harass"); HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.AddSeparator(); HarassMenu.Add("useharassq", new CheckBox("Use Q")); HarassMenu.Add("useharassw", new CheckBox("Use W")); HarassMenu.Add("useharasse", new CheckBox("Use E")); // LANE LaneCMenu = KhaMenu.AddSubMenu("Lane Clear", "laneclear"); LaneCMenu.AddGroupLabel("Lane Clear Settings"); LaneCMenu.AddSeparator(); LaneCMenu.Add("uselcq", new CheckBox("Use Q")); LaneCMenu.Add("uselcw", new CheckBox("Use W")); LaneCMenu.Add("LMANA", new Slider("Min. mana for laneclear :", 0, 0, 100)); // MİSC MiscMenu = KhaMenu.AddSubMenu("Misc", "misc"); MiscMenu.AddGroupLabel("Misc Settings"); MiscMenu.AddSeparator(); MiscMenu.Add("skin.", new Slider("Skin ID", 0, 0, 2)); var Style = MiscMenu.Add("style", new Slider("Min Prediction", 1, 0, 2)); Style.OnValueChange += delegate { Style.DisplayName = "Min Prediction: " + new[] { "Low", "Medium", "High" }[Style.CurrentValue]; }; Style.DisplayName = "Min Prediction: " + new[] { "Low", "Medium", "High" }[Style.CurrentValue]; // DRAW DrawMenu = KhaMenu.AddSubMenu("Drawing", "draw"); DrawMenu.AddGroupLabel("Drawing Settings"); DrawMenu.AddSeparator(); DrawMenu.Add("drawq", new CheckBox("Draw Q")); DrawMenu.Add("draww", new CheckBox("Draw W")); DrawMenu.Add("drawe", new CheckBox("Draw E")); }
private static void Yuklendi(EventArgs args) { if (Player.Instance.ChampionName != "Ziggs") { return; } Bootstrap.Init(null); ZiggsMenu = MainMenu.AddMenu("BloodimirZiggs", "bloodimirziggs"); ZiggsMenu.AddGroupLabel("Bloodimir.Ziggs"); ZiggsMenu.AddSeparator(); ZiggsMenu.AddLabel("Bloodimir Ziggs v1.0.0.0"); ComboMenu = ZiggsMenu.AddSubMenu("Combo", "sbtw"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.AddSeparator(); ComboMenu.Add("usecomboq", new CheckBox("Use Q")); ComboMenu.Add("usecomboe", new CheckBox("Use E")); ComboMenu.Add("usecombow", new CheckBox("Use W")); ComboMenu.Add("usecombor", new CheckBox("Use R")); ComboMenu.AddSeparator(); ComboMenu.Add("rslider", new Slider("Minimum people for R", 1, 0, 5)); LaneJungleClear = ZiggsMenu.AddSubMenu("Lane Jungle Clear", "lanejungleclear"); LaneJungleClear.AddGroupLabel("Lane Jungle Clear Settings"); LaneJungleClear.Add("LCE", new CheckBox("Use E")); LaneJungleClear.Add("LCQ", new CheckBox("Use Q")); LastHit = ZiggsMenu.AddSubMenu("Last Hit", "lasthit"); LastHit.AddGroupLabel("Last Hit Settings"); LastHit.Add("LHQ", new CheckBox("Use Q")); MiscMenu = ZiggsMenu.AddSubMenu("Misc Menu", "miscmenu"); MiscMenu.AddGroupLabel("KS"); MiscMenu.AddSeparator(); MiscMenu.Add("ksq", new CheckBox("KS using Q")); MiscMenu.Add("int", new CheckBox("TRY to Interrupt spells")); SkinMenu = ZiggsMenu.AddSubMenu("Skin Changer", "skin"); SkinMenu.AddGroupLabel("Choose the desired skin"); var skinchange = SkinMenu.Add("sID", new Slider("Skin", 4, 0, 5)); var sID = new[] { "Default", "Mad Scientist", "Major", "Pool Party", "Snow Day", "Master Arcanist" }; skinchange.DisplayName = sID[skinchange.CurrentValue]; skinchange.OnValueChange += delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs) { sender.DisplayName = sID[changeArgs.NewValue]; }; }
public static void CreateMenu() { JannaMain = MainMenu.AddMenu("Janna - Unwake's Fury", "jmenu"); JannaMain.AddLabel(Program.Version); JannaMain.AddLabel("Made by Unwake"); ComboMenu = JannaMain.AddSubMenu("Combo"); ComboMenu.Add("Use Q", new CheckBox("Use Q", true)); ComboMenu.Add("Use W", new CheckBox("Use W", true)); ComboMenu.Add("Use E", new CheckBox("Use E", true)); ComboMenu.Add("UseEADC", new CheckBox("Use E ADC in Combo Mode", false)); ComboMenu.AddSeparator(0); ComboMenu.Add("Use Ignite", new CheckBox("Use Ignite", false)); InterrupterMenu = JannaMain.AddSubMenu("Interrupter"); InterrupterMenu.Add("Use Q", new CheckBox("Use Q", true)); FleeMenu = JannaMain.AddSubMenu("Flee"); FleeMenu.Add("Use Q", new CheckBox("Use Q", true)); FleeMenu.Add("Use W", new CheckBox("Use W", true)); MiscMenu = JannaMain.AddSubMenu("Misc"); MiscMenu.Add("Auto R", new CheckBox("Enable Auto R", true)); MiscMenu.Add("AutoRHP", new Slider("Use Auto R if Ally HP %", 15, 1, 100)); MiscMenu.Add("Auto E", new CheckBox("Enable Auto E", true)); MiscMenu.Add("AutoEHP", new Slider("Use Auto E if Ally HP %", 15, 1, 100)); MiscMenu.AddSeparator(0); MiscMenu.Add("QGap", new CheckBox("Use Q on GapClosers", true)); MiscMenu.AddSeparator(0); MiscMenu.Add("AutoPot", new CheckBox("Use Auto Potion", true)); MiscMenu.Add("AutoPotHP", new Slider("Auto Pot HP %", 30, 1, 100)); MiscMenu.AddSeparator(0); MiscMenu.Add("skinHack", new CheckBox("Skin Change", false)); MiscMenu.Add("SkinID", new Slider("Skin", 0, 0, 7)); DrawMenu = JannaMain.AddSubMenu("Drawings"); DrawMenu.Add("qRange", new CheckBox("Draw Q", false)); DrawMenu.Add("wRange", new CheckBox("Draw W", false)); DrawMenu.Add("eRange", new CheckBox("Draw E", false)); DrawMenu.Add("rRange", new CheckBox("Draw R", false)); DrawMenu.AddSeparator(0); DrawMenu.Add("onlyRdy", new CheckBox("Draw when skill is Ready", true)); }
public static void Initialize() { _menu = MainMenu.AddMenu("Simplistic " + Me.ChampionName, Me.ChampionName.ToLower()); _menu.AddLabel("Simplistic Fizz"); _menu.AddLabel("by nonm"); ComboMenu = _menu.AddSubMenu("Combo", "combo"); ComboMenu.AddLabel("Combo Settings"); ComboMenu.Add("qrcombo", new KeyBind("Q - R Combo", false, KeyBind.BindTypes.HoldActive, 'A')); ComboMenu.Add("useQ", new CheckBox("Use Q")); ComboMenu.Add("useW", new CheckBox("Use W")); ComboMenu.Add("useE", new CheckBox("Use E")); ComboMenu.Add("useR", new CheckBox("Use R")); ComboMenu.Add("useEGap", new CheckBox("Use E to Gapclose and then Q if killable?")); ComboMenu.Add("useRGap", new CheckBox("Use R and then E for Gapclose if killable?")); HarassMenu = _menu.AddSubMenu("Harass", "harass"); HarassMenu.AddLabel("Harass Settings"); HarassMenu.Add("useQ", new CheckBox("Use Q")); HarassMenu.Add("useW", new CheckBox("Use W")); HarassMenu.Add("useE", new CheckBox("Use E")); HarassMenu.AddSeparator(); HarassMenu.AddLabel("E Modes: (1) Back to Position (2) On Enemy"); HarassMenu.Add("useEMode", new Slider("E Mode", 0, 0, 1)); MiscMenu = _menu.AddSubMenu("Misc", "misc"); MiscMenu.AddLabel("Misc Settings"); MiscMenu.AddLabel("Use W : (1) Before Q (2) On Enemy"); MiscMenu.Add("useWMode", new Slider("Use W", 0, 0, 1)); MiscMenu.AddSeparator(); MiscMenu.Add("useETower", new CheckBox("Use E to dodge Tower Shots")); DrawMenu = _menu.AddSubMenu("Drawings", "drawings"); DrawMenu.AddLabel("Drawing Settings"); DrawMenu.Add("disable", new CheckBox("Disable all Drawing", false)); DrawMenu.Add("drawDamage", new CheckBox("Draw Damage")); DrawMenu.Add("drawQ", new CheckBox("Draw Q Range")); DrawMenu.Add("drawW", new CheckBox("Draw W Range")); DrawMenu.Add("drawE", new CheckBox("Draw E Range")); DrawMenu.Add("drawR", new CheckBox("Draw R Range")); DrawMenu.Add("drawRPred", new CheckBox("Draw R Range")); }
public static void Initialize() { _menu = MainMenu.AddMenu("Simplistic " + Me.ChampionName, Me.ChampionName.ToLower()); _menu.AddLabel("Simplistic Fizz"); _menu.AddLabel("by nonm"); ComboMenu = _menu.AddSubMenu("Combo", "combo"); ComboMenu.AddLabel("Kombo Ayarları"); ComboMenu.Add("qrcombo", new KeyBind("Q - R Kombo Tuşu", false, KeyBind.BindTypes.HoldActive, 'A')); ComboMenu.Add("useQ", new CheckBox("Kullan Q")); ComboMenu.Add("useW", new CheckBox("Kullan W")); ComboMenu.Add("useE", new CheckBox("Kullan E")); ComboMenu.Add("useR", new CheckBox("Kullan R")); ComboMenu.Add("useEGap", new CheckBox("Gapclose için E Kullan Ve ölecekse Q kullan?")); ComboMenu.Add("useRGap", new CheckBox("R Kullan ve Eğer Ölecekse Gapclose için E Kullan?")); HarassMenu = _menu.AddSubMenu("Harass", "harass"); HarassMenu.AddLabel("Dürtme Ayarları"); HarassMenu.Add("useQ", new CheckBox("Kullan Q")); HarassMenu.Add("useW", new CheckBox("Kullan W")); HarassMenu.Add("useE", new CheckBox("Kullan E")); HarassMenu.AddSeparator(); HarassMenu.AddLabel("E Modes: (1) Geriye Doğru (2) Düşmana Doğru"); HarassMenu.Add("useEMode", new Slider("E Modu", 0, 0, 1)); MiscMenu = _menu.AddSubMenu("Misc", "misc"); MiscMenu.AddLabel("ek Ayarlar"); MiscMenu.AddLabel("Kullan W : (1) Önce Q (2) Düşmana"); MiscMenu.Add("useWMode", new Slider("Kullan W", 0, 0, 1)); MiscMenu.AddSeparator(); MiscMenu.Add("useETower", new CheckBox("Kule vuruşunu E ile dodgele")); DrawMenu = _menu.AddSubMenu("Drawings", "drawings"); DrawMenu.AddLabel("Gösterge Ayarları"); DrawMenu.Add("disable", new CheckBox("Tüm göstergeleri kapat", false)); DrawMenu.Add("drawDamage", new CheckBox("Göster Hasarı")); DrawMenu.Add("drawQ", new CheckBox("Göster Q Menzili")); DrawMenu.Add("drawW", new CheckBox("Göster W Menzili")); DrawMenu.Add("drawE", new CheckBox("Göster E Menzili")); DrawMenu.Add("drawR", new CheckBox("Göster R Menzili")); DrawMenu.Add("drawRPred", new CheckBox("Göster R Menzili")); }
public static void Initialize() { _menu = MainMenu.AddMenu("Simplistic " + Me.ChampionName, Me.ChampionName.ToLower()); _menu.AddLabel("Simplistic Fizz"); _menu.AddLabel("by nonm"); ComboMenu = _menu.AddSubMenu("连招", "combo"); ComboMenu.AddLabel("连招设置"); ComboMenu.Add("qrcombo", new KeyBind("Q - R 连招", false, KeyBind.BindTypes.HoldActive, 'A')); ComboMenu.Add("useQ", new CheckBox("使用 Q")); ComboMenu.Add("useW", new CheckBox("使用 W")); ComboMenu.Add("useE", new CheckBox("使用 E")); ComboMenu.Add("useR", new CheckBox("使用 R")); ComboMenu.Add("useEGap", new CheckBox("Use E to Gapclose and then Q if killable?")); ComboMenu.Add("useRGap", new CheckBox("Use R and then E for Gapclose if killable?")); HarassMenu = _menu.AddSubMenu("骚扰", "harass"); HarassMenu.AddLabel("骚扰设置"); HarassMenu.Add("useQ", new CheckBox("使用 Q")); HarassMenu.Add("useW", new CheckBox("使用 W")); HarassMenu.Add("useE", new CheckBox("使用 E")); HarassMenu.AddSeparator(); HarassMenu.AddLabel("E 模式: (1) 回之前位置 (2) 至敌人"); HarassMenu.Add("useEMode", new Slider("E 模式", 0, 0, 1)); MiscMenu = _menu.AddSubMenu("杂项", "misc"); MiscMenu.AddLabel("杂项设置"); MiscMenu.AddLabel("使用 W : (1) 之前 Q (2) 接触到敌人时"); MiscMenu.Add("useWMode", new Slider("使用 W", 0, 0, 1)); MiscMenu.AddSeparator(); MiscMenu.Add("useETower", new CheckBox("使用 E 躲避塔的攻击")); DrawMenu = _menu.AddSubMenu("线圈", "drawings"); DrawMenu.AddLabel("线圈设置"); DrawMenu.Add("disable", new CheckBox("屏蔽所有线圈", false)); DrawMenu.Add("drawDamage", new CheckBox("显示伤害")); DrawMenu.Add("drawQ", new CheckBox("显示 Q 范围")); DrawMenu.Add("drawW", new CheckBox("显示 W 范围")); DrawMenu.Add("drawE", new CheckBox("显示 E 范围")); DrawMenu.Add("drawR", new CheckBox("显示 R 范围")); DrawMenu.Add("drawRPred", new CheckBox("显示 R 范围")); }
static Misc() { // Initialize the menu values MiscMenu.AddGroupLabel("Miscellaneous Settings"); _interruptSpell = MiscMenu.Add("interruptQ", new CheckBox("Use Q to interrupt spells ?")); _antiGapCloserSpell = MiscMenu.Add("gapcloserQ", new CheckBox("Use Q to antigapcloser spells ?")); _miscMana = MiscMenu.Add("miscMana", new Slider("Min mana to use gapcloser/interrupt spells ?", 20)); MiscMenu.AddGroupLabel("KillSteal Settings"); _killStealQ = MiscMenu.Add("killstealQ", new CheckBox("Use Q to KS ?")); _killStealE = MiscMenu.Add("killstealE", new CheckBox("Use E to KS ?")); _killStealR = MiscMenu.Add("killstealR", new CheckBox("Use R to KS ?")); _ksMana = MiscMenu.Add("killstealMana", new Slider("Min mana to use KillSteal spells ?", 15)); MiscMenu.AddGroupLabel("W Settings"); _wDefense = MiscMenu.Add("safetyW", new CheckBox("Use W when the player is receiving a spell ?")); _wMana = MiscMenu.Add("wMana", new Slider("Min mana to use W ?", 10)); MiscMenu.AddGroupLabel("JungleStea; Settings"); _jugSteal = MiscMenu.Add("jungleSteal", new CheckBox("JungleSteal using R ?")); MiscMenu.AddSeparator(1); _jugStealBlue = MiscMenu.Add("junglestealBlue", new CheckBox("JungleSteal Blue ?")); _jugStealRed = MiscMenu.Add("junglestealRed", new CheckBox("JungleSteal Red ?", false)); _jugStealDragon = MiscMenu.Add("junglestealDrag", new CheckBox("JungleSteal Dragon ?")); _jugStealBaron = MiscMenu.Add("junglestealBaron", new CheckBox("JungleSteal Baron ?")); }
public static void Miscmenu() { MiscMenu = YMenu.AddSubMenu("Misc", "Misc"); MiscMenu.AddGroupLabel("Misc"); MiscMenu.Add("StackQ", new CheckBox("Stack Q")); MiscMenu.Add("InterruptQ", new CheckBox("Use Q3 to Interrupt")); MiscMenu.Add("noEturret", new CheckBox("Dont Jump Turret")); MiscMenu.AddSeparator(); MiscMenu.AddLabel("1: Q 2: E"); MiscMenu.Add("autolvl", new CheckBox("Activate Auto level")); MiscMenu.Add("autolvls", new Slider("Level Mode", 1, 1, 2)); switch (MiscMenu["autolvls"].Cast <Slider>().CurrentValue) { case 1: Variables.abilitySequence = new[] { 1, 3, 2, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 }; break; case 2: Variables.abilitySequence = new[] { 3, 1, 2, 3, 3, 4, 3, 1, 3, 1, 4, 1, 1, 2, 2, 4, 2, 2 }; break; } MiscMenu.Add("skinhack", new CheckBox("Activate Skin hack")); MiscMenu.Add("skinId", new ComboBox("Skin Hack", 0, "Default", "High Noon Yasuo", "Project Yasuo", "Blood Moon Yasuo")); }
static Misc() { // Initialize the menu values MiscMenu.AddGroupLabel("杂项"); _interruptSpell = MiscMenu.Add("interruptQ", new CheckBox("Q 打断技能 ?")); _antiGapCloserSpell = MiscMenu.Add("gapcloserQ", new CheckBox("Q 防突进 ?")); _miscMana = MiscMenu.Add("miscMana", new Slider("最低蓝量使用 技能打断/防突进 ?", 20)); MiscMenu.AddGroupLabel("抢头"); _killStealQ = MiscMenu.Add("killstealQ", new CheckBox("使用 Q?")); _killStealE = MiscMenu.Add("killstealE", new CheckBox("使用 E?")); _killStealR = MiscMenu.Add("killstealR", new CheckBox("使用 R?")); _ksMana = MiscMenu.Add("killstealMana", new Slider("最低蓝量使用抢头技能 ?", 15)); MiscMenu.AddGroupLabel("W 设置"); _wDefense = MiscMenu.Add("safetyW", new CheckBox("准备收到伤害时,使用W ?")); _wDefenseAlly = MiscMenu.Add("safetyWAlly", new CheckBox("队友受到伤害时使用 W ?")); _wMana = MiscMenu.Add("wMana", new Slider("最低蓝量使用 W ?", 10)); MiscMenu.AddGroupLabel("偷野设置"); _jugSteal = MiscMenu.Add("jungleSteal", new CheckBox("使用 R ?")); MiscMenu.AddSeparator(1); _jugStealBlue = MiscMenu.Add("junglestealBlue", new CheckBox("蓝 ?")); _jugStealRed = MiscMenu.Add("junglestealRed", new CheckBox("红 ?", false)); _jugStealDragon = MiscMenu.Add("junglestealDrag", new CheckBox("龙 ?")); _jugStealBaron = MiscMenu.Add("junglestealBaron", new CheckBox("男爵 ?")); }
static Misc() { // Initialize the menu values MiscMenu.AddGroupLabel("Ek Ayarlar"); _interruptSpell = MiscMenu.Add("interruptQ", new CheckBox("İnterrupt Q ?")); _antiGapCloserSpell = MiscMenu.Add("gapcloserQ", new CheckBox("Antigapcloser Q ?")); _miscMana = MiscMenu.Add("miscMana", new Slider("Min Mana ?", 20)); MiscMenu.AddGroupLabel("Kill Çalma Ayarları"); _killStealQ = MiscMenu.Add("killstealQ", new CheckBox("KS'DE Q Kullan ?")); _killStealE = MiscMenu.Add("killstealE", new CheckBox("KS'DE E Kullan")); _killStealR = MiscMenu.Add("killstealR", new CheckBox("KS'DE R Kullan")); _ksMana = MiscMenu.Add("killstealMana", new Slider("Kill çalmak için şu kadardan fazla manam olsun ?", 15)); MiscMenu.AddGroupLabel("W Ayarları"); _wDefense = MiscMenu.Add("safetyW", new CheckBox("Koruyucu W kullan ?")); _wDefenseAlly = MiscMenu.Add("safetyWAlly", new CheckBox("Koruyucu W dostlara kullan ?")); _wMana = MiscMenu.Add("wMana", new Slider("W için gereken mana ?", 10)); MiscMenu.AddGroupLabel("Orman Çalma Ayarları; "); _jugSteal = MiscMenu.Add("jungleSteal", new CheckBox("R ile Çal ?")); MiscMenu.AddSeparator(1); _jugStealBlue = MiscMenu.Add("junglestealBlue", new CheckBox("Çal Blue ?")); _jugStealRed = MiscMenu.Add("junglestealRed", new CheckBox("Çal Red ?", false)); _jugStealDragon = MiscMenu.Add("junglestealDrag", new CheckBox("Çal Ejder ?")); _jugStealBaron = MiscMenu.Add("junglestealBaron", new CheckBox("Çal Baron ?")); }
public static void LoadMenu() { Bootstrap.Init(null); Menu = MainMenu.AddMenu("Lazy Illaoi", "lazy illaoi"); Menu.AddGroupLabel("Lazy Illaoi"); Menu.AddLabel("by DamnedNooB"); Menu.AddLabel("Ceviri Tradana"); Menu.AddSeparator(); //------------------------------------------------------------------------------------------------------------------- /* * _____ _ __ __ * / ____| | | | \/ | * | | ___ _ __ ___ | |__ ___ | \ / | ___ _ __ _ _ * | | / _ \| '_ ` _ \| '_ \ / _ \ | |\/| |/ _ \ '_ \| | | | * | |___| (_) | | | | | | |_) | (_) | | | | | __/ | | | |_| | * \_____\___/|_| |_| |_|_.__/ \___/ |_| |_|\___|_| |_|\__,_| * * */ ComboMenu = Menu.AddSubMenu("Kombo", "Combo"); ComboMenu.AddGroupLabel("Kombo Ayarları"); ComboMenu.AddLabel("Q - DOKUNAÇ DARBESİ"); ComboMenu.Add("useQ", new CheckBox("Q Mantıklı Kullan")); ComboMenu.Add("useEQ", new CheckBox("Mümkünse İlk E Kullan")); ComboMenu.AddSeparator(); ComboMenu.AddLabel("W - SİLLE TOKAT"); ComboMenu.Add("useW", new CheckBox("W Mantıklı Kullan")); ComboMenu.AddSeparator(); ComboMenu.AddLabel("E - RUH SINAVI"); ComboMenu.Add("useE", new CheckBox("E Mantıklı Kullan")); ComboMenu.AddSeparator(); ComboMenu.AddLabel("R - İLAHİ DERS"); ComboMenu.Add("useR", new CheckBox("R Mantıklı Kullan")); ComboMenu.Add("useR#", new Slider("Eğer Düşman Menzildeyse (veya 1v1 hayaletse)", 2, 0, 5)); ComboMenu.AddSeparator(); //------------------------------------------------------------------------------------------------------------------- /* * _ _ __ __ * | | | | | \/ | * | |__| | __ _ _ __ __ _ ___ ___ | \ / | ___ _ __ _ _ * | __ |/ _` | '__/ _` / __/ __| | |\/| |/ _ \ '_ \| | | | * | | | | (_| | | | (_| \__ \__ \ | | | | __/ | | | |_| | * |_| |_|\__,_|_| \__,_|___/___/ |_| |_|\___|_| |_|\__,_| * * */ HarassMenu = Menu.AddSubMenu("Dürtme", "Harass"); HarassMenu.AddGroupLabel("Dürtme Ayarları"); HarassMenu.AddLabel("Q - DOKUNAÇ DARBESİ"); HarassMenu.Add("useQ", new CheckBox("Q mantıklı Kullan")); HarassMenu.Add("qMana", new Slider("En az mana: ", 20, 1)); HarassMenu.AddSeparator(); HarassMenu.AddLabel("W - SİLLE TOKAT"); HarassMenu.Add("useW", new CheckBox("W mantıklı Kullan")); HarassMenu.Add("wMana", new Slider("En az mana: ", 20, 1)); HarassMenu.AddSeparator(); HarassMenu.AddLabel("E - RUH SINAVI"); HarassMenu.Add("useE", new CheckBox("E mantıklı Kullan")); HarassMenu.Add("eMana", new Slider("En az mana: ", 20, 1)); HarassMenu.AddSeparator(); //------------------------------------------------------------------------------------------------------------------- /* * ______ __ __ * | ____| | \/ | * | |__ __ _ _ __ _ __ ___ | \ / | ___ _ __ _ _ * | __/ _` | '__| '_ ` _ \ | |\/| |/ _ \ '_ \| | | | * | | | (_| | | | | | | | | | | | | __/ | | | |_| | * |_| \__,_|_| |_| |_| |_| |_| |_|\___|_| |_|\__,_| * * */ FarmMenu = Menu.AddSubMenu("Farm", "Farm"); FarmMenu.AddGroupLabel("Farm Ayarları"); FarmMenu.AddLabel("Q - DOKUNAÇ DARBESİ"); FarmMenu.Add("useQlane", new CheckBox("LaneTemizlerken Kullan")); FarmMenu.Add("qManaLane", new Slider("LaneTemizleme için en az mana: ", 20, 1)); FarmMenu.Add("qMinionsLane", new Slider("LaneTemizleme için en az minyon: ", 3, 1, 6)); FarmMenu.AddSeparator(); FarmMenu.Add("useQjungle", new CheckBox("Orman Temizlemede Kullan")); FarmMenu.AddSeparator(); FarmMenu.AddLabel("W - SİLLE TOKAT"); FarmMenu.Add("useWlane", new CheckBox("LaneTemizlemede Kullan")); FarmMenu.Add("wManaLane", new Slider("LaneTemizleme için en az mana : ", 20, 1)); FarmMenu.AddSeparator(); FarmMenu.Add("useWjungle", new CheckBox("Orman Temizleme için Kullan")); FarmMenu.AddSeparator(); //------------------------------------------------------------------------------------------------------------------- /* * __ __ _ __ __ * | \/ (_) | \/ | * | \ / |_ ___ ___ | \ / | ___ _ __ _ _ * | |\/| | / __|/ __| | |\/| |/ _ \ '_ \| | | | * | | | | \__ \ (__ | | | | __/ | | | |_| | * |_| |_|_|___/\___| |_| |_|\___|_| |_|\__,_| * * */ MiscMenu = Menu.AddSubMenu("Ek", "Misc"); MiscMenu.AddGroupLabel("Ek Ayarlar"); MiscMenu.AddLabel("Anti Gapcloser Ayarları"); MiscMenu.Add("gapcloserQ", new CheckBox("Use Q - DOKUNAÇ DARBESİ ni gapcloser için kullan")); MiscMenu.Add("gapcloserW", new CheckBox("Use W - SİLLE TOKAT 'ı gapcloser için kullan")); MiscMenu.AddSeparator(); //------------------------------------------------------------------------------------------------------------------- /* * _____ __ __ * | __ \ | \/ | * | | | |_ __ __ ___ __ | \ / | ___ _ __ _ _ * | | | | '__/ _` \ \ /\ / / | |\/| |/ _ \ '_ \| | | | * | |__| | | | (_| |\ V V / | | | | __/ | | | |_| | * |_____/|_| \__,_| \_/\_/ |_| |_|\___|_| |_|\__,_| * * */ DrawMenu = Menu.AddSubMenu("Göster", "Draw"); DrawMenu.AddGroupLabel("Gösterge Ayarları"); DrawMenu.AddLabel("Spell Ranges"); DrawMenu.Add("drawQ", new CheckBox("Göster Q Menzili")); DrawMenu.Add("drawW", new CheckBox("Göster W Menzili")); DrawMenu.Add("drawE", new CheckBox("Göster E Menzili")); DrawMenu.Add("drawR", new CheckBox("Göster R Menzili")); DrawMenu.Add("drawT", new CheckBox("Göster Dokunaç Menzili")); //------------------------------------------------------------------------------------------------------------------- /* * ______ _ * | ____| | | * | |____ _____ _ __ | |_ ___ * | __\ \ / / _ \ '_ \| __/ __| * | |___\ V / __/ | | | |_\__ \ * |______\_/ \___|_| |_|\__|___/ * * */ Game.OnUpdate += Events.OnUpdate; Orbwalker.OnPostAttack += Events.OnPostAttack; //Orbwalker.OnPreAttack += Events.OnPreAttack; Obj_AI_Base.OnSpellCast += Events.OnSpellCast; Gapcloser.OnGapcloser += Events.OnGapCloser; GameObject.OnCreate += Events.OnCreateObj; GameObject.OnDelete += Events.OnDeleteObj; Drawing.OnDraw += Events.OnDraw; }
public static void getMenu() { MenuKog = MainMenu.AddMenu("KogMala", "KogMala"); MenuKog.AddGroupLabel("O cuspidao nervoso!"); MenuKog.AddSeparator(); MenuKog.AddLabel("Version: " + G_version); MenuKog.AddLabel("Made without love by Kk2"); ComboMenu = MenuKog.AddSubMenu("Combo", "Combo"); ComboMenu.AddGroupLabel("Combo Options"); ComboMenu.AddSeparator(); ComboMenu.Add("comboQ", new CheckBox("Use Q on Combo")); ComboMenu.Add("comboW", new CheckBox("Use W on Combo")); ComboMenu.Add("comboE", new CheckBox("Use E on Combo")); ComboMenu.Add("comboR", new CheckBox("Use R on Combo")); HarassMenu = MenuKog.AddSubMenu("Harass", "Harass"); HarassMenu.AddGroupLabel("Harass Options"); HarassMenu.AddSeparator(); HarassMenu.Add("harassQ", new CheckBox("Use Q on Harass")); HarassMenu.Add("harassW", new CheckBox("Use W on Harass")); HarassMenu.Add("harassE", new CheckBox("Use E on Harass")); HarassMenu.Add("harassR", new CheckBox("Use R on Harass")); LaneClearMenu = MenuKog.AddSubMenu("LaneClear", "LaneClear"); LaneClearMenu.AddGroupLabel("LaneClear Options"); LaneClearMenu.AddSeparator(); LaneClearMenu.Add("clearW", new CheckBox("use W on LaneClear")); JungleMenu = MenuKog.AddSubMenu("JungleClear", "JungleClear"); JungleMenu.AddGroupLabel("JungleClear Options"); JungleMenu.AddSeparator(); JungleMenu.Add("jungleW", new CheckBox("use W on JungleClear")); JungleMenu.Add("jungleR", new CheckBox("use R on JungleClear")); JungleMenu.Add("jungleS", new Slider("Mana % > to JungleClear", 20)); MiscMenu = MenuKog.AddSubMenu("Misc", "Misc"); MiscMenu.AddGroupLabel("Misc Options"); MiscMenu.AddSeparator(); MiscMenu.Add("autoPilot", new CheckBox("AutoPilot Passive of Kog")); MiscMenu.Add("useEgap", new CheckBox("Use E on GapCloser")); MiscMenu.AddSeparator(); SkinSelect = MiscMenu.Add("skinSelect", new Slider("Choose your Skin [number]", 5, 0, 8)); SkinSelect.OnValueChange += delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs aargs) { _Player.SetSkin(_Player.ChampionName, aargs.NewValue); }; ItemsMenu = MenuKog.AddSubMenu("Items", "Items"); ItemsMenu.AddGroupLabel("Items Options"); ItemsMenu.AddSeparator(); ItemsMenu.Add("usePOT", new CheckBox("Use Health Potions")); ItemsMenu.AddSeparator(); ItemsMenu.Add("useBTRK", new CheckBox("Use BTRK")); ItemsMenu.Add("myHP", new Slider("Use If my HP <", 20)); ItemsMenu.Add("enemyHP", new Slider("Use If enemy HP <", 20)); ItemsMenu.AddSeparator(); DrawsMenu = MenuKog.AddSubMenu("Drawings", "Drawings"); DrawsMenu.AddGroupLabel("Drawing Options"); DrawsMenu.AddSeparator(); DrawsMenu.Add("drawQ", new CheckBox("Draw Q Range")); DrawsMenu.Add("drawW", new CheckBox("Draw W Range")); DrawsMenu.Add("drawE", new CheckBox("Draw E Range")); DrawsMenu.Add("drawR", new CheckBox("Draw R Range")); }
public override void InitializeMenu() { AddMultipleCheckBox(Q, new List <MenuCheckBox> { new MenuCheckBox(ComboMenu), new MenuCheckBox(HarassMenu, false), new MenuCheckBox(LaneClearMenu, false), new MenuCheckBox(JungleClearMenu), new MenuCheckBox(DrawMenu) }); AddMultipleCheckBox(W, new List <MenuCheckBox> { new MenuCheckBox(ComboMenu), new MenuCheckBox(HarassMenu), new MenuCheckBox(AutoHarassMenu, false), new MenuCheckBox(LaneClearMenu), new MenuCheckBox(JungleClearMenu), new MenuCheckBox(LastHitMenu), new MenuCheckBox(FleeMenu), new MenuCheckBox(KillStealMenu), new MenuCheckBox(DrawMenu) }); AddMultipleCheckBox(E, new List <MenuCheckBox> { new MenuCheckBox(DrawMenu, false) }); AddMultipleCheckBox(R, new List <MenuCheckBox> { new MenuCheckBox(ComboMenu), new MenuCheckBox(FleeMenu, false), new MenuCheckBox(KillStealMenu), new MenuCheckBox(DrawMenu, false) }); ComboMenu.CreateSlider("Use R if the target leave {1} range", 48, 400, 100, 2000); ComboMenu.AddSeparator(); ComboMenu.AddGroupLabel("Mode Switcher"); ComboMenu.AddLabel("Burst Mode = R -> W -> Q"); ComboMenu.AddLabel("Normal Mode = Q -> W -> (??) R"); ComboMenu.CreateKeybind("Change mode by key", 49, 'T').OnValueChange += ModeSwitch; LaneClearMenu.CreateCheckBox("Prioritize Harass over Mode", 50, false); LastHitMenu.CreateCheckBox("Prioritize Harass over Mode", 51, false); FleeMenu.CreateSlider("Use R if enemy is near {1} range", 52, 1200, 100, 2000); MiscMenu.AddSeparator(); MiscMenu.AddGroupLabel("AntiGapcloser - Interrupter settings:"); MiscMenu.CreateCheckBox("Use AntiGapcloser", MenuIds.MiscUseGapcloser); MiscMenu.CreateCheckBox("Use W", 53); MiscMenu.CreateCheckBox("Use R", 54); MiscMenu.AddSeparator(); MiscMenu.CreateCheckBox("Use Interrupter", MenuIds.MiscUseInterrupt); MiscMenu.CreateCheckBox("Use R", 55); MiscMenu.AddSeparator(); MiscMenu.CreateCheckBox("AutoSpells on CC", 56); MiscMenu.CreateCheckBox("AutoSpells on Events", 57); MiscMenu.CreateCheckBox("Use Auto W", 58); MiscMenu.CreateCheckBox("Use W on Stunned Enemies", 59); MiscMenu.CreateCheckBox("Use W on Snared Enemies", 60); MiscMenu.CreateCheckBox("Use W on Feared Enemies", 61); MiscMenu.CreateCheckBox("Use W on Taunted Enemy", 62); MiscMenu.CreateCheckBox("Use W on Suppressed Enemy", 63); MiscMenu.CreateCheckBox("Use W on Charmed Enemies", 64); MiscMenu.CreateCheckBox("Use Auto R", 65); MiscMenu.CreateCheckBox("Use R on Stunned Enemies", 66, false); MiscMenu.CreateCheckBox("Use R on Snared Enemies", 67, false); MiscMenu.CreateCheckBox("Use R on Feared Enemies", 68, false); MiscMenu.CreateCheckBox("Use R on Taunted Enemy", 69, false); MiscMenu.CreateCheckBox("Use R on Suppressed Enemy", 70, false); MiscMenu.CreateCheckBox("Use R on Charmed Enemies", 71, false); }
protected override void CreateMenu() { ComboMenu = MenuManager.Menu.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("Combo mode settings for Miss Fortune addon"); ComboMenu.AddLabel("Double Up (Q) settings :"); ComboMenu.Add("Plugins.MissFortune.ComboMenu.UseQ", new CheckBox("Use Q")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Strut (W) settings :"); ComboMenu.Add("Plugins.MissFortune.ComboMenu.UseW", new CheckBox("Use W")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Make It Rain (E) settings :"); ComboMenu.Add("Plugins.MissFortune.ComboMenu.UseE", new CheckBox("Use E")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Bullet Time (R) settings :"); ComboMenu.Add("Plugins.MissFortune.ComboMenu.UseR", new CheckBox("Use R")); ComboMenu.Add("Plugins.MissFortune.ComboMenu.RWhenXEnemies", new Slider("Use R when can hit {0} or more enemies", 5, 1, 5)); ComboMenu.AddSeparator(2); ComboMenu.Add("Plugins.MissFortune.ComboMenu.RBlockMovement", new CheckBox("Block movement when casting R")); ComboMenu.Add("Plugins.MissFortune.ComboMenu.SemiAutoRKeybind", new KeyBind("Semi-Auto R", false, KeyBind.BindTypes.HoldActive, 'T')); HarassMenu = MenuManager.Menu.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("Harass mode settings for Miss Fortune addon"); HarassMenu.AddLabel("Double Up (Q) settings :"); HarassMenu.Add("Plugins.MissFortune.HarassMenu.UseQ", new CheckBox("Use Q on killable minion if Q2 will hit champion")); HarassMenu.Add("Plugins.MissFortune.HarassMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q on killable minion", 50, 1)); HarassMenu.Add("Plugins.MissFortune.HarassMenu.UseQUnkillable", new CheckBox("Use Q on unkillable minion if Q2 will hit champion")); HarassMenu.Add("Plugins.MissFortune.HarassMenu.MinManaQUnkillable", new Slider("Min mana percentage ({0}%) to use Q on unkillable minion", 75, 1)); LaneClearMenu = MenuManager.Menu.AddSubMenu("Clear"); LaneClearMenu.AddGroupLabel("Lane clear settings for Miss Fortune addon"); LaneClearMenu.AddLabel("Basic settings :"); LaneClearMenu.Add("Plugins.MissFortune.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Enable lane clear only if no enemies nearby")); var scanRange = LaneClearMenu.Add("Plugins.MissFortune.LaneClearMenu.ScanRange", new Slider("Range to scan for enemies", 1500, 300, 2500)); scanRange.OnValueChange += (a, b) => { _changingRangeScan = true; Core.DelayAction(() => { if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside) { _changingRangeScan = false; } }, 2000); }; LaneClearMenu.Add("Plugins.MissFortune.LaneClearMenu.AllowedEnemies", new Slider("Allowed enemies amount", 1, 0, 5)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Double Up (Q) settings :"); LaneClearMenu.Add("Plugins.MissFortune.LaneClearMenu.UseQInLaneClear", new CheckBox("Use Q in Lane clear", false)); LaneClearMenu.Add("Plugins.MissFortune.LaneClearMenu.UseQInJungleClear", new CheckBox("Use Q in Jungle clear")); LaneClearMenu.Add("Plugins.MissFortune.LaneClearMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Strut (W) settings :"); LaneClearMenu.Add("Plugins.MissFortune.LaneClearMenu.UseWInLaneClear", new CheckBox("Use W in Lane clear", false)); LaneClearMenu.Add("Plugins.MissFortune.LaneClearMenu.UseWInJungleClear", new CheckBox("Use W in Jungle clear")); LaneClearMenu.Add("Plugins.MissFortune.LaneClearMenu.MinManaW", new Slider("Min mana percentage ({0}%) to use W", 50, 1)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Make It Rain (E) settings :"); LaneClearMenu.Add("Plugins.MissFortune.LaneClearMenu.UseEInLaneClear", new CheckBox("Use E in Lane clear", false)); LaneClearMenu.Add("Plugins.MissFortune.LaneClearMenu.UseEInJungleClear", new CheckBox("Use E in Jungle clear", false)); LaneClearMenu.Add("Plugins.MissFortune.LaneClearMenu.MinManaE", new Slider("Min mana percentage ({0}%) to use E", 50, 1)); MiscMenu = MenuManager.Menu.AddSubMenu("Misc"); MiscMenu.AddGroupLabel("Misc settings for Miss Fortune addon"); MiscMenu.AddLabel("Basic settings :"); MiscMenu.Add("Plugins.MissFortune.MiscMenu.EnableKillsteal", new CheckBox("Enable Killsteal")); MiscMenu.AddSeparator(5); MiscMenu.AddLabel("Double Up (Q) settings :"); MiscMenu.Add("Plugins.MissFortune.MiscMenu.BounceQFromMinions", new CheckBox("Cast Q on killable minions if can hit enemy")); MiscMenu.Add("Plugins.MissFortune.MiscMenu.AutoHarassQ", new CheckBox("Auto harass with Q")).OnValueChange += (sender, args) => { AutoHarassItem.Value = args.NewValue; }; MiscMenu.Add("Plugins.MissFortune.MiscMenu.AutoHarassQMinMana", new Slider("Min mana percentage ({0}%) for auto harass", 50, 1)); if (EntityManager.Heroes.Enemies.Any()) { MiscMenu.AddLabel("Enable auto harras for : "); EntityManager.Heroes.Enemies.ForEach(x => MiscMenu.Add("Plugins.MissFortune.MiscMenu.AutoHarassEnabled." + x.ChampionName, new CheckBox(x.ChampionName == "MonkeyKing" ? "Wukong" : x.ChampionName))); } MiscMenu.AddLabel("Make It Rain (E) settings :"); MiscMenu.Add("Plugins.MissFortune.MiscMenu.EVsGapclosers", new CheckBox("Cast E against gapclosers")); MenuManager.BuildAntiGapcloserMenu(); DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings"); DrawingsMenu.AddGroupLabel("Drawings settings for Miss Fortune addon"); DrawingsMenu.AddLabel("Basic settings :"); DrawingsMenu.Add("Plugins.MissFortune.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready")); DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Double Up (Q) settings :"); DrawingsMenu.Add("Plugins.MissFortune.DrawingsMenu.DrawQ", new CheckBox("Draw Q range", false)); DrawingsMenu.Add("Plugins.MissFortune.DrawingsMenu.DrawQColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[0].Initialize(Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Make It Rain (E) settings :"); DrawingsMenu.Add("Plugins.MissFortune.DrawingsMenu.DrawE", new CheckBox("Draw E range")); DrawingsMenu.Add("Plugins.MissFortune.DrawingsMenu.DrawEColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[1].Initialize(Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Bullet Time (R) settings :"); DrawingsMenu.Add("Plugins.MissFortune.DrawingsMenu.DrawR", new CheckBox("Draw R range")); DrawingsMenu.Add("Plugins.MissFortune.DrawingsMenu.DrawRColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[2].Initialize(Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddLabel("Damage indicator settings :"); DrawingsMenu.Add("Plugins.MissFortune.DrawingsMenu.DrawDamageIndicator", new CheckBox("Draw damage indicator")).OnValueChange += (a, b) => { if (b.NewValue) { DamageIndicator.DamageDelegate = HandleDamageIndicator; } else if (!b.NewValue) { DamageIndicator.DamageDelegate = null; } }; DrawingsMenu.Add("Plugins.MissFortune.DrawingsMenu.DamageIndicatorColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[3].Initialize(Color.Aquamarine); a.CurrentValue = false; }; AutoHarassItem = MenuManager.PermaShow.AddItem("MissFortune.AutoHarass", new BoolItem("Auto harass with Q", Settings.Misc.AutoHarassQ)); }
private static void Menu() { try { _Menu = MainMenu.AddMenu("机器人", "Blitzcrank"); ComboMenu = _Menu.AddSubMenu("连招", "Combo"); ComboMenu.Add("Blitzcrank_CUse_Q", new CheckBox("使用 Q")); ComboMenu.Add("Blitzcrank_CUse_W", new CheckBox("使用 W")); ComboMenu.Add("Blitzcrank_CUse_E", new CheckBox("使用 E")); ComboMenu.Add("Blitzcrank_CUse_R", new CheckBox("使用 R")); ComboMenu.Add("Blitzcrank_CUse_FlashQ", new KeyBind("闪现 Q (不好用)", false, KeyBind.BindTypes.HoldActive, 'T')); ComboMenu.AddSeparator(); ComboMenu.AddLabel("1 : 范围外"); ComboMenu.AddLabel("2 : 不可能"); ComboMenu.AddLabel("3 : 低"); ComboMenu.AddLabel("4 : 中"); ComboMenu.AddLabel("5 : 高"); ComboMenu.AddLabel("6 : 非常高"); ComboMenu.Add("Blitzcrank_CUseQ_Hit", new Slider("Q 命中率", 6, 1, 6)); HarassMenu = _Menu.AddSubMenu("骚扰", "Harass"); HarassMenu.Add("Blitzcrank_HUse_Q", new CheckBox("使用 Q")); HarassMenu.Add("Blitzcrank_HUse_W", new CheckBox("使用 W")); HarassMenu.Add("Blitzcrank_HUse_E", new CheckBox("使用 E")); HarassMenu.Add("Blitzcrank_AManarate", new Slider("蓝量 %", 20)); KSMenu = _Menu.AddSubMenu("抢头", "KillSteal"); KSMenu.Add("Blitzcran_KUse_Q", new CheckBox("使用 Q")); KSMenu.Add("Blitzcran_KUse_R", new CheckBox("使用 R")); MiscMenu = _Menu.AddSubMenu("杂项", "Misc"); MiscMenu.AddGroupLabel("抓人设置"); foreach (var enemy in ObjectManager.Get <AIHeroClient>()) { if (enemy.Team != Player.Team) { MiscMenu.Add("Blitzcrank_GrabSelect" + enemy.NetworkId, new Slider("抓人模式 (0 : 开启 | 1 : 不抓 | 2 : 自动) " + enemy.ChampionName, 0, 0, 2)); MiscMenu.AddSeparator(); } } MiscMenu.AddSeparator(); MiscMenu.AddGroupLabel("技能打断"); MiscMenu.Add("Blitzcrank_InterQ", new CheckBox("使用 Q")); MiscMenu.Add("Blitzcrank_InterE", new CheckBox("使用 E")); MiscMenu.Add("Blitzcrank_InterR", new CheckBox("使用 R")); MiscMenu.AddSeparator(); MiscMenu.Add("Blitzcrank_GrabDash", new CheckBox("抓冲刺的敌人")); DrawMenu = _Menu.AddSubMenu("线圈", "Draw"); DrawMenu.Add("Blitzcrank_Draw_Q", new CheckBox("使用 Q", false)); DrawMenu.Add("Blitzcrank_Draw_R", new CheckBox("使用 R", false)); DrawMenu.Add("Blitzcrank_Indicator", new CheckBox("显示伤害指示器")); } catch (Exception) { if (FreshCommon.NowTime() > ErrorTime) { Chat.Print(ChampName + " in FreshBooster isn't Load. Error Code 02"); ErrorTime = FreshCommon.TickCount(10000); } } }
protected override void CreateMenu() { ComboMenu = MenuManager.Menu.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("Combo mode settings for Urgot addon"); ComboMenu.AddLabel("Acid Hunter (Q) settings :"); ComboMenu.Add("Plugins.Urgot.ComboMenu.UseQ", new CheckBox("Use Q")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Terror Capacitor (W) settings :"); ComboMenu.Add("Plugins.Urgot.ComboMenu.UseW", new CheckBox("Use W")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Noxian Corrosive Charge (E) settings :"); ComboMenu.Add("Plugins.Urgot.ComboMenu.UseE", new CheckBox("Use E")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Hyper-Kinetic Position Reverser (R) settings :"); ComboMenu.Add("Plugins.Urgot.ComboMenu.UseR", new CheckBox("Use R")); ComboMenu.Add("Plugins.Urgot.ComboMenu.UseRToSwapPosUnderTower", new CheckBox("Try to swap enemy pos under tower")); ComboMenu.AddSeparator(5); HarassMenu = MenuManager.Menu.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("Harass mode settings for Urgot addon"); HarassMenu.AddLabel("Acid Hunter (Q) settings :"); HarassMenu.Add("Plugins.Urgot.HarassMenu.UseQ", new CheckBox("Use Q")); HarassMenu.Add("Plugins.Urgot.HarassMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 40, 1)); HarassMenu.AddSeparator(5); HarassMenu.AddLabel("Noxian Corrosive Charge (E) settings :"); HarassMenu.Add("Plugins.Urgot.HarassMenu.UseE", new CheckBox("Use E")); HarassMenu.Add("Plugins.Urgot.HarassMenu.MinManaE", new Slider("Min mana percentage ({0}%) to use E", 40, 1)); HarassMenu.AddSeparator(5); LaneClearMenu = MenuManager.Menu.AddSubMenu("Clear"); LaneClearMenu.AddGroupLabel("Lane clear settings for Urgot addon"); LaneClearMenu.AddLabel("Basic settings :"); LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Enable lane clear only if no enemies nearby")); var scanRange = LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.ScanRange", new Slider("Range to scan for enemies", 1500, 300, 2500)); scanRange.OnValueChange += (a, b) => { _changingRangeScan = true; Core.DelayAction(() => { if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside) { _changingRangeScan = false; } }, 2000); }; LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.AllowedEnemies", new Slider("Allowed enemies amount", 1, 0, 5)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Acid Hunter (Q) settings :"); LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.UseQInLaneClear", new CheckBox("Use Q in Lane Clear")); LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.UseQInJungleClear", new CheckBox("Use Q in Jungle Clear")); LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Noxian Corrosive Charge (E) settings :"); LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.UseEInLaneClear", new CheckBox("Use E in Lane Clear")); LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.UseEInJungleClear", new CheckBox("Use E in Jungle Clear")); LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.MinManaE", new Slider("Min mana percentage ({0}%) to use E", 50, 1)); MiscMenu = MenuManager.Menu.AddSubMenu("Misc"); MiscMenu.AddGroupLabel("Misc settings for Urgot addon"); MiscMenu.AddLabel("Basic settings :"); MiscMenu.Add("Plugins.Urgot.MiscMenu.EnableKillsteal", new CheckBox("Enable Killsteal")); MiscMenu.AddSeparator(2); MiscMenu.Add("Plugins.Urgot.MiscMenu.EnableTearStacker", new CheckBox("Enable Tear Stacker")); MiscMenu.Add("Plugins.Urgot.MiscMenu.TearStackerMinMana", new Slider("Tear Stacker => Min mana percentage : {0}%", 75)); MiscMenu.Add("Plugins.Urgot.MiscMenu.EnableTearStacker", new CheckBox("Enable Tear Stacker")).OnValueChange += (a, b) => { TearStacker.Enabled = b.NewValue; }; MiscMenu.Add("Plugins.Urgot.MiscMenu.StackOnlyInFountain", new CheckBox("Stack only in fountain", false)).OnValueChange += (a, b) => { TearStacker.OnlyInFountain = b.NewValue; }; MiscMenu.Add("Plugins.Urgot.MiscMenu.TearStackerMinMana", new Slider("Tear Stacker => Min mana percentage : {0}%", 75)).OnValueChange += (a, b) => { TearStacker.MinimumManaPercent = b.NewValue; }; TearStacker.Enabled = Settings.Misc.EnableTearStacker; TearStacker.OnlyInFountain = Settings.Misc.StackOnlyInFountain; TearStacker.MinimumManaPercent = Settings.Misc.TearStackerMinMana; MiscMenu.AddSeparator(5); MiscMenu.AddLabel("Acid Hunter (Q) settings :"); MiscMenu.Add("Plugins.Urgot.MiscMenu.AutoHarass", new KeyBind("Auto harass", true, KeyBind.BindTypes.PressToggle, 'T')); MiscMenu.AddLabel("Enables Auto harass on enemies with E debuff in Lane Clear and Harass mode !"); MiscMenu.AddSeparator(5); MiscMenu.AddLabel("Terror Capacitor (W) settings :"); MiscMenu.Add("Plugins.Urgot.MiscMenu.WMinDamage", new Slider("Auto W if incoming damage will deal more than {0}% of my hp", 10, 1)); MiscMenu.AddSeparator(5); MiscMenu.AddLabel("Hyper-Kinetic Position Reverser (R) settings :"); MiscMenu.Add("Plugins.Urgot.MiscMenu.UseRAgainstGapclosers", new CheckBox("Use R against gapclosers")); MiscMenu.Add("Plugins.Urgot.MiscMenu.UseRToInterrupt", new CheckBox("Use R to interrupt dangerous spells")); MenuManager.BuildAntiGapcloserMenu(); MenuManager.BuildInterrupterMenu(); DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings"); DrawingsMenu.AddGroupLabel("Drawings settings for Urgot addon"); DrawingsMenu.AddLabel("Basic settings :"); DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready")); DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Acid Hunter (Q) settings :"); DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawQ", new CheckBox("Draw Q range")); DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawQColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[0].Initialize(Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Noxian Corrosive Charge (E) settings :"); DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawE", new CheckBox("Draw E range")); DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawEColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[1].Initialize(Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Hyper-Kinetic Position Reverser (R) settings :"); DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawR", new CheckBox("Draw R range", false)); DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawRColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[2].Initialize(Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Other settings :"); DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawInfo", new CheckBox("Draw Infos")).OnValueChange += (a, b) => { if (b.NewValue) { DamageIndicator.DamageDelegate = HandleDamageIndicator; } else if (!b.NewValue) { DamageIndicator.DamageDelegate = null; } }; DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.InfoColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[3].Initialize(Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddLabel("Draws damage indicator"); }
private static void Loading_OnLoadingComplete(EventArgs args) { if (Player.Instance.ChampionName != "Olaf") { return; } Chat.Print("Perfect Olaf Reloaded"); SpellDataInst smite = _Player.Spellbook.Spells.Where(spell => spell.Name.Contains("smite")).Any() ? _Player.Spellbook.Spells.Where(spell => spell.Name.Contains("smite")).First() : null; if (smite != null) { Smite = new Spell.Targeted(smite.Slot, 500); } Bootstrap.Init(null); Healthpot = new Item(2003, 0); Manapot = new Item(2004, 0); RefillablePotion = new Item(2031, 0); HuntersPotion = new Item(2032, 0); CorruptionPotion = new Item(2033, 0); uint level = (uint)Player.Instance.Level; Q = new Spell.Skillshot(SpellSlot.Q, 1000, SkillShotType.Linear, 250, 1550, 75) { AllowedCollisionCount = int.MaxValue, MinimumHitChance = HitChance.High }; Q2 = new Spell.Skillshot(SpellSlot.Q, 900, SkillShotType.Linear, 250, 1550, 75) { AllowedCollisionCount = int.MaxValue, MinimumHitChance = HitChance.High }; W = new Spell.Active(SpellSlot.W); E = new Spell.Targeted(SpellSlot.E, 325); R = new Spell.Active(SpellSlot.R); Menu = MainMenu.AddMenu("Perfect Olaf", "perfectolaf"); ComboMenu = Menu.AddSubMenu("Combo Settings", "ComboSettings"); ComboMenu.AddLabel("Combo Settings"); ComboMenu.Add("QCombo", new CheckBox("Use Q")); ComboMenu.Add("WCombo", new CheckBox("Use W")); ComboMenu.Add("ECombo", new CheckBox("Use E")); ComboMenu.Add("RCombo", new CheckBox("Use R")); ComboMenu.Add("useTiamat", new CheckBox("Use Items")); HarassMenu = Menu.AddSubMenu("Harass Settings", "HarassSettings"); HarassMenu.AddLabel("Harass Settings"); HarassMenu.Add("QHarass", new CheckBox("Use Q")); HarassMenu.Add("WHarass", new CheckBox("Use W")); HarassMenu.Add("EHarass", new CheckBox("Use E")); FarmingMenu = Menu.AddSubMenu("Lane Clear", "FarmSettings"); FarmingMenu.AddLabel("Lane Clear"); FarmingMenu.Add("QLaneClear", new CheckBox("Use Q LaneClear")); FarmingMenu.Add("QlaneclearMana", new Slider("Mana < %", 45, 0, 100)); FarmingMenu.Add("WLaneClear", new CheckBox("Use W LaneClear")); FarmingMenu.Add("WlaneclearMana", new Slider("Mana < %", 45, 0, 100)); FarmingMenu.Add("ELaneClear", new CheckBox("Use E LaneClear")); FarmingMenu.Add("ElaneclearHP", new Slider("HP < %", 10, 0, 100)); FarmingMenu.AddLabel("Jungle Clear"); FarmingMenu.Add("Qjungle", new CheckBox("Use Q in Jungle")); FarmingMenu.Add("QjungleMana", new Slider("Mana < %", 45, 0, 100)); FarmingMenu.Add("Wjungle", new CheckBox("Use W in Jungle")); FarmingMenu.Add("WjungleMana", new Slider("Mana < %", 45, 0, 100)); FarmingMenu.Add("Ejungle", new CheckBox("Use E in Jungle")); FarmingMenu.Add("EjungleHP", new Slider("HP < %", 25, 0, 100)); FarmingMenu.AddLabel("Last Hit Settings"); FarmingMenu.Add("Qlasthit", new CheckBox("Use Q LastHit")); FarmingMenu.Add("Elasthit", new CheckBox("Use E LastHit")); FarmingMenu.Add("QlasthitMana", new Slider("Mana < %", 45, 0, 100)); SetSmiteSlot(); if (SmiteSlot != SpellSlot.Unknown) { SmiteMenu = Menu.AddSubMenu("Smite Usage", "SmiteUsage"); SmiteMenu.AddLabel("Smite Usage"); SmiteMenu.Add("Use Smite?", new CheckBox("Use Smite")); SmiteMenu.Add("SmiteEnemy", new CheckBox("Use Smite Combo for Enemy!")); SmiteMenu.Add("Red?", new CheckBox("Red")); SmiteMenu.Add("Blue?", new CheckBox("Blue")); SmiteMenu.Add("Dragon?", new CheckBox("Dragon")); SmiteMenu.Add("Baron?", new CheckBox("Baron")); } MiscMenu = Menu.AddSubMenu("More Settings", "Misc"); MiscMenu.AddLabel("Auto"); MiscMenu.Add("Auto Ignite", new CheckBox("Auto Ignite")); MiscMenu.Add("autoQ", new CheckBox("Use Auto Q to Flee/Escape")); MiscMenu.Add("autoR", new CheckBox("Use Auto R in Dangerous Spell", false)); MiscMenu.Add("autoEenemyHP", new Slider("Enemy HP < %", 45, 0, 100)); MiscMenu.AddSeparator(); MiscMenu.AddLabel("Items"); MiscMenu.AddLabel("BOTRK,Bilgewater Cutlass Settings"); MiscMenu.Add("botrkHP", new Slider("My HP < %", 60, 0, 100)); MiscMenu.Add("botrkenemyHP", new Slider("Enemy HP < %", 60, 0, 100)); MiscMenu.AddLabel("KillSteal"); MiscMenu.Add("Qkill", new CheckBox("Use Q KillSteal")); MiscMenu.Add("Ekill", new CheckBox("Use E KillSteal")); MiscMenu.AddLabel("Activator"); MiscMenu.Add("useHP", new CheckBox("Use Health Potion")); MiscMenu.Add("useHPV", new Slider("HP < %", 45, 0, 100)); MiscMenu.Add("useMana", new CheckBox("Use Mana Potion")); MiscMenu.Add("useManaV", new Slider("Mana < %", 45, 0, 100)); MiscMenu.Add("useCrystal", new CheckBox("Use Refillable Potions")); MiscMenu.Add("useCrystalHPV", new Slider("HP < %", 45, 0, 100)); MiscMenu.Add("useCrystalManaV", new Slider("Mana < %", 45, 0, 100)); DrawMenu = Menu.AddSubMenu("Draw Settings", "Drawings"); DrawMenu.Add("drawAA", new CheckBox("Draw AA Range")); DrawMenu.Add("drawQ", new CheckBox("Draw Q")); DrawMenu.Add("drawQpos", new CheckBox("Draw Q Position")); DrawMenu.Add("drawE", new CheckBox("Draw E")); UpdateMenu = Menu.AddSubMenu("Last Update Logs", "Updates"); UpdateMenu.AddLabel("V0.1.7.0"); UpdateMenu.AddLabel("-Q Prediction UPDATE! Please Change Prediction Settings"); UpdateMenu.AddLabel("Prediction"); UpdateMenu.AddLabel(" Algorithm"); UpdateMenu.AddLabel(" Hitchance = 4"); UpdateMenu.AddLabel(" Collision"); UpdateMenu.AddLabel(" Extra Hitbox Radius = 40"); Game.OnTick += Game_OnTick; Drawing.OnDraw += Drawing_OnDraw; GameObject.OnCreate += GameObject_OnCreate; GameObject.OnDelete += GameObject_OnDelete; Chat.Print("Perrrrrrrrrfect Addon", System.Drawing.Color.Red); }
private static void Menu() { try { _Menu = MainMenu.AddMenu("Blitzcrank", "Blitzcrank"); ComboMenu = _Menu.AddSubMenu("Combo", "Combo"); ComboMenu.Add("Blitzcrank_CUse_Q", new CheckBox("Use Q")); ComboMenu.Add("Blitzcrank_CUse_W", new CheckBox("Use W")); ComboMenu.Add("Blitzcrank_CUse_E", new CheckBox("Use E")); ComboMenu.Add("Blitzcrank_CUse_R", new CheckBox("Use R")); ComboMenu.AddSeparator(); ComboMenu.AddLabel("1 : Out of Range"); ComboMenu.AddLabel("2 : Impossible"); ComboMenu.AddLabel("3 : Low"); ComboMenu.AddLabel("4 : Medium"); ComboMenu.AddLabel("5 : High"); ComboMenu.AddLabel("6 : Very High"); ComboMenu.Add("Blitzcrank_CUseQ_Hit", new Slider("Q HitChance", 6, 1, 6)); HarassMenu = _Menu.AddSubMenu("Harass", "Harass"); HarassMenu.Add("Blitzcrank_HUse_Q", new CheckBox("Use Q")); HarassMenu.Add("Blitzcrank_HUse_W", new CheckBox("Use W")); HarassMenu.Add("Blitzcrank_HUse_E", new CheckBox("Use E")); HarassMenu.Add("Blitzcrank_AManarate", new Slider("Mana %", 20)); KSMenu = _Menu.AddSubMenu("KillSteal", "KillSteal"); KSMenu.Add("Blitzcran_KUse_Q", new CheckBox("Use Q")); KSMenu.Add("Blitzcran_KUse_R", new CheckBox("Use R")); MiscMenu = _Menu.AddSubMenu("Misc", "Misc"); MiscMenu.AddGroupLabel("Grab Settings"); foreach (var enemy in ObjectManager.Get <AIHeroClient>()) { if (enemy.Team != Player.Team) { MiscMenu.Add("Blitzcrank_GrabSelect" + enemy.ChampionName, new Slider("Grab Mode (0 : Enable | 1 : Don't | 2 : Auto) " + enemy.ChampionName, 0, 0, 2)); MiscMenu.AddSeparator(); } } MiscMenu.AddSeparator(); MiscMenu.AddGroupLabel("Interrupt Settings"); MiscMenu.Add("Blitzcrank_InterQ", new CheckBox("Use Q")); MiscMenu.Add("Blitzcrank_InterE", new CheckBox("Use E")); MiscMenu.Add("Blitzcrank_InterR", new CheckBox("Use R")); MiscMenu.AddSeparator(); MiscMenu.Add("Blitzcrank_GrabDash", new CheckBox("Grab to dashing enemy")); DrawMenu = _Menu.AddSubMenu("Draw", "Draw"); DrawMenu.Add("Blitzcrank_Draw_Q", new CheckBox("Use Q", false)); DrawMenu.Add("Blitzcrank_Draw_R", new CheckBox("Use R", false)); DrawMenu.Add("Blitzcrank_Indicator", new CheckBox("Use Damage Indicator")); } catch (Exception) { if (FreshCommon.NowTime() > ErrorTime) { Chat.Print(ChampName + " in FreshBooster isn't Load. Error Code 02"); ErrorTime = FreshCommon.TickCount(10000); } } }
private static void OnLoaded(EventArgs args) { if (Player.Instance.ChampionName != "Evelynn") { return; } Bootstrap.Init(null); Q = new Spell.Active(SpellSlot.Q, 475); W = new Spell.Active(SpellSlot.W); E = new Spell.Targeted(SpellSlot.E, 225); R = new Spell.Skillshot(SpellSlot.R, 900, SkillShotType.Circular, 250, 1200, 150); EveMenu = MainMenu.AddMenu("BloodimirEve", "bloodimireve"); EveMenu.AddGroupLabel("Bloodimir.Evelynn"); EveMenu.AddSeparator(); EveMenu.AddLabel("Bloodimir Evelynn V1.0.1.0"); ComboMenu = EveMenu.AddSubMenu("Combo", "sbtw"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.AddSeparator(); ComboMenu.Add("usecomboq", new CheckBox("Use Q")); ComboMenu.Add("usecombow", new CheckBox("Use W")); ComboMenu.Add("usecomboe", new CheckBox("Use E")); ComboMenu.Add("usecombor", new CheckBox("Use R")); ComboMenu.Add("useignite", new CheckBox("Use Ignite")); ComboMenu.AddSeparator(); ComboMenu.Add("rslider", new Slider("Minimum people for R", 1, 0, 5)); DrawMenu = EveMenu.AddSubMenu("Drawings", "drawings"); DrawMenu.AddGroupLabel("Drawings"); DrawMenu.AddSeparator(); DrawMenu.Add("drawq", new CheckBox("Draw Q")); DrawMenu.Add("drawr", new CheckBox("Draw R")); DrawMenu.Add("drawe", new CheckBox("Draw R")); LaneJungleClear = EveMenu.AddSubMenu("Lane Jungle Clear", "lanejungleclear"); LaneJungleClear.AddGroupLabel("Lane Jungle Clear Settings"); LaneJungleClear.Add("LCE", new CheckBox("Use E")); LaneJungleClear.Add("LCQ", new CheckBox("Use Q")); LastHitMenu = EveMenu.AddSubMenu("Last Hit", "lasthit"); LastHitMenu.AddGroupLabel("Last Hit Settings"); LastHitMenu.Add("LHQ", new CheckBox("Use Q")); MiscMenu = EveMenu.AddSubMenu("Misc Menu", "miscmenu"); MiscMenu.AddGroupLabel("KS"); MiscMenu.AddSeparator(); MiscMenu.Add("kse", new CheckBox("KS using E")); MiscMenu.AddSeparator(); MiscMenu.Add("ksq", new CheckBox("KS using Q")); MiscMenu.Add("asw", new CheckBox("Auto/Smart W")); SkinMenu = EveMenu.AddSubMenu("Skin Changer", "skin"); SkinMenu.AddGroupLabel("Choose the desired skin"); var skinchange = SkinMenu.Add("sID", new Slider("Skin", 2, 0, 4)); var sid = new[] { "Default", "Shadow", "Masquerade", "Tango", "Safecracker" }; skinchange.DisplayName = sid[skinchange.CurrentValue]; skinchange.OnValueChange += delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs) { sender.DisplayName = sid[changeArgs.NewValue]; }; Game.OnUpdate += Tick; Drawing.OnDraw += OnDraw; }
public static void getMenu() { /* * Main Menu */ Rengar = MainMenu.AddMenu("Rengod", "Rengod"); Rengar.AddGroupLabel("RenGOD ~.^"); Rengar.AddSeparator(); Rengar.AddLabel("" + G_name); /* * Combo Menu */ ComboMenu = Rengar.AddSubMenu("Combo", "Combo"); ComboMenu.AddGroupLabel("Combo Options"); ComboMenu.AddSeparator(); ComboMenu.Add("ComboQ", new CheckBox("Use Q on Combo")); ComboMenu.Add("ComboW", new CheckBox("Use W on Combo")); ComboMenu.Add("ComboE", new CheckBox("Use E on Combo")); ComboPrio = ComboMenu.Add("cPrio", new Slider("Prioritize: ", 0, 0, 2)); ComboPrio.OnValueChange += delegate { ComboPrio.DisplayName = "Prioritize: " + prio[ComboPrio.CurrentValue]; }; ComboPrio.DisplayName = "Prioritize: " + prio[ComboPrio.CurrentValue]; ComboKey = ComboMenu.Add("changeC", new KeyBind("Press to change Combo Prioritize", false, KeyBind.BindTypes.PressToggle, 'N')); ComboKey.OnValueChange += delegate { var x = ComboPrio.CurrentValue; if (x == 2) { ComboPrio.CurrentValue = 0; } else { ComboPrio.CurrentValue = ComboPrio.CurrentValue + 1; } }; ComboMenu.AddSeparator(); ComboMenu.Add("useIG", new CheckBox("Use Ignite on Combo")); ComboMenu.Add("useSmite", new CheckBox("Use Smite on Combo")); /* * Harass Menu */ HarassMenu = Rengar.AddSubMenu("Harass", "Harass"); HarassMenu.AddGroupLabel("Harass Options"); HarassMenu.AddSeparator(); HarassMenu.Add("HarassQ", new CheckBox("Use Q on Harass")); HarassMenu.Add("HarassW", new CheckBox("Use W on Harass")); HarassMenu.Add("HarassE", new CheckBox("Use E on Harass")); HarassPrio = HarassMenu.Add("hPrio", new Slider("Prioritize: ", 0, 0, 1)); HarassPrio.OnValueChange += delegate { HarassPrio.DisplayName = "Prioritize: " + prio[HarassPrio.CurrentValue]; }; HarassPrio.DisplayName = "Prioritize: " + prio[HarassPrio.CurrentValue]; /* * LaneClear Menu */ LaneMenu = Rengar.AddSubMenu("LaneClear", "LaneClear"); LaneMenu.AddGroupLabel("LaneClear Options"); LaneMenu.AddSeparator(); LaneMenu.Add("LaneQ", new CheckBox("Use Q on LaneClear")); LaneMenu.Add("LaneW", new CheckBox("Use W on LaneClear")); LaneMenu.Add("LaneE", new CheckBox("Use E on LaneClear")); /* * JungleClear Menu */ JungleMenu = Rengar.AddSubMenu("Jungle", "Jungle"); JungleMenu.AddGroupLabel("Jungle Options"); JungleMenu.AddSeparator(); JungleMenu.Add("JungleQ", new CheckBox("Use Q on Jungle")); JungleMenu.Add("JungleW", new CheckBox("Use W on Jungle")); JungleMenu.Add("JungleE", new CheckBox("Use E on Jungle")); /* * Items Menu */ ItemsMenu = Rengar.AddSubMenu("Items", "Items"); ItemsMenu.AddGroupLabel("Items Options"); ItemsMenu.Add("useYoumu", new CheckBox("Use Youmuus")); ItemsMenu.Add("useHydra", new CheckBox("Use Hydra")); ItemsMenu.AddSeparator(); ItemsMenu.Add("useBTRK", new CheckBox("Use BTRK")); ItemsMenu.Add("myHP", new Slider("My Hp <% to use", 60)); ItemsMenu.Add("enemyHP", new Slider("Enemy HP <% to use", 60)); ItemsMenu.AddSeparator(); ItemsMenu.Add("usePOT", new CheckBox("Use Potions")); /* * Misc Menu */ MiscMenu = Rengar.AddSubMenu("Misc", "Misc"); MiscMenu.AddGroupLabel("Misc Options"); MiscMenu.AddSeparator(); MiscMenu.Add("useHeal", new CheckBox("Auto Heal with W")); MiscMenu.Add("hpHeal", new Slider("HP % to Heal", 25)); MiscMenu.AddSeparator(); SkinHax = MiscMenu.Add("skinHax", new Slider("Choose you Skin [number]", 2, 0, 2)); SkinHax.OnValueChange += delegate { _Player.SetSkinId(SkinHax.CurrentValue); }; /* * Drawing Menu */ DrawingMenu = Rengar.AddSubMenu("Drawing", "Drawing"); DrawingMenu.AddGroupLabel("Drawing Options"); DrawingMenu.AddSeparator(); DrawingMenu.Add("drawQ", new CheckBox("Draw Q Range")); DrawingMenu.Add("drawW", new CheckBox("Draw W Range")); DrawingMenu.Add("drawE", new CheckBox("Draw E Range")); DrawingMenu.Add("drawR", new CheckBox("Draw R Range")); DrawingMenu.Add("drawK", new CheckBox("Draw K on Killable Enemies")); DrawingMenu.Add("drawT", new CheckBox("Draw R Timer Left")); DrawingMenu.AddSeparator(); DrawingMenu.Add("drawC", new CheckBox("Draw Current Combo Prioritize")); DrawingMenu.Add("posX", new Slider("X Position", 50, 0, 2000)); DrawingMenu.Add("posY", new Slider("Y Position", 50, 0, 2000)); }
protected override void CreateMenu() { ComboMenu = MenuManager.Menu.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("Combo mode settings for Jhin addon"); ComboMenu.AddLabel("Dancing Grenade (Q) settings :"); ComboMenu.Add("Plugins.Jhin.ComboMenu.UseQ", new CheckBox("Use Q")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Deadly Flourish (W) settings :"); ComboMenu.Add("Plugins.Jhin.ComboMenu.UseW", new CheckBox("Use W")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Captive Audience (E) settings :"); ComboMenu.Add("Plugins.Jhin.ComboMenu.UseE", new CheckBox("Use E")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Curtain Call (R) settings :"); ComboMenu.Add("Plugins.Jhin.ComboMenu.UseR", new CheckBox("Use R")); ComboMenu.Add("Plugins.Jhin.ComboMenu.EnableFowPrediction", new CheckBox("Enable FoW prediction")); ComboMenu.Add("Plugins.Jhin.ComboMenu.RDelay", new Slider("Delay between shots", 0, 0, 2500)); ComboMenu.Add("Plugins.Jhin.ComboMenu.RMode", new ComboBox("R mode", 0, "In Combo mode", "KeyBind", "Automatic")); ComboMenu.Add("Plugins.Jhin.ComboMenu.RKeybind", new KeyBind("R keybind", false, KeyBind.BindTypes.HoldActive, 'T')); ComboMenu.AddSeparator(5); HarassMenu = MenuManager.Menu.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("Harass mode settings for Jhin addon"); HarassMenu.AddLabel("Dancing Grenade (Q) settings :"); HarassMenu.Add("Plugins.Jhin.HarassMenu.UseQ", new CheckBox("Use Q", false)); HarassMenu.Add("Plugins.Jhin.HarassMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 80, 1)); HarassMenu.AddSeparator(5); HarassMenu.AddLabel("Deadly Flourish (W) settings :"); HarassMenu.Add("Plugins.Jhin.HarassMenu.UseW", new CheckBox("Use W")); HarassMenu.Add("Plugins.Jhin.HarassMenu.MinManaW", new Slider("Min mana percentage ({0}%) to use W", 80, 1)); HarassMenu.AddSeparator(5); LaneClearMenu = MenuManager.Menu.AddSubMenu("Clear"); LaneClearMenu.AddGroupLabel("Lane clear settings for Jhin addon"); LaneClearMenu.AddLabel("Basic settings :"); LaneClearMenu.Add("Plugins.Jhin.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Enable lane clear only if no enemies nearby")); var scanRange = LaneClearMenu.Add("Plugins.Jhin.LaneClearMenu.ScanRange", new Slider("Range to scan for enemies", 1500, 300, 2500)); scanRange.OnValueChange += (a, b) => { _changingRangeScan = true; Core.DelayAction(() => { if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside) { _changingRangeScan = false; } }, 2000); }; LaneClearMenu.Add("Plugins.Jhin.LaneClearMenu.AllowedEnemies", new Slider("Allowed enemies amount", 1, 0, 5)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Dancing Grenade (Q) settings :"); LaneClearMenu.Add("Plugins.Jhin.LaneClearMenu.UseQInLaneClear", new CheckBox("Use Q in Lane Clear", false)); LaneClearMenu.Add("Plugins.Jhin.LaneClearMenu.UseQInJungleClear", new CheckBox("Use Q in Jungle Clear")); LaneClearMenu.Add("Plugins.Jhin.LaneClearMenu.MinManaQ", new Slider("Minimum mana percentage ({0}%) to use Q", 50, 1)); LaneClearMenu.Add("Plugins.Jhin.LaneClearMenu.MinMinionsKilledFromQ", new Slider("Minimum minions killed to use Q", 3, 1, 4)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Deadly Flourish (W) settings :"); LaneClearMenu.Add("Plugins.Jhin.LaneClearMenu.UseWInLaneClear", new CheckBox("Use w in Lane Clear")); LaneClearMenu.Add("Plugins.Jhin.LaneClearMenu.UseWInJungleClear", new CheckBox("Use W in Jungle Clear")); LaneClearMenu.Add("Plugins.Jhin.LaneClearMenu.MinManaW", new Slider("Min mana percentage ({0}%) to use W", 50, 1)); MenuManager.BuildAntiGapcloserMenu(); MiscMenu = MenuManager.Menu.AddSubMenu("Misc"); MiscMenu.AddGroupLabel("Misc settings for Jhin addon"); MiscMenu.AddLabel("Basic settings :"); MiscMenu.Add("Plugins.Jhin.MiscMenu.EnableKillsteal", new CheckBox("Enable Killsteal")); MiscMenu.AddSeparator(5); MiscMenu.AddLabel("Deadly Flourish (W) settings :"); MiscMenu.Add("Plugins.Jhin.MiscMenu.WFowPrediction", new CheckBox("Use FoW prediction")); MiscMenu.Add("Plugins.Jhin.MiscMenu.WAntiGapcloser", new CheckBox("Cast against gapclosers")); MiscMenu.AddSeparator(5); MiscMenu.AddLabel("Captive Audience (E) settings :"); MiscMenu.Add("Plugins.Jhin.MiscMenu.EAntiGapcloser", new CheckBox("Cast against gapclosers")); DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings"); DrawingsMenu.AddGroupLabel("Drawings settings for Jhin addon"); DrawingsMenu.AddLabel("Basic settings :"); DrawingsMenu.Add("Plugins.Jhin.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready")); DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Dancing Grenade (Q) settings :"); DrawingsMenu.Add("Plugins.Jhin.DrawingsMenu.DrawQ", new CheckBox("Draw Q range")); DrawingsMenu.Add("Plugins.Jhin.DrawingsMenu.DrawQColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[0].Initialize(System.Drawing.Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Deadly Flourish (W) settings :"); DrawingsMenu.Add("Plugins.Jhin.DrawingsMenu.DrawW", new CheckBox("Draw W range")); DrawingsMenu.Add("Plugins.Jhin.DrawingsMenu.DrawWColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[1].Initialize(System.Drawing.Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Captive Audience (E) settings :"); DrawingsMenu.Add("Plugins.Jhin.DrawingsMenu.DrawE", new CheckBox("Draw E range")); DrawingsMenu.Add("Plugins.Jhin.DrawingsMenu.DrawEColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[2].Initialize(System.Drawing.Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Curtain Call (R) settings :"); DrawingsMenu.Add("Plugins.Jhin.DrawingsMenu.DrawR", new CheckBox("Draw R range")); DrawingsMenu.Add("Plugins.Jhin.DrawingsMenu.DrawRColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[3].Initialize(System.Drawing.Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.Add("Plugins.Jhin.DrawingsMenu.DrawInfo", new CheckBox("Draw Infos")).OnValueChange += (a, b) => { if (b.NewValue) { DamageIndicator.DamageDelegate = HandleDamageIndicator; } else if (!b.NewValue) { DamageIndicator.DamageDelegate = null; } }; DrawingsMenu.Add("Plugins.Jhin.DrawingsMenu.InfoColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[4].Initialize(System.Drawing.Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddLabel("Draws damage indicator and minions killable from Q"); }
private static void OnLoaded(EventArgs args) { if (Player.Instance.ChampionName != "Kassadin") { return; } Bootstrap.Init(null); Q = new Spell.Targeted(SpellSlot.Q, 650); W = new Spell.Active(SpellSlot.W); E = new Spell.Skillshot(SpellSlot.E, 400, SkillShotType.Cone, 500, int.MaxValue, 10); R = new Spell.Skillshot(SpellSlot.R, 700, SkillShotType.Circular, 500, int.MaxValue, 150); _abilitySequence = new[] { 1, 2, 3, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 }; if (HasSpell("summonerdot")) { Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600); } var flashSlot = Kassawin.GetSpellSlotFromName("summonerflash"); Flash = new Spell.Skillshot(flashSlot, 32767, SkillShotType.Linear); KassaMenu = MainMenu.AddMenu("BloodimirKassadin", "bloodimirkassa"); KassaMenu.AddGroupLabel("Bloodimir Kassadin v1.0.0.1"); KassaMenu.AddSeparator(); KassaMenu.AddLabel("Bloodimir Kassadin v1.0.0.1"); ComboMenu = KassaMenu.AddSubMenu("Combo", "sbtw"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.AddSeparator(); ComboMenu.Add("usecomboq", new CheckBox("Use Q")); ComboMenu.Add("usecomboe", new CheckBox("Use E")); ComboMenu.Add("usecombow", new CheckBox("Use W")); ComboMenu.Add("usecombor", new CheckBox("Use R")); ComboMenu.Add("useignite", new CheckBox("Use Ignite")); ComboMenu.AddSeparator(); ComboMenu.Add("rslider", new Slider("Maximum enemy to R", 2, 0, 5)); HarassMenu = KassaMenu.AddSubMenu("HarassMenu", "Harass"); HarassMenu.Add("useQHarass", new CheckBox("Use Q")); HarassMenu.Add("useEHarass", new CheckBox("Use E")); LaneJungleClear = KassaMenu.AddSubMenu("Lane Jungle Clear", "lanejungleclear"); LaneJungleClear.AddGroupLabel("Lane Jungle Clear Settings"); LaneJungleClear.Add("LCQ", new CheckBox("Use Q")); LaneJungleClear.Add("LCE", new CheckBox("Use E")); LaneJungleClear.Add("LCR", new CheckBox("Use R")); LastHitMenu = KassaMenu.AddSubMenu("Last Hit", "lasthit"); LastHitMenu.AddGroupLabel("Last Hit Settings"); LastHitMenu.Add("LHQ", new CheckBox("Use Q")); LastHitMenu.Add("LHW", new CheckBox("Use W")); DrawMenu = KassaMenu.AddSubMenu("Drawings", "drawings"); DrawMenu.AddGroupLabel("Drawings"); DrawMenu.AddSeparator(); DrawMenu.Add("drawq", new CheckBox("Draw Q")); DrawMenu.Add("drawe", new CheckBox("Draw E")); DrawMenu.Add("drawr", new CheckBox("Draw R")); MiscMenu = KassaMenu.AddSubMenu("Misc Menu", "miscmenu"); MiscMenu.AddGroupLabel("KS"); MiscMenu.AddSeparator(); MiscMenu.Add("ksq", new CheckBox("KS using Q")); MiscMenu.Add("int", new CheckBox("TRY to Interrupt Channeled Spells")); MiscMenu.Add("gape", new CheckBox("Anti Gapcloser E")); MiscMenu.Add("lvlup", new CheckBox("Auto Level Up Spells")); MiscMenu.Add("resetaa", new CheckBox("Auto Reset AA with W")); FleeMenu = KassaMenu.AddSubMenu("Flee", "Flee"); FleeMenu.Add("fleer", new CheckBox("Use R to Mouse Pos")); SkinMenu = KassaMenu.AddSubMenu("Skin Changer", "skin"); SkinMenu.AddGroupLabel("Choose the desired skin"); var skinchange = SkinMenu.Add("sID", new Slider("Skin", 5, 0, 5)); var sid = new[] { "Default", "Festival", "Deep One", "Pre-Void", "Harbinger", "Cosmic Reaver" }; skinchange.DisplayName = sid[skinchange.CurrentValue]; skinchange.OnValueChange += delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs) { sender.DisplayName = sid[changeArgs.NewValue]; }; Game.OnUpdate += Game_OnTick; Gapcloser.OnGapcloser += Gapcloser_OnGapCloser; Interrupter.OnInterruptableSpell += Interruptererer; Orbwalker.OnPostAttack += Reset; Drawing.OnDraw += OnDraw; }
private static void Loading_OnLoadingComplete(EventArgs args) { if (Player.Instance.ChampionName != "Udyr") { return; } SpellDataInst smite = _Player.Spellbook.Spells.Where(spell => spell.Name.Contains("smite")).Any() ? _Player.Spellbook.Spells.Where(spell => spell.Name.Contains("smite")).First() : null; if (smite != null) { Smite = new Spell.Targeted(smite.Slot, 500); } Bootstrap.Init(null); Healthpot = new Item(2003, 0); Manapot = new Item(2004, 0); RefillablePotion = new Item(2031, 0); HuntersPotion = new Item(2032, 0); CorruptionPotion = new Item(2033, 0); uint level = (uint)Player.Instance.Level; Q = new Spell.Active(SpellSlot.Q, 250); W = new Spell.Active(SpellSlot.W, 250); E = new Spell.Active(SpellSlot.E, 250); R = new Spell.Active(SpellSlot.R, 500); Menu = MainMenu.AddMenu("Perfect Udyr", "perfectudyr"); Menu.AddLabel("Perrrrrrrrrfect Ass"); Menu.AddSeparator(); ComboMenu = Menu.AddSubMenu("Combo Settings", "ComboSettings"); ComboMenu.AddLabel("Combo Ayarları"); ComboMenu.Add("QCombo", new CheckBox("Kullan Q")); ComboMenu.Add("WCombo", new CheckBox("Kullan W")); ComboMenu.Add("ECombo", new CheckBox("Kullan E")); ComboMenu.Add("RCombo", new CheckBox("Kullan R")); ComboMenu.Add("useTiamat", new CheckBox("Kullan İtemleri")); var Style = ComboMenu.Add("combostyle", new Slider("Kombo Stili", 0, 0, 1)); Style.OnValueChange += delegate { Style.DisplayName = "Combo Style: " + new[] { "Tiger Combo", "Phoenix Combo" }[Style.CurrentValue]; }; Style.DisplayName = "Combo Style: " + new[] { "Tiger Combo", "Phoenix Combo" }[Style.CurrentValue]; HarassMenu = Menu.AddSubMenu("Harass Settings", "HarassSettings"); HarassMenu.AddLabel("None."); FarmingMenu = Menu.AddSubMenu("Lane Clear", "FarmSettings"); FarmingMenu.AddLabel("Lane Temizleme"); FarmingMenu.Add("QLaneClear", new CheckBox("Q Kullan")); FarmingMenu.Add("QlaneclearMana", new Slider("Mana < %", 45, 0, 100)); FarmingMenu.Add("WLaneClear", new CheckBox("W Kullan")); FarmingMenu.Add("WlaneclearMana", new Slider("Mana < %", 35, 0, 100)); FarmingMenu.Add("WlaneclearHealth", new Slider("Canım < %", 60, 0, 100)); FarmingMenu.Add("RLaneClear", new CheckBox("R Kullan")); FarmingMenu.Add("RlaneclearMana", new Slider("Mana < %", 60, 0, 100)); FarmingMenu.Add("RlaneclearCount", new Slider("Minyon Say > ", 3, 1, 10)); FarmingMenu.AddLabel("Son Vuruş Ayarları"); FarmingMenu.Add("Qlasthit", new CheckBox("Q Kullan")); FarmingMenu.Add("QlasthitMana", new Slider("Mana < %", 35, 0, 100)); FarmingMenu.Add("Wlasthit", new CheckBox("W Kullan")); FarmingMenu.Add("WlasthitMana", new Slider("Mana < %", 35, 0, 100)); FarmingMenu.Add("WlasthitHealth", new Slider("Canım < %", 60, 0, 100)); JungleMenu = Menu.AddSubMenu("Jungle Clear", "JungSettings"); JungleMenu.AddLabel("Orman Temizleme"); JungleMenu.Add("Qjungle", new CheckBox("Q Kullan")); JungleMenu.Add("QjungleMana", new Slider("Mana < %", 30, 0, 100)); JungleMenu.Add("Wjungle", new CheckBox("W Kullan")); JungleMenu.Add("WjungleMana", new Slider("Mana < %", 30, 0, 100)); JungleMenu.Add("WjungleHealth", new Slider("Canım < %", 90, 0, 100)); JungleMenu.Add("Ejungle", new CheckBox("E Kullan")); JungleMenu.Add("EjungleMana", new Slider("Mana < %", 30, 0, 100)); JungleMenu.Add("Rjungle", new CheckBox("R Kullan")); JungleMenu.Add("RjungleMana", new Slider("Mana < %", 30, 0, 100)); var JungleStyle = JungleMenu.Add("jungstyle", new Slider("Kombo Stili", 0, 0, 3)); JungleStyle.OnValueChange += delegate { JungleStyle.DisplayName = "Combo Style: " + new[] { "Q-E", "Q-W", "R-E", "R-W" }[JungleStyle.CurrentValue]; }; JungleStyle.DisplayName = "Combo Style: " + new[] { "Q-E", "Q-W", "R-E", "R-W" }[JungleStyle.CurrentValue]; SetSmiteSlot(); if (SmiteSlot != SpellSlot.Unknown) { SmiteMenu = Menu.AddSubMenu("Smite Usage", "SmiteUsage"); SmiteMenu.Add("SmiteEnemy", new CheckBox("Çarp Kullan Düşmana!")); SmiteMenu.AddLabel("Çarp Kullan"); SmiteMenu.Add("Use Smite?", new CheckBox("Kullan Çarp")); SmiteMenu.Add("Red?", new CheckBox("Kırmızı")); SmiteMenu.Add("Blue?", new CheckBox("Mavi")); SmiteMenu.Add("Dragon?", new CheckBox("Ejder")); SmiteMenu.Add("Baron?", new CheckBox("Baron")); SmiteMenu.Add("Small?", new CheckBox("Küçük Kamplar")); } MiscMenu = Menu.AddSubMenu("More Settings", "Misc"); MiscMenu.AddLabel("Otomatik"); MiscMenu.Add("Auto Ignite", new CheckBox("Tutuştur Kullan")); MiscMenu.Add("autoQ", new CheckBox("Kaçarken Q Kullan")); MiscMenu.AddSeparator(); MiscMenu.AddLabel("İtemler"); MiscMenu.AddSeparator(); MiscMenu.AddLabel("Mahvolmuş ve pala ayarları"); MiscMenu.Add("botrkHP", new Slider("Benim Canım < %", 60, 0, 100)); MiscMenu.Add("botrkenemyHP", new Slider("Düşmanın Canı < %", 60, 0, 100)); MiscMenu.AddLabel("Kill Çalma"); MiscMenu.Add("Qkills", new CheckBox("Q Kullan")); MiscMenu.Add("Ekills", new CheckBox("E Kullan")); MiscMenu.AddLabel("Activator"); MiscMenu.Add("useHP", new CheckBox("Can potu Kullan")); MiscMenu.Add("useHPV", new Slider("Canım < %", 45, 0, 100)); MiscMenu.Add("useMana", new CheckBox("Mana potu Kullan")); MiscMenu.Add("useManaV", new Slider("Mana < %", 45, 0, 100)); MiscMenu.Add("useCrystal", new CheckBox("Avcı Potu")); MiscMenu.Add("useCrystalHPV", new Slider("Canım < %", 65, 0, 100)); MiscMenu.Add("useCrystalManaV", new Slider("Manam < %", 65, 0, 100)); DrawMenu = Menu.AddSubMenu("Draw Settings", "Drawings"); DrawMenu.Add("drawAA", new CheckBox("Göster AA Menzili")); DrawMenu.Add("drawR", new CheckBox("Göster R Menzili")); Game.OnTick += Game_OnTick; Drawing.OnDraw += Drawing_OnDraw; Chat.Print("Perfect Addon", System.Drawing.Color.Red); }
protected override void CreateMenu() { ComboMenu = MenuManager.Menu.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("Combo mode settings for Lucian addon"); ComboMenu.AddLabel("Piercing Light (Q) settings :"); ComboMenu.Add("Plugins.Lucian.ComboMenu.UseQ", new CheckBox("Use Q")); ComboMenu.Add("Plugins.Lucian.ComboMenu.ExtendQOnMinions", new CheckBox("Try to extend Q on minions")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Ardent Blaze (W) settings :"); ComboMenu.Add("Plugins.Lucian.ComboMenu.UseW", new CheckBox("Use W")); ComboMenu.Add("Plugins.Lucian.ComboMenu.IgnoreCollisionW", new CheckBox("Ignore collision")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Relentless Pursuit (E) settings :"); ComboMenu.Add("Plugins.Lucian.ComboMenu.UseE", new CheckBox("Use E")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("The Culling (R) settings :"); ComboMenu.Add("Plugins.Lucian.ComboMenu.UseR", new CheckBox("Use R")); ComboMenu.Add("Plugins.Lucian.ComboMenu.RKeybind", new KeyBind("R keybind", false, KeyBind.BindTypes.HoldActive, 'T')); ComboMenu.AddSeparator(5); HarassMenu = MenuManager.Menu.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("Harass mode settings for Lucian addon"); HarassMenu.AddLabel("Piercing Light (Q) settings :"); HarassMenu.Add("Plugins.Lucian.HarassMenu.UseQ", new KeyBind("Enable auto harass", false, KeyBind.BindTypes.PressToggle, 'A')).OnValueChange += (a, b) => { if (AutoHarassBoolItemData != null) { AutoHarassBoolItemData.Value = b.NewValue; } }; HarassMenu.Add("Plugins.Lucian.HarassMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 80, 1)); HarassMenu.AddSeparator(5); HarassMenu.AddLabel("Auto harass enabled for :"); foreach (var enemy in EntityManager.Heroes.Enemies) { HarassMenu.Add("Plugins.Lucian.HarassMenu.UseQ." + enemy.Hero, new CheckBox(enemy.ChampionName == "MonkeyKing" ? "Wukong" : enemy.ChampionName)); } LaneClearMenu = MenuManager.Menu.AddSubMenu("Clear"); LaneClearMenu.AddGroupLabel("Lane clear settings for Lucian addon"); LaneClearMenu.AddLabel("Basic settings :"); LaneClearMenu.Add("Plugins.Lucian.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Enable lane clear only if no enemies nearby")); var scanRange = LaneClearMenu.Add("Plugins.Lucian.LaneClearMenu.ScanRange", new Slider("Range to scan for enemies", 1500, 300, 2500)); scanRange.OnValueChange += (a, b) => { _changingRangeScan = true; Core.DelayAction(() => { if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside) { _changingRangeScan = false; } }, 2000); }; LaneClearMenu.Add("Plugins.Lucian.LaneClearMenu.AllowedEnemies", new Slider("Allowed enemies amount", 1, 0, 5)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Piercing Light (Q) settings :"); LaneClearMenu.Add("Plugins.Lucian.LaneClearMenu.UseQInLaneClear", new CheckBox("Use Q in Lane Clear")); LaneClearMenu.Add("Plugins.Lucian.LaneClearMenu.MinMinionsHitQ", new Slider("Min minions hit to use Q", 3, 1, 8)); LaneClearMenu.AddSeparator(5); LaneClearMenu.Add("Plugins.Lucian.LaneClearMenu.UseQInJungleClear", new CheckBox("Use Q in Jungle Clear")); LaneClearMenu.Add("Plugins.Lucian.LaneClearMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1)); MiscMenu = MenuManager.Menu.AddSubMenu("Misc"); MiscMenu.AddGroupLabel("Misc settings for Lucian addon"); MiscMenu.AddLabel("Basic settings :"); MiscMenu.Add("Plugins.Lucian.MiscMenu.EnableKillsteal", new CheckBox("Enable Killsteal")); MiscMenu.AddSeparator(5); MiscMenu.AddLabel("Relentless Pursuit (E) settings :"); MiscMenu.Add("Plugins.Lucian.MiscMenu.EMode", new ComboBox("E mode", 0, "Auto", "Cursor Pos")); MiscMenu.Add("Plugins.Lucian.MiscMenu.EUsageMode", new ComboBox("E usage", 0, "Always", "After autoattack only")); DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings"); DrawingsMenu.AddGroupLabel("Drawings settings for Lucian addon"); DrawingsMenu.AddLabel("Basic settings :"); DrawingsMenu.Add("Plugins.Lucian.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready")); DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Piercing Light (Q) settings :"); DrawingsMenu.Add("Plugins.Lucian.DrawingsMenu.DrawQ", new CheckBox("Draw Q range")); DrawingsMenu.Add("Plugins.Lucian.DrawingsMenu.DrawQColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[0].Initialize(System.Drawing.Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("The Culling (R) settings :"); DrawingsMenu.Add("Plugins.Lucian.DrawingsMenu.DrawR", new CheckBox("Draw R range")); DrawingsMenu.Add("Plugins.Lucian.DrawingsMenu.DrawRColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[1].Initialize(System.Drawing.Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.Add("Plugins.Lucian.DrawingsMenu.DrawInfo", new CheckBox("Draw Infos")).OnValueChange += (a, b) => { if (b.NewValue) { DamageIndicator.DamageDelegate = HandleDamageIndicator; } else if (!b.NewValue) { DamageIndicator.DamageDelegate = null; } }; DrawingsMenu.Add("Plugins.Lucian.DrawingsMenu.InfoColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[2].Initialize(System.Drawing.Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddLabel("Draws damage indicator"); AutoHarassBoolItemData = PermaShow.AddItem("Auto harass", new BoolItemData("Enable Auto harass", Settings.Harass.UseQ, 14)); }
protected override void CreateMenu() { ComboMenu = MenuManager.Menu.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("Combo mode settings for Caitlyn addon"); ComboMenu.AddLabel("Piltover Peacemaker (Q) settings :"); ComboMenu.Add("Plugins.Caitlyn.ComboMenu.UseQ", new CheckBox("Use Q")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Yordle Snap Trap (W) settings :"); ComboMenu.Add("Plugins.Caitlyn.ComboMenu.UseW", new CheckBox("Use W")); ComboMenu.Add("Plugins.Caitlyn.ComboMenu.UseWOnImmobile", new CheckBox("Use W on immobile")); ComboMenu.Add("Plugins.Caitlyn.ComboMenu.WHitChancePercent", new Slider("W hitchance percent : {0}", 85)); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("90 Caliber Net (E) settings :"); ComboMenu.Add("Plugins.Caitlyn.ComboMenu.UseE", new CheckBox("Use E")); ComboMenu.Add("Plugins.Caitlyn.ComboMenu.EHitChancePercent", new Slider("E hitchance percent : {0}", 65)); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Ace in the Hole (R) settings :"); ComboMenu.Add("Plugins.Caitlyn.ComboMenu.UseR", new CheckBox("Use R", false)); HarassMenu = MenuManager.Menu.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("Harass mode settings for Caitlyn addon"); HarassMenu.AddLabel("Piltover Peacemaker (Q) settings :"); HarassMenu.Add("Plugins.Caitlyn.HarassMenu.UseQ", new CheckBox("Use Q", false)); HarassMenu.Add("Plugins.Caitlyn.HarassMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 75, 1)); LaneClearMenu = MenuManager.Menu.AddSubMenu("Clear"); LaneClearMenu.AddGroupLabel("Lane clear settings for Caitlyn addon"); LaneClearMenu.AddLabel("Basic settings :"); LaneClearMenu.Add("Plugins.Caitlyn.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Enable lane clear only if no enemies nearby", false)); var scanRange = LaneClearMenu.Add("Plugins.Caitlyn.LaneClearMenu.ScanRange", new Slider("Range to scan for enemies", 1500, 300, 2500)); scanRange.OnValueChange += (a, b) => { _changingRangeScan = true; Core.DelayAction(() => { if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside) { _changingRangeScan = false; } }, 2000); }; LaneClearMenu.Add("Plugins.Caitlyn.LaneClearMenu.AllowedEnemies", new Slider("Allowed enemies amount", 1, 0, 5)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Piltover Peacemaker (Q) settings :"); LaneClearMenu.Add("Plugins.Caitlyn.LaneClearMenu.UseQInLaneClear", new CheckBox("Use Q in Lane clear")); LaneClearMenu.Add("Plugins.Caitlyn.LaneClearMenu.MinMinionsKilledForQ", new Slider("Min minions killed to use Q", 3, 1, 6)); LaneClearMenu.AddSeparator(5); LaneClearMenu.Add("Plugins.Caitlyn.LaneClearMenu.UseQInJungleClear", new CheckBox("Use Q in Jungle clear")); LaneClearMenu.Add("Plugins.Caitlyn.LaneClearMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1)); MiscMenu = MenuManager.Menu.AddSubMenu("Misc"); MiscMenu.AddGroupLabel("Misc settings for Caitlyn addon"); MiscMenu.AddLabel("Basic settings :"); MiscMenu.Add("Plugins.Caitlyn.MiscMenu.EnableKillsteal", new CheckBox("Enable Killsteal")); MiscMenu.AddSeparator(5); MiscMenu.AddLabel("Yordle Snap Trap (W) settings :"); MiscMenu.Add("Plugins.Caitlyn.MiscMenu.WAgainstGapclosers", new CheckBox("Use W against gapclosers")); MiscMenu.AddLabel("90 Caliber Net (E) settings :"); MiscMenu.Add("Plugins.Caitlyn.MiscMenu.EAgainstGapclosers", new CheckBox("Use E against gapclosers")); MenuManager.BuildAntiGapcloserMenu(); DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings"); DrawingsMenu.AddGroupLabel("Drawings settings for Caitlyn addon"); DrawingsMenu.AddLabel("Basic settings :"); DrawingsMenu.Add("Plugins.Caitlyn.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready")); DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Piltover Peacemaker (Q) settings :"); DrawingsMenu.Add("Plugins.Caitlyn.DrawingsMenu.DrawQ", new CheckBox("Draw Q range")); DrawingsMenu.Add("Plugins.Caitlyn.DrawingsMenu.DrawQColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[0].Initialize(System.Drawing.Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("90 Caliber Net (E) settings :"); DrawingsMenu.Add("Plugins.Caitlyn.DrawingsMenu.DrawE", new CheckBox("Draw E range", false)); DrawingsMenu.Add("Plugins.Caitlyn.DrawingsMenu.DrawEColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[1].Initialize(System.Drawing.Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Ace in the Hole (R) settings :"); DrawingsMenu.Add("Plugins.Caitlyn.DrawingsMenu.DrawR", new CheckBox("Draw R range", false)); DrawingsMenu.Add("Plugins.Caitlyn.DrawingsMenu.DrawRColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[2].Initialize(System.Drawing.Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddLabel("Damage indicator settings :"); DrawingsMenu.Add("Plugins.Caitlyn.DrawingsMenu.DrawDamageIndicator", new CheckBox("Draw damage indicator")).OnValueChange += (a, b) => { if (b.NewValue) { DamageIndicator.DamageDelegate = HandleDamageIndicator; } else if (!b.NewValue) { DamageIndicator.DamageDelegate = null; } }; DrawingsMenu.Add("Plugins.Caitlyn.DrawingsMenu.DamageIndicatorColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[3].Initialize(System.Drawing.Color.Aquamarine); a.CurrentValue = false; }; }