private static void Loading_OnLoadingComplete(EventArgs args) { if (Player.Instance.Hero != Champion.Elise) { return; } Menu = MainMenu.AddMenu("Elise Buddy", "EliseBuddy"); ComboMenu = Menu.AddSubMenu("Combo", "eliseCombo"); ComboMenu.Add("comboR", new CheckBox("R")); ComboMenu.AddLabel("Human"); ComboMenu.Add("comboHumanQ", new CheckBox("Human Q")); ComboMenu.Add("comboHumanW", new CheckBox("Human W")); ComboMenu.Add("comboHumanE", new CheckBox("Human E")); ComboMenu.AddLabel("Spider"); ComboMenu.Add("comboSpiderQ", new CheckBox("Spider Q")); ComboMenu.Add("comboSpiderW", new CheckBox("Spider W")); ComboMenu.Add("comboSpiderE", new CheckBox("Spider E")); ComboMenu.Add("antiGapcloser", new CheckBox("Anti-Gapcloser")); HarassMenu = Menu.AddSubMenu("Harass", "eliseharass"); HarassMenu.AddLabel("Human"); HarassMenu.Add("harassHumanQ", new CheckBox("Human Q")); HarassMenu.Add("harassHumanW", new CheckBox("Human W")); HarassMenu.Add("harassHumanE", new CheckBox("Human E")); HarassMenu.AddLabel("Spider"); HarassMenu.Add("harassSpiderQ", new CheckBox("Spider Q")); HarassMenu.Add("harassSpiderW", new CheckBox("Spider W")); HarassMenu.Add("harassSpiderE", new CheckBox("Spider E")); FarmMenu = Menu.AddSubMenu("Farm", "elisefarm"); FarmMenu.AddGroupLabel("Last Hit"); FarmMenu.AddLabel("Human"); FarmMenu.Add("lhHumanQ", new CheckBox("Human Q")); FarmMenu.AddLabel("Spider"); FarmMenu.Add("lhSpiderQ", new CheckBox("Spider Q")); FarmMenu.AddGroupLabel("Wave Clear"); FarmMenu.AddLabel("Human"); FarmMenu.Add("wcHumanQ", new CheckBox("Human Q")); FarmMenu.AddLabel("Spider"); FarmMenu.Add("wcSpiderQ", new CheckBox("Spider Q")); FarmMenu.AddGroupLabel("Jungle"); FarmMenu.Add("jungleR", new CheckBox("R")); FarmMenu.AddLabel("Human"); FarmMenu.Add("jgHumanQ", new CheckBox("Human Q")); FarmMenu.Add("jgHumanW", new CheckBox("Human W")); FarmMenu.AddLabel("Spider"); FarmMenu.Add("jgSpiderQ", new CheckBox("Spider Q")); FarmMenu.Add("jgSpiderW", new CheckBox("Spider W")); DrawMenu = Menu.AddSubMenu("Drawing", "drawelise"); DrawMenu.Add("drawHumanQ", new CheckBox("Human Q", false)); DrawMenu.Add("drawHumanW", new CheckBox("Human W", false)); DrawMenu.Add("drawHumanE", new CheckBox("Human E", false)); DrawMenu.Add("drawSpiderQ", new CheckBox("Spider Q", false)); DrawMenu.Add("drawSpiderE", new CheckBox("Spider E", false)); Drawing.OnDraw += Drawing_OnDraw; Game.OnTick += Game_OnTick; Obj_AI_Base.OnProcessSpellCast += EliseSpellManager.Obj_AI_Base_OnProcessSpellCast; Events.Init(); }
/// <summary> /// Creates the Menu /// </summary> public static void Initialize() { ConfigMenu = MainMenu.AddMenu("LelBlanc", "LelBlanc"); ConfigMenu.AddGroupLabel("This addon is made by KarmaPanda and should not be redistributed in any way."); ConfigMenu.AddGroupLabel("Any unauthorized redistribution without credits will result in severe consequences."); ConfigMenu.AddGroupLabel("Thank you for using this addon and have a fun time!"); ComboMenu = ConfigMenu.AddSubMenu("Combo Menu", "cMenu"); ComboMenu.AddLabel("Spell Settings"); ComboMenu.Add("useQ", new CheckBox("Use Q")); ComboMenu.Add("useW", new CheckBox("Use W")); ComboMenu.Add("useReturn", new CheckBox("Use W Return")); ComboMenu.Add("useE", new CheckBox("Use E")); ComboMenu.AddLabel("R Settings"); ComboMenu.Add("useQR", new CheckBox("Use QR")); ComboMenu.Add("useWR", new CheckBox("Use WR", false)); ComboMenu.Add("useReturn2", new CheckBox("Use WR Return", false)); ComboMenu.Add("useER", new CheckBox("Use ER", false)); HarassMenu = ConfigMenu.AddSubMenu("Harass Menu", "hMenu"); HarassMenu.AddLabel("Spell Settings"); HarassMenu.Add("useQ", new CheckBox("Use Q")); HarassMenu.Add("useW", new CheckBox("Use W")); HarassMenu.Add("useReturn", new CheckBox("Use W Return")); HarassMenu.Add("useE", new CheckBox("Use E")); HarassMenu.AddLabel("R Settings"); HarassMenu.Add("useQR", new CheckBox("Use QR")); HarassMenu.Add("useWR", new CheckBox("Use WR", false)); HarassMenu.Add("useReturn2", new CheckBox("Use WR Return")); HarassMenu.Add("useER", new CheckBox("Use ER", false)); LaneClearMenu = ConfigMenu.AddSubMenu("Laneclear Menu", "lcMenu"); LaneClearMenu.AddLabel("Spell Settings"); LaneClearMenu.Add("useQ", new CheckBox("Use Q", false)); LaneClearMenu.Add("useW", new CheckBox("Use W")); LaneClearMenu.Add("sliderW", new Slider("Use W if Kill {0} Minions", 3, 1, 5)); LaneClearMenu.AddLabel("R Settings"); LaneClearMenu.Add("useQR", new CheckBox("Use QR", false)); LaneClearMenu.Add("useWR", new CheckBox("Use WR")); LaneClearMenu.Add("sliderWR", new Slider("Use WR if Kill {0} Minions", 5, 1, 5)); JungleClearMenu = ConfigMenu.AddSubMenu("Jungleclear Menu", "jcMenu"); JungleClearMenu.AddLabel("Spell Settings"); JungleClearMenu.Add("useQ", new CheckBox("Use Q")); JungleClearMenu.Add("useW", new CheckBox("Use W")); JungleClearMenu.Add("useE", new CheckBox("Use E")); JungleClearMenu.Add("sliderW", new Slider("Use W if Hit {0} Minions", 3, 1, 5)); JungleClearMenu.AddLabel("R Settings"); JungleClearMenu.Add("useQR", new CheckBox("Use QR")); JungleClearMenu.Add("useWR", new CheckBox("Use WR")); JungleClearMenu.Add("useER", new CheckBox("Use ER")); JungleClearMenu.Add("sliderWR", new Slider("Use WR if Hit {0} Minions", 5, 1, 5)); KillStealMenu = ConfigMenu.AddSubMenu("Killsteal Menu", "ksMenu"); KillStealMenu.AddLabel("Spell Settings"); KillStealMenu.Add("useQ", new CheckBox("Use Q")); KillStealMenu.Add("useW", new CheckBox("Use W")); KillStealMenu.Add("useReturn", new CheckBox("Use W Return")); KillStealMenu.Add("useE", new CheckBox("Use E")); KillStealMenu.AddLabel("R Settings"); KillStealMenu.Add("useQR", new CheckBox("Use QR")); KillStealMenu.Add("useWR", new CheckBox("Use WR")); KillStealMenu.Add("useReturn2", new CheckBox("Use WR Return")); KillStealMenu.Add("useER", new CheckBox("Use ER")); KillStealMenu.AddLabel("Misc Settings"); KillStealMenu.Add("useIgnite", new CheckBox("Use Ignite")); KillStealMenu.Add("toggle", new CheckBox("Enable Kill Steal")); DrawingMenu = ConfigMenu.AddSubMenu("Drawing Menu", "dMenu"); DrawingMenu.AddLabel("Range Drawings"); DrawingMenu.Add("drawQ", new CheckBox("Draw Q Range", false)); DrawingMenu.Add("drawW", new CheckBox("Draw W Range", false)); DrawingMenu.Add("drawE", new CheckBox("Draw E Range", false)); DrawingMenu.AddLabel("DamageIndicator"); DrawingMenu.Add("draw.Damage", new CheckBox("Draw Damage")); DrawingMenu.Add("draw.Q", new CheckBox("Calculate Q Damage")); DrawingMenu.Add("draw.W", new CheckBox("Calculate W Damage")); DrawingMenu.Add("draw.E", new CheckBox("Calculate E Damage")); DrawingMenu.Add("draw.R", new CheckBox("Calculate R Damage")); DrawingMenu.Add("draw.Ignite", new CheckBox("Calculate Ignite Damage")); MiscMenu = ConfigMenu.AddSubMenu("Misc Menu", "mMenu"); MiscMenu.AddLabel("Miscellaneous"); MiscMenu.Add("pet", new CheckBox("Automatic Clone Movement")); }
internal static void Iniciar() { //Menu Original OriMenu = MainMenu.AddMenu("OriToy", "OriToy"); //Menu Combo ComboMenu = OriMenu.AddSubMenu("Combo"); ComboMenu.AddLabel("Settings Combo"); ComboMenu.AddSeparator(); ComboMenu.Add("ComboQ", new CheckBox("Toy Combo (Q)")); ComboMenu.Add("ComboW", new CheckBox("Toy Combo (W)")); ComboMenu.Add("ComboR", new CheckBox("Toy Combo (R)")); ComboMenu.AddLabel("Settings R"); ComboMenu.Add("UtiEnemy", new Slider("How Many Enemies = {0}", 2, 1, 5)); Aly = ComboMenu.Add("Life", new Slider("Use Spell only with HP = {0}", 1, 5, 100)); ComboMenu.Add("Execute", new CheckBox("Use R Elimined", false)); ComboMenu.AddLabel("Settings E"); ComboMenu.Add("UseE", new CheckBox("Use E Aly")); ComboMenu.Add("UseMyHero", new CheckBox("Use E Toy Combo?", false)); ComboMenu.AddLabel("Settings Prediction"); Prediction = ComboMenu.Add("Pre1", new ComboBox("HitChance", 1, "Low", "Medium", "High")); //Harass HarassMenu = OriMenu.AddSubMenu("Harass"); HarassMenu.AddLabel("Settings Harass"); HarassMenu.AddSeparator(); HarassMenu.Add("H1Q", new CheckBox("Harass Toy (Q)")); HarassMenu.Add("H2W", new CheckBox("Harass Toy (W)")); HarassMenu.Add("H3E", new CheckBox("Harass Toy (E)")); HarassMenu.AddLabel("Settings Mana"); ManaManeger = HarassMenu.Add("Minimo", new Slider("Finish Harass = {0}", 10, 5, 100)); //Lane LaneMenu = OriMenu.AddSubMenu("LaneClear"); LaneMenu.AddLabel("Settings Lane"); LaneMenu.AddSeparator(); LaneMenu.Add("L1Q", new CheckBox("Use Toy (Q)")); LaneMenu.Add("LW2", new CheckBox("Use Toy (W)")); LaneMenu.AddLabel("Settings"); Mini = LaneMenu.Add("Minions", new Slider("Use Spell (Q) Mini = {0}", 3, 1, 10)); Mini = LaneMenu.Add("Minions2", new Slider("Use Spell (W) Mini = {0}", 3, 1, 10)); //Jungle JungleMenu = OriMenu.AddSubMenu("JungleClear"); JungleMenu.AddLabel("Settings Jungle"); JungleMenu.AddSeparator(); JungleMenu.Add("J1Q", new CheckBox("Spell (Q)")); JungleMenu.Add("J1W", new CheckBox("Spell (W)")); JungleMenu.AddLabel("Spell Smite"); JungleMenu.Add("SmiteSpell", new CheckBox("Smite?", false)); //KilSteal KilMenu = OriMenu.AddSubMenu("KilSteal"); KilMenu.AddLabel("Sttings KillSteal"); KilMenu.AddSeparator(); KilMenu.Add("Kil1", new CheckBox("Steal Spell (R)")); KilMenu.Add("Kil2", new CheckBox("Steal Spell (W)")); //Misc Misc = OriMenu.AddSubMenu("Misc"); Misc.AddLabel("Settings Misc"); Misc.Add("M1R", new CheckBox("Use R Prediction")); Misc.Add("IG", new CheckBox("Spell Ignite")); //Draws Draws = OriMenu.AddSubMenu("Draws"); Draws.Add("D1Q", new CheckBox("Range (Q)")); Draws.Add("D1E", new CheckBox("Range (E)")); Draws.Add("DIG", new CheckBox("Range (Spell)")); //Comandos }
protected override void CreateMenu() { ComboMenu = MenuManager.Menu.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("金克丝 连招 设置"); ComboMenu.AddLabel("Q 设置 :"); ComboMenu.Add("Plugins.Jinx.ComboMenu.UseQ", new CheckBox("Use Q")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("W 设置 :"); ComboMenu.Add("Plugins.Jinx.ComboMenu.UseW", new CheckBox("Use W")); ComboMenu.Add("Plugins.Jinx.ComboMenu.WMinDistanceToTarget", new Slider("对目标最小距离", 800, 0, 1500)); ComboMenu.AddLabel("使用W仅从玩家到目标的距离高于期望值"); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("E 设置 :"); ComboMenu.Add("Plugins.Jinx.ComboMenu.UseE", new CheckBox("Use E")); ComboMenu.Add("Plugins.Jinx.ComboMenu.AutoE", new CheckBox("自动使用E打断技能")); ComboMenu.AddLabel("自动使用E 对敌人的传送 中亚.\n他也在寻找打断释放时间长的技能 像女警的R 和马尔扎哈的R"); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("R 设置 :"); ComboMenu.Add("Plugins.Jinx.ComboMenu.UseR", new CheckBox("Use R")); ComboMenu.Add("Plugins.Jinx.ComboMenu.RKeybind", new KeyBind("R 热键绑定", false, KeyBind.BindTypes.HoldActive, 'T')); ComboMenu.AddLabel("R的热键释放最好的目标是活跃范围内."); ComboMenu.AddSeparator(5); var keybindRange = ComboMenu.Add("Plugins.Jinx.ComboMenu.RRangeKeybind", new Slider("热键绑定的R 最大射程", 1100, 300, 5000)); keybindRange.OnValueChange += (a, b) => { _changingkeybindRange = true; Core.DelayAction(() => { if (!keybindRange.IsLeftMouseDown && !keybindRange.IsMouseInside) { _changingkeybindRange = false; } }, 2000); }; HarassMenu = MenuManager.Menu.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("金克丝 自动骚扰 设置"); HarassMenu.AddLabel("Q 设置 :"); HarassMenu.Add("Plugins.Jinx.HarassMenu.UseQ", new CheckBox("Use Q", false)); HarassMenu.Add("Plugins.Jinx.HarassMenu.MinManaQ", new Slider("最小蓝 百分比 ({0}%) 使用Q", 80, 1)); HarassMenu.AddSeparator(5); HarassMenu.AddLabel("W 设置 :"); HarassMenu.Add("Plugins.Jinx.HarassMenu.UseW", new CheckBox("W自动骚扰")); HarassMenu.AddLabel("能自动W攻击敌人."); HarassMenu.Add("Plugins.Jinx.HarassMenu.MinManaW", new Slider("最小蓝 百分比 ({0}%) 使用W", 50, 1)); HarassMenu.AddSeparator(5); HarassMenu.AddLabel("W 骚扰启用"); foreach (var enemy in EntityManager.Heroes.Enemies) { HarassMenu.Add("Plugins.Jinx.HarassMenu.UseW." + enemy.Hero, new CheckBox(enemy.ChampionName == "MonkeyKing" ? "Wukong" : enemy.ChampionName)); } LaneClearMenu = MenuManager.Menu.AddSubMenu("Clear"); LaneClearMenu.AddGroupLabel("金克丝 清线 设置"); LaneClearMenu.AddLabel("基本设置 :"); LaneClearMenu.Add("Plugins.Jinx.LaneClearMenu.EnableLCIfNoEn", new CheckBox("只有附近没有敌人才能启用清线")); var scanRange = LaneClearMenu.Add("Plugins.Jinx.LaneClearMenu.ScanRange", new Slider("扫描敌人范围", 1500, 300, 2500)); scanRange.OnValueChange += (a, b) => { _changingRangeScan = true; Core.DelayAction(() => { if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside) { _changingRangeScan = false; } }, 2000); }; LaneClearMenu.Add("Plugins.Jinx.LaneClearMenu.AllowedEnemies", new Slider("敌人数量", 1, 0, 5)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Switcheroo! (Q) settings :"); LaneClearMenu.Add("Plugins.Jinx.LaneClearMenu.UseQInLaneClear", new CheckBox("Use Q in Lane Clear")); LaneClearMenu.Add("Plugins.Jinx.LaneClearMenu.UseQInJungleClear", new CheckBox("Use Q in Jungle Clear")); LaneClearMenu.Add("Plugins.Jinx.LaneClearMenu.MinManaQ", new Slider("最小蓝 百分比 ({0}%) 使用Q", 50, 1)); MenuManager.BuildAntiGapcloserMenu(); MenuManager.BuildInterrupterMenu(); MiscMenu = MenuManager.Menu.AddSubMenu("Misc"); MiscMenu.AddGroupLabel("金克丝其他设置"); MiscMenu.AddLabel("基本设置:"); MiscMenu.Add("Plugins.Jinx.MiscMenu.EnableInterrupter", new CheckBox("使用E对可中断的技能", false)); MiscMenu.Add("Plugins.Jinx.MiscMenu.EnableAntiGapcloser", new CheckBox("使用E反突进")); MiscMenu.Add("Plugins.Jinx.MiscMenu.WKillsteal", new CheckBox("使用W抢人头")); MiscMenu.Add("Plugins.Jinx.MiscMenu.RKillsteal", new CheckBox("使用R抢人头")); MiscMenu.Add("Plugins.Jinx.MiscMenu.RKillstealMaxRange", new Slider("使用R抢人头对敌人的最大范围", 8000, 0, 20000)); DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings"); DrawingsMenu.AddGroupLabel("Drawings settings for Jinx addon"); DrawingsMenu.AddLabel("Basic settings :"); DrawingsMenu.Add("Plugins.Jinx.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready")); DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Switcheroo! (Q) drawing settings :"); DrawingsMenu.Add("Plugins.Jinx.DrawingsMenu.DrawRocketsRange", new CheckBox("Draw Q rockets range")); DrawingsMenu.Add("Plugins.Jinx.DrawingsMenu.DrawRocketsRangeColor", 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("Zap! (W) drawing settings :"); DrawingsMenu.Add("Plugins.Jinx.DrawingsMenu.DrawW", new CheckBox("Draw W range")); DrawingsMenu.Add("Plugins.Jinx.DrawingsMenu.DrawWColor", new CheckBox("Change Color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[1].Initialize(Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); }
private static void Loading_OnLoadingComplete(EventArgs args) { if (Player.Instance.Hero != Champion.Ashe) { return; } _q = new Spell.Active(SpellSlot.Q); _w = new Spell.Skillshot(SpellSlot.W, 1200, SkillShotType.Linear, 0, int.MaxValue, 60); { _w.AllowedCollisionCount = 0; } _e = new Spell.Skillshot(SpellSlot.E, 15000, SkillShotType.Linear, 0, int.MaxValue, 0); _r = new Spell.Skillshot(SpellSlot.R, 15000, SkillShotType.Linear, 500, 1000, 250); _r.AllowedCollisionCount = int.MaxValue; var slot = _Player.GetSpellSlotFromName("summonerheal"); if (slot != SpellSlot.Unknown) { Heal = new Spell.Active(slot, 600); } HealthPotion = new Item(2003, 0); TotalBiscuit = new Item(2010, 0); CorruptingPotion = new Item(2033, 0); RefillablePotion = new Item(2031, 0); HuntersPotion = new Item(2032, 0); Teleport.OnTeleport += Teleport_OnTeleport; Chat.Print( "<font color=\"#4dd5ea\" >MeLoDag Presents </font><font color=\"#ffffff\" >AsheTheToLL </font><font color=\"#4dd5ea\" >Kappa Kippo</font>"); Menu = MainMenu.AddMenu("AsheTheTroll", "AsheTheTroll"); ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo"); ComboMenu.AddGroupLabel("Q Ayarları:"); ComboMenu.Add("useQCombo", new CheckBox("Kullan Q")); ComboMenu.Add("UseQAAcombo", new CheckBox("Qdan sonra düz vuruş", false)); ComboMenu.AddLabel("W Ayarları:"); ComboMenu.Add("useWCombo", new CheckBox("Kullan W")); ComboMenu.Add("UseWAAcombo", new CheckBox("W den sonra düz vuruş", false)); ComboMenu.Add("CCE", new CheckBox("W hedefe vuracaksa otomatik at")); ComboMenu.Add("Wpred", new Slider("İsabet oranını seç %", 70, 0, 100)); ComboMenu.AddLabel("Higher % ->Daha yüksek ayarlarsan hedefi vurma oranın artar fakat daha az W kullanır"); ComboMenu.AddLabel("Lower % ->Ne kadar düşük olursa o kadar fazla kullanır W skilini ama mana sorunu yaşayabilirsin. "); ComboMenu.AddLabel("R Ayarları:"); ComboMenu.Add("useRCombo", new CheckBox("Kullan R [Hp%]")); ComboMenu.Add("Hp", new Slider("R kullan eğer düşmanın canı şundan azsa %", 45, 0, 100)); ComboMenu.Add("useRComboENEMIES", new CheckBox("Kullan R[Düşman Say]")); ComboMenu.Add("Rcount", new Slider("R Kaç hedefi Stunlasın >= ", 2, 1, 5)); ComboMenu.AddLabel("R kullanma menzili ayarını Tüm mantıksal hesaplamalar için kullan:"); ComboMenu.Add("useRRange", new Slider("Ultinin menzilini ayarla", 1800, 500, 2000)); ComboMenu.Add("ForceR", new KeyBind("Hedefe R Kullanma Tuşu", false, KeyBind.BindTypes.HoldActive, "T".ToCharArray()[0])); VolleyMenu = Menu.AddSubMenu("Volley Settings", "Volley"); VolleyMenu.AddGroupLabel("Şahin Atışı Ayarları:"); VolleyMenu.Add("Volley.castDragon", new KeyBind("Ejdere şahin atışı yolla", false, KeyBind.BindTypes.HoldActive, 'U')); VolleyMenu.Add("Volley.castBaron", new KeyBind("Barona şahin atışı gönder", false, KeyBind.BindTypes.HoldActive, 'I')); VolleyMenu.Add("Volley.sep1", new Separator()); VolleyMenu.Add("Volley.enable", new CheckBox("Şahin atışını otomatik yolla", false)); VolleyMenu.Add("Volley.noMode", new CheckBox("Hiçbir mod (lanetemizleme gibi)aktif değilken yap")); VolleyMenu.Add("Volley.mana", new Slider("En az {0}% Şu kadar manan varsa E kullan", 40)); VolleyMenu.Add("Volley.locationLabel", new Label("Şunlara şahin atışı yap:")); (VolleyMenu.Add("Volley.baron", new CheckBox("Baron"))).OnValueChange += VolleyLocation; (VolleyMenu.Add("Volley.dragon", new CheckBox("Ejder"))).OnValueChange += VolleyLocation; HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass"); HarassMenu.AddGroupLabel("Dürtme Ayarları:"); HarassMenu.Add("useQHarass", new CheckBox("Kullan Q")); HarassMenu.Add("useWHarass", new CheckBox("Kullan W")); HarassMenu.Add("useWHarassMana", new Slider("W en az mana > %", 70, 0, 100)); HarassMenu.AddLabel("Otomatik Dürtme Ayarları:"); HarassMenu.Add("autoWHarass", new CheckBox("Dürtmede otomatik W Kullan", false)); HarassMenu.Add("autoWHarassMana", new Slider("W en az mana > %", 70, 0, 100)); JungleLaneMenu = Menu.AddSubMenu("Lane Clear Settings", "FarmSettings"); JungleLaneMenu.AddGroupLabel("Lane Temizleme Ayarları:"); JungleLaneMenu.Add("useWFarm", new CheckBox("Kullan W")); JungleLaneMenu.Add("useWManalane", new Slider("W en az mana > %", 70, 0, 100)); JungleLaneMenu.AddLabel("Orman Temizleme Ayarları:"); // JungleLaneMenu.Add("useQJungle", new CheckBox("Kullan Q")); JungleLaneMenu.Add("useWJungle", new CheckBox("Kullan W")); JungleLaneMenu.Add("useWMana", new Slider("W en az mana > %", 70, 0, 100)); FleeMenu = Menu.AddSubMenu("Flee Settings", "FleeSettings"); FleeMenu.Add("FleeQ", new CheckBox("Kullan W")); MiscMenu = Menu.AddSubMenu("Misc Settings", "MiscSettings"); MiscMenu.AddGroupLabel("Gapcloser Ayarları:"); MiscMenu.Add("gapcloser", new CheckBox("Gapcloser için Otomatik W")); MiscMenu.AddLabel("Interrupt Ayarları:"); MiscMenu.Add("interrupter", new CheckBox("Enable Interrupter Using R")); MiscMenu.Add("interrupt.value", new ComboBox("Interrupter DangerLevel", 0, "High", "Medium", "Low")); MiscMenu.AddGroupLabel("Ks Ayarları:"); MiscMenu.Add("UseWks", new CheckBox("Use W ks")); MiscMenu.Add("UseRks", new CheckBox("Use R ks")); AutoPotHealMenu = Menu.AddSubMenu("Potion & HeaL", "Potion & HeaL"); AutoPotHealMenu.AddGroupLabel("Otomatik İksir Kullanma"); AutoPotHealMenu.Add("potion", new CheckBox("İksir Kullan")); AutoPotHealMenu.Add("potionminHP", new Slider("Can iksiri için en az şu kadar can%", 40)); AutoPotHealMenu.Add("potionMinMP", new Slider("Mana iksiri için en az şu kadar mana %", 20)); AutoPotHealMenu.AddGroupLabel("Otomatik İyileştirme kullanımı"); AutoPotHealMenu.Add("UseHeal", new CheckBox("İyileştirme Kullan")); AutoPotHealMenu.Add("useHealHP", new Slider("İyileştirme(Heal) için en az canım şu kadar %", 20)); ItemMenu = Menu.AddSubMenu("Item Settings", "ItemMenuettings"); ItemMenu.Add("useBOTRK", new CheckBox("Mahvolmuş kılıç Kullan")); ItemMenu.Add("useBotrkMyHP", new Slider("Benim canım < ", 60, 1, 100)); ItemMenu.Add("useBotrkEnemyHP", new Slider("Düşmanın canı < ", 60, 1, 100)); ItemMenu.Add("useYoumu", new CheckBox("Kullan Youmu")); ItemMenu.AddLabel("QQs Ayarları"); ItemMenu.Add("useQSS", new CheckBox("Kullan QSS")); ItemMenu.Add("Qssmode", new ComboBox(" ", 0, "Auto", "Combo")); ItemMenu.Add("Stun", new CheckBox("Sersemlemişse", true)); ItemMenu.Add("Blind", new CheckBox("Körse", true)); ItemMenu.Add("Charm", new CheckBox("Çekilmişse(Ahri)", true)); ItemMenu.Add("Suppression", new CheckBox("WW,Urgot RS(Suppression)", true)); ItemMenu.Add("Polymorph", new CheckBox("Polymorph(Lulu W)", true)); ItemMenu.Add("Fear", new CheckBox("Korkmuşsa", true)); ItemMenu.Add("Taunt", new CheckBox("Alay etme", true)); ItemMenu.Add("Silence", new CheckBox("Susturulmuşsa", false)); ItemMenu.Add("QssDelay", new Slider("Kullan QSS Gecikme(ms)", 250, 0, 1000)); SkinMenu = Menu.AddSubMenu("Skin Changer", "SkinChanger"); SkinMenu.Add("checkSkin", new CheckBox("Kostüm hilesi kullan")); SkinMenu.Add("skin.Id", new Slider("Kostüm", 1, 0, 9)); DrawMenu = Menu.AddSubMenu("Drawing Settings"); DrawMenu.Add("drawRange", new CheckBox("Göster Q Menzili")); DrawMenu.Add("drawW", new CheckBox("Göster W Menzili")); DrawMenu.Add("drawR", new CheckBox("Göster R Menzili")); DrawMenu.AddLabel("Baseye dönüş takip et"); DrawMenu.Add("draw.Recall", new CheckBox("Chatte Yaz")); Game.OnTick += Game_OnTick; Game.OnUpdate += OnGameUpdate; Obj_AI_Base.OnBuffGain += OnBuffGain; Gapcloser.OnGapcloser += Gapcloser_OnGapCloser; // Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell; Drawing.OnDraw += Drawing_OnDraw; Orbwalker.OnPostAttack += OnAfterAttack; }
public void InitMenu() { Menu = MainMenu.AddMenu(GCharname, GCharname); Menu.AddLabel("Version: " + GVersion); Menu.AddSeparator(); Menu.AddLabel("By MrArticuno 由CH汉化"); DrawMenu = Menu.AddSubMenu("线圈 - " + GCharname, GCharname + "线圈"); DrawMenu.AddGroupLabel("线圈"); DrawMenu.Add("drawReady", new CheckBox("显示无冷却技能线圈.", false)); DrawMenu.Add("drawDisable", new CheckBox("关闭线圈")); DrawMenu.AddSeparator(); //Q DrawMenu.Add("drawQ", new CheckBox("显示 Q")); DrawMenu.AddColorItem("colorQ"); DrawMenu.AddWidthItem("widthQ"); //W DrawMenu.Add("drawW", new CheckBox("显示 W")); DrawMenu.AddColorItem("colorW"); DrawMenu.AddWidthItem("widthW"); //E DrawMenu.Add("drawE", new CheckBox("显示 E")); DrawMenu.AddColorItem("colorE"); DrawMenu.AddWidthItem("widthE"); //R DrawMenu.Add("drawR", new CheckBox("显示 R")); DrawMenu.AddColorItem("colorR"); DrawMenu.AddWidthItem("widthR"); ComboMenu = Menu.AddSubMenu("连招 - " + GCharname, GCharname + "连招"); ComboMenu.AddGroupLabel("连招"); ComboMenu.Add("comboQ", new CheckBox("使用 Q", true)); ComboMenu.Add("comboW", new CheckBox("使用 W", true)); ComboMenu.Add("comboE", new CheckBox("使用 E", true)); ComboMenu.Add("comboR", new CheckBox("使用 R", true)); ComboMenu.AddGroupLabel("连招杂项"); ComboMenu.Add("castWifQnotLand", new CheckBox("Q没中则使用W", true)); ComboMenu.Add("disableAA", new CheckBox("连招时屏蔽平A", false)); ComboMenu.AddLabel("此选项会无视最少敌人数量使用才R的设置"); ComboMenu.Add("flashCombo", new CheckBox("闪现R连招如果敌人可被击杀", false)); ComboMenu.Add("rsMinEnemiesForR", new Slider("至少敌人数量面对使用R: ", 2, 0, 5)); HarassMenu = Menu.AddSubMenu("骚扰 - " + GCharname, GCharname + "骚扰"); HarassMenu.AddGroupLabel("骚扰"); HarassMenu.Add("hsQ", new CheckBox("使用 Q", true)); HarassMenu.Add("hsW", new CheckBox("使用 W", true)); HarassMenu.Add("hsE", new CheckBox("使用 E", true)); HarassMenu.AddGroupLabel("骚扰杂项"); HarassMenu.Add("disableAAHS", new CheckBox("骚扰时屏蔽平A", false)); HarassMenu.Add("hsPE", new CheckBox("只对中毒的目标使用E", true)); LaneClearMenu = Menu.AddSubMenu("清线 - " + GCharname, GCharname + "清线"); LaneClearMenu.AddGroupLabel("清线"); LaneClearMenu.Add("lcQ", new CheckBox("使用 Q", true)); LaneClearMenu.Add("lcW", new CheckBox("使用 W", true)); LaneClearMenu.Add("lcE", new CheckBox("使用 E", true)); LaneClearMenu.Add("lcKE", new CheckBox("可击杀才使用E", false)); LaneClearMenu.Add("lcPE", new CheckBox("中毒才使用E", true)); LastHitMenu = Menu.AddSubMenu("尾兵 - " + GCharname, GCharname + "尾兵"); LastHitMenu.AddGroupLabel("尾兵"); LastHitMenu.Add("lhQ", new CheckBox("使用 Q", true)); LastHitMenu.Add("lhW", new CheckBox("使用 W", true)); LastHitMenu.Add("lhE", new CheckBox("尾兵E", true)); JungleClearMenu = Menu.AddSubMenu("清野 - " + GCharname, GCharname + "清野"); JungleClearMenu.AddGroupLabel("清野"); JungleClearMenu.Add("jcQ", new CheckBox("使用 Q", true)); JungleClearMenu.Add("jcW", new CheckBox("使用 W", true)); JungleClearMenu.Add("jcE", new CheckBox("使用 E", true)); JungleClearMenu.Add("jcKE", new CheckBox("可击杀才使用E", false)); JungleClearMenu.Add("jcPE", new CheckBox("中毒才使用E", true)); MiscMenu = Menu.AddSubMenu("杂项 - " + GCharname, GCharname + "杂项"); MiscMenu.Add("skin", new Slider("换肤: ", 1, 1, 5)); MiscMenu.Add("poisonForE", new CheckBox("只对中毒的目标使用E", true)); MiscMenu.Add("miscDelayE", new Slider("E 延迟: ", 150, 0, 500)); MiscMenu.Add("ksOn", new CheckBox("尝试抢人头", true)); MiscMenu.Add("miscAntiGapW", new CheckBox("使用W造成间距", true)); MiscMenu.Add("miscAntiGapR", new CheckBox("使用R造成间距", true)); MiscMenu.Add("miscAntiMissR", new CheckBox("屏蔽R如果空大", true)); MiscMenu.Add("miscMinHpAntiGap", new Slider("最低血量进行R造成间距: ", 40, 0, 100)); MiscMenu.Add("miscInterruptDangerous", new CheckBox("打断威胁的技能", true)); }
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; }; }
private static void Game_OnStart(EventArgs args) { if (!_Player.ChampionName.ToLower().Contains("vayne")) { return; } Q = new Spell.Skillshot(SpellSlot.Q, int.MaxValue, SkillShotType.Linear); E = new Spell.Targeted(SpellSlot.E, 590); Condemn.ESpell = new Spell.Skillshot(SpellSlot.E, 590, SkillShotType.Linear, 250, 1250); R = new Spell.Active(SpellSlot.R); Menu = MainMenu.AddMenu("Vayne Buddy", "vBuddy"); Menu.AddGroupLabel("Vayne Buddy"); Menu.AddLabel("Version: " + "0.0.0.2"); Menu.AddSeparator(); Menu.AddLabel("By Fluxy ;)"); Menu.AddSeparator(); Menu.AddLabel("p.s. imeh is f****t"); ComboMenu = Menu.AddSubMenu("Combo", "vBuddyCombo"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.Add("useQCombo", new CheckBox("Use Q")); ComboMenu.Add("useQKite", new CheckBox("Use Q to Kite Melee", false)); ComboMenu.Add("useECombo", new CheckBox("Use E (Execute)")); ComboMenu.AddLabel("R Settings"); ComboMenu.Add("useRCombo", new CheckBox("Use R", false)); ComboMenu.Add("noRUnderTurret", new CheckBox("Disable R if Target is under enemy turret")); CondemnPriorityMenu = Menu.AddSubMenu("Auto Condemn", "vBuddyCondemnPriority"); CondemnPriorityMenu.AddGroupLabel("Condemn Priority"); foreach (var enem in ObjectManager.Get <AIHeroClient>().Where(a => a.IsEnemy)) { var champValue = CondemnPriorityMenu.Add(enem.ChampionName + "priority", new Slider(enem.ChampionName + ": ", 1, 1, 5)); var enem1 = enem; champValue.OnValueChange += delegate { champValue.DisplayName = enem1.ChampionName + ": " + PriorityValues[champValue.CurrentValue]; }; champValue.DisplayName = enem1.ChampionName + ": " + PriorityValues[champValue.CurrentValue]; } CondemnPriorityMenu.AddSeparator(); var sliderValue = CondemnPriorityMenu.Add("minSliderAutoCondemn", new Slider("Min Priority for Auto Condemn: ", 2, 1, 5)); sliderValue.OnValueChange += delegate { sliderValue.DisplayName = "Min Priority for Auto Condemn: " + PriorityValues[sliderValue.CurrentValue]; }; sliderValue.DisplayName = "Min Priority for Auto Condemn: " + PriorityValues[sliderValue.CurrentValue]; CondemnPriorityMenu.Add("autoCondemnToggle", new KeyBind("Auto Condemn", false, KeyBind.BindTypes.PressToggle, 'H')); CondemnPriorityMenu.AddSeparator(); CondemnMenu = Menu.AddSubMenu("Condemn", "vBuddyCondemn"); CondemnMenu.AddGroupLabel("Condemn Settings"); CondemnMenu.AddSeparator(); CondemnMenu.Add("pushDistance", new Slider("Push Distance", 410, 350, 420)); CondemnMenu.Add("condemnPercent", new Slider("Condemn Percent", 33, 1)); CondemnMenu.AddSeparator(); CondemnMenu.AddLabel("Active Mode Settings"); CondemnMenu.Add("smartVsCheap", new CheckBox("On (SMART CONDEMN (saves fps)) / OFF (360 degree check)", true)); CondemnMenu.AddSeparator(); CondemnMenu.Add("condemnCombo", new CheckBox("Condemn in Combo", true)); CondemnMenu.Add("condemnComboTrinket", new CheckBox("Trinket Bush After E", true)); CondemnMenu.Add("condemnHarass", new CheckBox("Condemn in Harass", true)); HarassMenu = Menu.AddSubMenu("Harass", "vBuddyHarass"); HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.Add("useQHarass", new CheckBox("Use Q", true)); FarmMenu = Menu.AddSubMenu("Farming", "vBuddyFarm"); FarmMenu.AddGroupLabel("Farming Settings"); FarmMenu.Add("onlyTumbleToCursor", new CheckBox("Only Tumble To Cursor", false)); FarmMenu.AddLabel("Last Hit"); FarmMenu.Add("useQLastHit", new CheckBox("Use Q Last", true)); FarmMenu.AddLabel("WaveClear"); FarmMenu.Add("useQWaveClear", new CheckBox("Use Q WaveClear", true)); DrawMenu = Menu.AddSubMenu("Misc Menu", "vBuddyMisc"); DrawMenu.AddGroupLabel("Draw Settings"); DrawMenu.Add("drawERange", new CheckBox("Draw E Range", false)); DrawMenu.Add("condemnVisualiser", new CheckBox("Draw Condemn", false)); DrawMenu.Add("drawStacks", new CheckBox("Draw W Stacks", false)); DrawMenu.AddLabel("Misc"); DrawMenu.Add("wallJumpKey", new KeyBind("Tumble Walls", false, KeyBind.BindTypes.HoldActive, 'Z')); DrawMenu.Add("condemnNextAA", new KeyBind("Condemn Next AA", false, KeyBind.BindTypes.PressToggle, 'E')); DrawMenu.AddLabel("Anti-Champions"); DrawMenu.Add("antiKalista", new CheckBox("Anti-Kalista")); DrawMenu.Add("antiRengar", new CheckBox("Anti-Rengar")); InterruptorMenu = Menu.AddSubMenu("Interrupter", "InterruptorvBuddy"); InterruptorMenu.AddGroupLabel("Interrupter Menu"); InterruptorMenu.Add("enableInterrupter", new CheckBox("Enable Interrupter")); InterruptorMenu.AddSeparator(); var dangerSlider = InterruptorMenu.Add("dangerLevel", new Slider("Set Your Danger Level: ", 3, 1, 3)); var dangerSliderDisplay = InterruptorMenu.Add("dangerLevelDisplay", new Label("Danger Level: " + DangerSliderValues[dangerSlider.Cast <Slider>().CurrentValue - 1])); dangerSlider.Cast <Slider>().OnValueChange += delegate { dangerSliderDisplay.Cast <Label>().DisplayName = "Danger Level: " + DangerSliderValues[dangerSlider.Cast <Slider>().CurrentValue - 1]; }; GapCloserMenu = Menu.AddSubMenu("Anti-GapClosers", "gapClosersvBuddy"); GapCloserMenu.AddGroupLabel("Anti-GapCloser Menu"); GapCloserMenu.Add("enableGapCloser", new CheckBox("Enable Anti-GapCloser")); Orbwalker.OnPreAttack += Events.Orbwalker_OnPreAttack; Game.OnUpdate += Game_OnUpdate; Drawing.OnDraw += Drawing_OnDraw; Gapcloser.OnGapcloser += Events.Gapcloser_OnGapCloser; Interrupter.OnInterruptableSpell += Events.Interrupter_OnInterruptableSpell; Obj_AI_Base.OnProcessSpellCast += AIHeroClient_OnProcessSpellCast; Obj_AI_Base.OnSpellCast += Obj_AI_Base_OnSpellCast; Obj_AI_Base.OnBasicAttack += Events.ObjAiBaseOnOnBasicAttack; GameObject.OnCreate += Events.GameObject_OnCreate; }
private static void Loading_OnLoadingComplete(EventArgs args) { if (Player.Instance.Hero != Champion.Yasuo) { return; } Menu = MainMenu.AddMenu("YasuoBuddy", "yasuobuddyfluxy"); ComboMenu = Menu.AddSubMenu("Kombo", "yasuCombo"); ComboMenu.AddGroupLabel("Kombo Ayarlari"); ComboMenu.Add("combo.Q", new CheckBox("Kullan Q")); ComboMenu.Add("combo.E", new CheckBox("Kullan E")); ComboMenu.Add("combo.stack", new CheckBox("Biriktir Q")); ComboMenu.Add("combo.leftclickRape", new CheckBox("Sol tiklama ile durt")); ComboMenu.AddSeparator(); ComboMenu.AddLabel("R Ayarlari"); ComboMenu.Add("combo.R", new CheckBox("Kullan R")); ComboMenu.Add("combo.RTarget", new CheckBox("Kullan R secilen hedefe her zaman")); ComboMenu.Add("combo.RKillable", new CheckBox("Kullan R Olucek ise")); ComboMenu.Add("combo.MinTargetsR", new Slider("Kullan R Enaz dusman sayisi", 2, 1, 5)); HarassMenu = Menu.AddSubMenu("Durtme", "yasuHarass"); HarassMenu.AddGroupLabel("Durtme Ayarlari"); HarassMenu.Add("harass.Q", new CheckBox("Kullan Q")); HarassMenu.Add("harass.E", new CheckBox("Kullan E")); HarassMenu.Add("harass.stack", new CheckBox("Biriktir Q")); FarmMenu = Menu.AddSubMenu("Farm Ayarlari", "yasuoFarm"); FarmMenu.AddGroupLabel("Farm Ayarlari"); FarmMenu.AddLabel("SonVurus"); FarmMenu.Add("LH.Q", new CheckBox("Kullan Q")); FarmMenu.Add("LH.E", new CheckBox("Kullan E")); FarmMenu.Add("LH.EUnderTower", new CheckBox("Kullan E Kule altinda", false)); FarmMenu.AddLabel("DalgaTemizleme"); FarmMenu.Add("WC.Q", new CheckBox("Kullan Q")); FarmMenu.Add("WC.E", new CheckBox("Kullan E")); FarmMenu.Add("WC.EUnderTower", new CheckBox("Kullan E Kule altinda", false)); FarmMenu.AddLabel("Orman"); FarmMenu.Add("JNG.Q", new CheckBox("Kullan Q")); FarmMenu.Add("JNG.E", new CheckBox("Kullan E")); FleeMenu = Menu.AddSubMenu("Kacis/Evade", "yasuoFlee"); FleeMenu.AddGroupLabel("Kacis Ayarlari"); FleeMenu.Add("Flee.E", new CheckBox("Kullan E")); FleeMenu.Add("Flee.stack", new CheckBox("Biriktir Q")); FleeMenu.AddGroupLabel("Evade Ayarlari"); FleeMenu.Add("Evade.E", new CheckBox("Kullan E skillden kacmak icin")); FleeMenu.Add("Evade.W", new CheckBox("Kullan W skillden kacmak icin")); FleeMenu.Add("Evade.WDelay", new Slider("Gecikme (ms)", 0, 0, 1000)); MiscSettings = Menu.AddSubMenu("Karisik Ayarlar"); MiscSettings.AddGroupLabel("Oldurme Ayarlari"); MiscSettings.Add("KS.Q", new CheckBox("Kullan Q")); MiscSettings.Add("KS.E", new CheckBox("Kullan E")); MiscSettings.AddGroupLabel("Otomatik Q Ayarlari"); MiscSettings.Add("Auto.Q3", new CheckBox("Kullan Q3")); MiscSettings.Add("Auto.Active", new KeyBind("Otomatik Q Dusmana", false, KeyBind.BindTypes.PressToggle, 'M')); Program.Main(null); DrawMenu = Menu.AddSubMenu("Cizimler", "yasuoDraw"); DrawMenu.AddGroupLabel("Gosterge Ayarlari"); DrawMenu.Add("Draw.Q", new CheckBox("Goster Q Menzili", false)); DrawMenu.AddColourItem("Draw.Q.Colour"); DrawMenu.AddSeparator(); DrawMenu.Add("Draw.E", new CheckBox("Goster E Menzili", false)); DrawMenu.AddColourItem("Draw.E.Colour"); DrawMenu.AddSeparator(); DrawMenu.Add("Draw.R", new CheckBox("Goster R Menzili", false)); DrawMenu.AddColourItem("Draw.R.Colour"); DrawMenu.AddSeparator(); DrawMenu.AddLabel("Asagidan rek secin = "); DrawMenu.AddColourItem("Draw.Down", 7); Game.OnTick += Game_OnTick; Drawing.OnDraw += Drawing_OnDraw; EEvader.Init(); }
static void OnLoadingComplete(EventArgs args) { if (!_Player.ChampionName.Contains("Malphite")) { return; } Chat.Print("Doctor's Malphite Yuklendi Ceviri TekinTR!", Color.Orange); Bootstrap.Init(null); Q = new Spell.Targeted(SpellSlot.Q, 625); W = new Spell.Active(SpellSlot.W, 250); E = new Spell.Active(SpellSlot.E, 400); R = new Spell.Skillshot(SpellSlot.R, 1000, SkillShotType.Circular, 250, 700, 270); Thm = new Font(Drawing.Direct3DDevice, new FontDescription { FaceName = "Tahoma", Height = 32, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType }); Thn = new Font(Drawing.Direct3DDevice, new FontDescription { FaceName = "Tahoma", Height = 20, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType }); Ignite = new Spell.Targeted(_Player.GetSpellSlotFromName("summonerdot"), 600); Menu = MainMenu.AddMenu("Malphite", "Malphite"); Menu.AddGroupLabel("Doctor7"); ComboMenu = Menu.AddSubMenu("Kombo Ayarlari", "Combo"); ComboMenu.AddGroupLabel("Kombo Ayarlari"); ComboMenu.Add("ComboQ", new CheckBox("Kullan [Q]")); ComboMenu.Add("ComboW", new CheckBox("Kullan [W]")); ComboMenu.Add("ComboE", new CheckBox("Kullan [E]")); ComboMenu.Add("DisQ", new Slider("Kullan [Q] dusman uzakligi >", 10, 0, 650)); ComboMenu.AddLabel("[Q] Uzaklik < 125 = Herzaman [Q]"); ComboMenu.AddGroupLabel("Ulti Ayarlari"); ComboMenu.Add("ComboFQ", new KeyBind("Kullan [R] Secilen hedefe", false, KeyBind.BindTypes.HoldActive, 'T')); ComboMenu.Add("ComboR", new CheckBox("Kullan [R] Aoe")); ComboMenu.Add("MinR", new Slider("Kac dusmana isabet etsin [R] Aoe", 3, 1, 5)); ComboMenu.AddGroupLabel("Buyu kesme Ayarlari"); ComboMenu.Add("inter", new CheckBox("Kullan [R]", false)); HarassMenu = Menu.AddSubMenu("Durtme Ayarlari", "Harass"); HarassMenu.AddGroupLabel("Durtme Ayarlari"); HarassMenu.Add("HarassQ", new CheckBox("Kullan [Q] ")); HarassMenu.Add("HarassW", new CheckBox("Kullan [W] ")); HarassMenu.Add("HarassE", new CheckBox("Kullan [E] ")); HarassMenu.Add("DisQ2", new Slider("Kullan [Q] dusman uzakligi >", 350, 0, 650)); HarassMenu.AddLabel("[Q] Uzaklik < 125 = Herzaman [Q]"); HarassMenu.Add("ManaQ", new Slider("Durtmek icin mana", 40)); JungleClearMenu = Menu.AddSubMenu("Orman Ayarlari", "JungleClear"); JungleClearMenu.AddGroupLabel("Orman Ayarlari"); JungleClearMenu.Add("QJungle", new CheckBox("Kullan [Q]")); JungleClearMenu.Add("WJungle", new CheckBox("Kullan [W]")); JungleClearMenu.Add("EJungle", new CheckBox("Kullan [E]")); JungleClearMenu.Add("JungleMana", new Slider("Orman Temizlemek icin mana", 20)); LaneClearMenu = Menu.AddSubMenu("Koridor Ayarlari", "LaneClear"); LaneClearMenu.AddGroupLabel("Koridor Temizleme Ayarlari"); LaneClearMenu.Add("LaneClearQ", new CheckBox("Kullan [Q] ")); LaneClearMenu.Add("LaneClearW", new CheckBox("Kullan [W] ")); LaneClearMenu.Add("LaneClearE", new CheckBox("Kullan [E] ")); LaneClearMenu.Add("ManaLC", new Slider("Koridor temizlemek icin mana", 50)); LaneClearMenu.AddGroupLabel("SonVurus Ayarlari"); LaneClearMenu.Add("LastHitQ", new CheckBox("Kullan [Q] SonVurus")); LaneClearMenu.Add("ManaLH", new Slider("SonVurus icin mana", 50)); KillStealMenu = Menu.AddSubMenu("Oldurme Ayarlari", "KillSteal"); KillStealMenu.AddGroupLabel("Oldurme Ayarlari"); KillStealMenu.Add("KsQ", new CheckBox("Kullan [Q] Oldururken")); KillStealMenu.Add("KsE", new CheckBox("Kullan [E] Oldururken")); KillStealMenu.Add("ign", new CheckBox("Kullan [Tutustur] Oldururken")); KillStealMenu.AddSeparator(); KillStealMenu.AddGroupLabel("Ulti Ayarlari"); KillStealMenu.Add("KsR", new CheckBox("Kullan [R] Oldururken")); KillStealMenu.Add("minKsR", new Slider("En az uzaklik [R] ile oldurmek icin", 100, 1, 1000)); KillStealMenu.Add("RKb", new KeyBind("[R] Yari otomatik tusu", false, KeyBind.BindTypes.HoldActive, 'Y')); KillStealMenu.AddGroupLabel("Onerilen uzaklik 600"); Drawings = Menu.AddSubMenu("Cizim ayarlari", "Draw"); Drawings.AddGroupLabel("Cizim ayarlari"); Drawings.Add("DrawQ", new CheckBox("[Q] Menzilini Goster")); Drawings.Add("DrawE", new CheckBox("[E] Menzilini Goster")); Drawings.Add("DrawR", new CheckBox("[R] Menzilini Goster")); Drawings.Add("DrawRhit", new CheckBox("[R] isabet sayisini Goster")); Drawings.Add("Notifications", new CheckBox("[R] ile Oldurulebilir uyarisini goster")); Drawings.Add("Draw_Disabled", new CheckBox("Cizimleri kapat")); Drawing.OnDraw += Drawing_OnDraw; Game.OnUpdate += Game_OnUpdate; Interrupter.OnInterruptableSpell += Interupt; }
protected override void CreateMenu() { ComboMenu = MenuManager.Menu.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("Combo mode settings for Kog'Maw addon"); ComboMenu.AddLabel("Caustic Spittle (Q) settings :"); ComboMenu.Add("Plugins.KogMaw.ComboMenu.UseQ", new CheckBox("Kullan Q")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Bio-Arcane Barrage (W) settings :"); ComboMenu.Add("Plugins.KogMaw.ComboMenu.UseW", new CheckBox("Kullan W")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Void Ooze (E) settings :"); ComboMenu.Add("Plugins.KogMaw.ComboMenu.UseE", new CheckBox("Kullan E")); ComboMenu.Add("Plugins.KogMaw.ComboMenu.UseEVsGapclosers", new CheckBox("Atilma yapanlara E kullan")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Living Artillery (R) settings :"); ComboMenu.Add("Plugins.KogMaw.ComboMenu.UseR", new CheckBox("Kullan R")); ComboMenu.Add("Plugins.KogMaw.ComboMenu.UseROnlyToKs", new CheckBox("Kullan R sadece oldururken")); ComboMenu.Add("Plugins.KogMaw.ComboMenu.RHitChancePercent", new Slider("R hitchance percent : {0}", 60)); ComboMenu.Add("Plugins.KogMaw.ComboMenu.RAllowedStacks", new Slider("Allowed stacks amount to use", 2, 0, 10)); ComboMenu.Add("Plugins.KogMaw.ComboMenu.RMaxHealth", new Slider("R icin en dusuk dusman saglik yuzdesi", 60)); ComboMenu.AddSeparator(2); ComboMenu.AddLabel( "Minimum health percent to cast R on target. If use R only to kill steal is selected this opction will\nbe ignored."); ComboMenu.AddSeparator(5); HarassMenu = MenuManager.Menu.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("Harass mode settings for Kog'Maw addon"); HarassMenu.AddLabel("Caustic Spittle (Q) settings :"); HarassMenu.Add("Plugins.KogMaw.HarassMenu.UseQ", new CheckBox("Kullan Q")); HarassMenu.Add("Plugins.KogMaw.HarassMenu.MinManaToUseQ", new Slider("Min mana percentage ({0}%) to use Q", 80, 1)); HarassMenu.AddSeparator(5); HarassMenu.AddLabel("Bio-Arcane Barrage (W) settings :"); HarassMenu.Add("Plugins.KogMaw.HarassMenu.UseW", new CheckBox("Kullan W")); HarassMenu.Add("Plugins.KogMaw.HarassMenu.MinManaToUseW", new Slider("Gereken en az mana ({0}%) W kullanmak icin", 40, 1)); HarassMenu.AddSeparator(5); HarassMenu.AddLabel("Living Artillery (R) settings :"); HarassMenu.Add("Plugins.KogMaw.HarassMenu.UseR", new CheckBox("Kullan R")); HarassMenu.Add("Plugins.KogMaw.HarassMenu.RAllowedStacks", new Slider("Kac yuke kadar izin verilsin", 2, 0, 10)); HarassMenu.AddLabel("Use R on :"); foreach (var aiHeroClient in EntityManager.Heroes.Enemies) { HarassMenu.Add("Plugins.KogMaw.HarassMenu.UseR." + aiHeroClient.Hero, new CheckBox(aiHeroClient.Hero.ToString())); } FarmingMenu = MenuManager.Menu.AddSubMenu("Farm"); FarmingMenu.AddGroupLabel("Farm settings for Kog'Maw addon"); FarmingMenu.AddLabel("Caustic Spittle (Q) settings :"); FarmingMenu.Add("Plugins.KogMaw.FarmingMenu.UseQOnUnkillableMinion", new CheckBox("Oldurulemiyecek minyonlara Q kullan")); MenuManager.BuildAntiGapcloserMenu(); DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings"); DrawingsMenu.AddGroupLabel("Drawings settings for Kog'Maw addon"); DrawingsMenu.AddLabel("Basic settings :"); DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready")); DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawInfos", new CheckBox("Draw infos")); DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Caustic Spittle (Q) settings :"); DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawQ", new CheckBox("Goster Q", false)); DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawQColor", new CheckBox("Renk Sec", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[0].Initialize(System.Drawing.Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Bio-Arcane Barrage (W) settings :"); DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawW", new CheckBox("Goster W")); DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawWColor", new CheckBox("Renk Sec", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[1].Initialize(System.Drawing.Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Void Ooze (E) settings :"); DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawE", new CheckBox("Goster E", false)); DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawEColor", new CheckBox("Renk sec", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[2].Initialize(System.Drawing.Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Living Artillery (R) settings :"); DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawR", new CheckBox("Goster R")); DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawRColor", new CheckBox("Renk Sec", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[3].Initialize(System.Drawing.Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); }
private static void Loading_OnLoadingComplete(EventArgs args) { if (Player.Instance.Hero != Champion.Yasuo) { return; } Menu = MainMenu.AddMenu("YasuoBuddy", "yasuobuddyfluxy"); ComboMenu = Menu.AddSubMenu("Combo", "yasuCombo"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.Add("combo.Q", new CheckBox("Use Q")); ComboMenu.Add("combo.E", new CheckBox("Use E")); ComboMenu.Add("combo.stack", new CheckBox("Stack Q")); ComboMenu.Add("combo.leftclickRape", new CheckBox("Left Click Rape")); ComboMenu.AddSeparator(); ComboMenu.AddLabel("R Settings"); ComboMenu.Add("combo.R", new CheckBox("Use R")); ComboMenu.Add("combo.RTarget", new CheckBox("Use R always on Selected Target")); ComboMenu.Add("combo.RKillable", new CheckBox("Use R Execute")); ComboMenu.Add("combo.MinTargetsR", new Slider("Use R Min Targets", 2, 1, 5)); HarassMenu = Menu.AddSubMenu("Harass", "yasuHarass"); HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.Add("harass.Q", new CheckBox("Use Q")); HarassMenu.Add("harass.E", new CheckBox("Use E")); HarassMenu.Add("harass.stack", new CheckBox("Stack Q")); FarmMenu = Menu.AddSubMenu("Farming Settings", "yasuoFarm"); FarmMenu.AddGroupLabel("Farming Settings"); FarmMenu.AddLabel("Last Hit"); FarmMenu.Add("LH.Q", new CheckBox("Use Q")); FarmMenu.Add("LH.E", new CheckBox("Use E")); FarmMenu.Add("LH.EUnderTower", new CheckBox("Use E Under Tower", false)); FarmMenu.AddLabel("WaveClear"); FarmMenu.Add("WC.Q", new CheckBox("Use Q")); FarmMenu.Add("WC.E", new CheckBox("Use E")); FarmMenu.Add("WC.EUnderTower", new CheckBox("Use E Under Tower", false)); FarmMenu.AddLabel("Jungle"); FarmMenu.Add("JNG.Q", new CheckBox("Use Q")); FarmMenu.Add("JNG.E", new CheckBox("Use E")); FleeMenu = Menu.AddSubMenu("Flee/Evade", "yasuoFlee"); FleeMenu.AddGroupLabel("Flee Settings"); FleeMenu.Add("Flee.E", new CheckBox("Use E")); FleeMenu.Add("Flee.stack", new CheckBox("Stack Q")); FleeMenu.AddGroupLabel("Evade Settings"); FleeMenu.Add("Evade.E", new CheckBox("Use E to Evade")); FleeMenu.Add("Evade.W", new CheckBox("Use W to Evade")); FleeMenu.Add("Evade.WDelay", new Slider("Humanizer Delay (ms)", 0, 0, 1000)); MiscSettings = Menu.AddSubMenu("Misc Settings"); MiscSettings.AddGroupLabel("KillSteal Settings"); MiscSettings.Add("KS.Q", new CheckBox("Use Q")); MiscSettings.Add("KS.E", new CheckBox("Use E")); MiscSettings.AddGroupLabel("Auto Q Settings"); MiscSettings.Add("Auto.Q3", new CheckBox("Use Q3")); MiscSettings.Add("Auto.Active", new KeyBind("Auto Q Enemy", false, KeyBind.BindTypes.PressToggle, 'M')); Program.Main(null); DrawMenu = Menu.AddSubMenu("Draw", "yasuoDraw"); DrawMenu.AddGroupLabel("Draw Settings"); DrawMenu.Add("Draw.Q", new CheckBox("Draw Q", false)); DrawMenu.AddColourItem("Draw.Q.Colour"); DrawMenu.AddSeparator(); DrawMenu.Add("Draw.E", new CheckBox("Draw E", false)); DrawMenu.AddColourItem("Draw.E.Colour"); DrawMenu.AddSeparator(); DrawMenu.Add("Draw.R", new CheckBox("Draw R", false)); DrawMenu.AddColourItem("Draw.R.Colour"); DrawMenu.AddSeparator(); DrawMenu.AddLabel("When Spell is Down Colour = "); DrawMenu.AddColourItem("Draw.Down", 7); Game.OnTick += Game_OnTick; Drawing.OnDraw += Drawing_OnDraw; EEvader.Init(); }
protected override void CreateMenu() { ComboMenu = MenuManager.Menu.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("Combo mode settings for Tristana addon"); ComboMenu.AddLabel("Rapid Fire (Q) settings :"); ComboMenu.Add("Plugins.Tristana.ComboMenu.UseQ", new CheckBox("Use Q")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Rocket Jump (W) settings :"); ComboMenu.Add("Plugins.Tristana.ComboMenu.UseW", new CheckBox("Use W", false)); ComboMenu.AddLabel("Only if W - E - R combo will kill an enemy"); ComboMenu.AddSeparator(2); ComboMenu.Add("Plugins.Tristana.ComboMenu.UseWVsGapclosers", new CheckBox("Use W against gapclosers")); Keybind = ComboMenu.Add("Plugins.Tristana.ComboMenu.DoubleWKeybind", new KeyBind("Perform double W combo", false, KeyBind.BindTypes.HoldActive, 'A')); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Explosive Charge (E) settings :"); ComboMenu.Add("Plugins.Tristana.ComboMenu.UseE", new CheckBox("Use E")); ComboMenu.Add("Plugins.Tristana.ComboMenu.FocusE", new CheckBox("Focus target with E first")); ComboMenu.AddSeparator(2); ComboMenu.AddLabel("Champion's whitelist :"); foreach (var enemy in EntityManager.Heroes.Enemies) { ComboMenu.Add("Plugins.Tristana.ComboMenu.UseEOn." + enemy.Hero, new CheckBox(enemy.Hero == Champion.MonkeyKing ? "Wukong" : enemy.ChampionName)); } ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Buster Shot (R) settings :"); ComboMenu.Add("Plugins.Tristana.ComboMenu.UseR", new CheckBox("Use R to killsteal")); ComboMenu.Add("Plugins.Tristana.ComboMenu.UseRVsMelees", new CheckBox("Use R against melees")); ComboMenu.Add("Plugins.Tristana.ComboMenu.UseRVsInterruptible", new CheckBox("Use R to interrupt")); ComboMenu.Add("Plugins.Tristana.ComboMenu.UseRVsGapclosers", new CheckBox("Use R against gapclosers")); ComboMenu.AddSeparator(5); LaneClearMenu = MenuManager.Menu.AddSubMenu("Clear"); LaneClearMenu.AddGroupLabel("Lane clear settings for Tristana addon"); LaneClearMenu.AddLabel("Basic settings :"); LaneClearMenu.Add("Plugins.Tristana.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Enable lane clear only if no enemies nearby")); var scanRange = LaneClearMenu.Add("Plugins.Tristana.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.Tristana.LaneClearMenu.AllowedEnemies", new Slider("Allowed enemies amount", 1, 0, 5)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Rapid Fire (Q) settings :"); LaneClearMenu.Add("Plugins.Tristana.LaneClearMenu.UseQInLaneClear", new CheckBox("Use Q in Lane Clear")); LaneClearMenu.Add("Plugins.Tristana.LaneClearMenu.UseQInJungleClear", new CheckBox("Use Q in Jungle Clear")); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Explosive Charge (E) settings :"); LaneClearMenu.Add("Plugins.Tristana.LaneClearMenu.UseEInLaneClear", new CheckBox("Use E in Lane Clear")); LaneClearMenu.Add("Plugins.Tristana.LaneClearMenu.UseEInJungleClear", new CheckBox("Use E in Jungle Clear")); LaneClearMenu.Add("Plugins.Tristana.LaneClearMenu.UseEOnTowers", new CheckBox("Use E on Towers")); LaneClearMenu.Add("Plugins.Tristana.LaneClearMenu.MinManaE", new Slider("Min mana percentage ({0}%) to use E", 80, 1)); MenuManager.BuildAntiGapcloserMenu(); MenuManager.BuildInterrupterMenu(); DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings"); DrawingsMenu.AddGroupLabel("Drawings settings for Tristana addon"); DrawingsMenu.AddLabel("Basic settings :"); DrawingsMenu.Add("Plugins.Tristana.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready")); DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Rocket Jump (W) settings :"); DrawingsMenu.Add("Plugins.Tristana.DrawingsMenu.DrawW", new CheckBox("Draw W range")); DrawingsMenu.Add("Plugins.Tristana.DrawingsMenu.DrawWColor", 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.Add("Plugins.Tristana.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.Tristana.DrawingsMenu.InfoColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[1].Initialize(System.Drawing.Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddLabel("Draws damage indicator and buff duration"); }
static Brand() { try { Q = new Spell.Skillshot(SpellSlot.Q, 1000, SkillShotType.Linear, 250, 1600, 120); W = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Circular, 650, -1, 200); E = new Spell.Targeted(SpellSlot.E, 630); R = new Spell.Targeted(SpellSlot.R, 750); SpellList.Add(Q); SpellList.Add(W); SpellList.Add(E); SpellList.Add(R); Menuini = MainMenu.AddMenu("Brand", "Brand"); AutoMenu = Menuini.AddSubMenu("Auto"); ComboMenu = Menuini.AddSubMenu("Combo"); HarassMenu = Menuini.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("Harass"); LaneClearMenu = Menuini.AddSubMenu("LaneClear"); LaneClearMenu.AddGroupLabel("LaneClear"); JungleClearMenu = Menuini.AddSubMenu("JungleClear"); JungleClearMenu.AddGroupLabel("JungleClear"); KillStealMenu = Menuini.AddSubMenu("Stealer"); DrawMenu = Menuini.AddSubMenu("Drawings"); ColorMenu = Menuini.AddSubMenu("Colors"); foreach (var spell in SpellList.Where(s => s != E && s != R)) { Menuini.Add(spell.Slot + "hit", new ComboBox(spell.Slot + " HitChance", 0, "High", "Medium", "Low")); Menuini.AddSeparator(0); } AutoMenu.AddGroupLabel("Auto Settings"); AutoMenu.Add("AutoR", new Slider("Auto R AoE hit [{0}] Targets or more", 2, 1, 6)); AutoMenu.Add("Gap", new CheckBox("Anti GapCloser")); AutoMenu.Add("Int", new CheckBox("Auto Interrupter")); AutoMenu.Add("Danger", new ComboBox("Interrupter Danger Level", 1, "High", "Medium", "Low")); AutoMenu.AddSeparator(0); AutoMenu.AddGroupLabel("Auto Hit Passive"); AutoMenu.Add("AutoQ", new CheckBox("Auto Q Dotnate Passive")); AutoMenu.Add("AutoW", new CheckBox("Auto W Dotnate Passive", false)); AutoMenu.Add("AutoE", new CheckBox("Auto E Dotnate Passive")); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.Add("Q", new CheckBox("Use Q")); ComboMenu.AddLabel("Extra Q Settings"); ComboMenu.Add("Qp", new CheckBox("Q Only for stun")); ComboMenu.Add(Q.Slot + "mana", new Slider("Use Q if Mana% is more than [{0}%]", 10)); ComboMenu.AddSeparator(1); ComboMenu.Add("W", new CheckBox("Use W")); ComboMenu.AddLabel("Extra W Settings"); ComboMenu.Add("Wp", new CheckBox("W Only if target has brand passive", false)); ComboMenu.Add(W.Slot + "mana", new Slider("Use W if Mana% is more than [{0}%]", 5)); ComboMenu.AddSeparator(1); ComboMenu.Add("E", new CheckBox("Use E")); ComboMenu.AddLabel("Extra E Settings"); ComboMenu.Add("Ep", new CheckBox("E Only if target has brand passive", false)); ComboMenu.Add(E.Slot + "mana", new Slider("Use E if Mana% is more than [{0}%]", 15)); ComboMenu.AddSeparator(1); ComboMenu.Add("RFinisher", new CheckBox("Use R Finisher")); ComboMenu.Add("RAoe", new CheckBox("Use R Aoe")); ComboMenu.Add("Rhit", new Slider("R AoE hit [{0}] Targets or more", 2, 1, 6)); ComboMenu.Add(R.Slot + "mana", new Slider("Use R if Mana% is more than [{0}%]")); foreach (var spell in SpellList.Where(s => s.Slot != SpellSlot.R)) { HarassMenu.Add(spell.Slot.ToString(), new CheckBox("Use " + spell.Slot)); HarassMenu.Add(spell.Slot + "mana", new Slider("Use " + spell.Slot + " if Mana% is more than [{0}%]", 65)); HarassMenu.AddSeparator(1); LaneClearMenu.Add(spell.Slot.ToString(), new CheckBox("Use " + spell.Slot)); LaneClearMenu.Add(spell.Slot + "mana", new Slider("Use " + spell.Slot + " if Mana% is more than [{0}%]", 65)); LaneClearMenu.AddSeparator(1); JungleClearMenu.Add(spell.Slot.ToString(), new CheckBox("Use " + spell.Slot)); JungleClearMenu.Add(spell.Slot + "mana", new Slider("Use " + spell.Slot + " if Mana% is more than [{0}%]", 65)); JungleClearMenu.AddSeparator(1); } KillStealMenu.AddGroupLabel("KillSteal"); foreach (var spell in SpellList) { KillStealMenu.Add(spell.Slot + "ks", new CheckBox("Use " + spell.Slot)); } KillStealMenu.AddSeparator(0); KillStealMenu.AddGroupLabel("JungleSteal"); foreach (var spell in SpellList) { KillStealMenu.Add(spell.Slot + "js", new CheckBox("Use " + spell.Slot)); } DrawMenu.AddGroupLabel("Drawings"); DrawMenu.Add("damage", new CheckBox("Draw Combo Damage")); DrawMenu.AddLabel("Draws = ComboDamage / Enemy Current Health"); DrawMenu.AddSeparator(1); foreach (var spell in SpellList) { DrawMenu.Add(spell.Slot.ToString(), new CheckBox(spell.Slot + " Range")); ColorMenu.Add(spell.Slot.ToString(), new ColorPicker(spell.Slot + " Color", System.Drawing.Color.Chartreuse)); } Gapcloser.OnGapcloser += Gapcloser_OnGapcloser; Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell; Orbwalker.OnUnkillableMinion += Orbwalker_OnUnkillableMinion; } catch (Exception e) { Common.Log(e.ToString()); } }
protected override void CreateMenu() { ComboMenu = MenuManager.Menu.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("EZ 连招 设置"); ComboMenu.AddLabel("Q设置 :"); ComboMenu.Add("Plugins.Ezreal.ComboMenu.UseQ", new CheckBox("Use Q")); ComboMenu.Add("Plugins.Ezreal.ComboMenu.UseQOnImmobile", new CheckBox("自动Q不动的敌人")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("W设置 :"); ComboMenu.Add("Plugins.Ezreal.ComboMenu.UseW", new CheckBox("Use W")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("E设置 :"); ComboMenu.Add("Plugins.Ezreal.ComboMenu.UseE", new CheckBox("Use E")); ComboMenu.AddSeparator(2); ComboMenu.Add("Plugins.Ezreal.ComboMenu.WEComboKeybind", new KeyBind("W => E 连招", false, KeyBind.BindTypes.HoldActive, 'T')); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("R设置 :"); ComboMenu.Add("Plugins.Ezreal.ComboMenu.UseR", new CheckBox("Use R")); ComboMenu.Add("Plugins.Ezreal.ComboMenu.UseRToKillsteal", new CheckBox("仅在能杀死的时候使用R")); ComboMenu.Add("Plugins.Ezreal.ComboMenu.RMinEnemiesHit", new Slider("能打中 {0} 人的时候使用R", 3, 1, 5)); ComboMenu.Add("Plugins.Ezreal.ComboMenu.RKeybind", new KeyBind("手动R 热键", false, KeyBind.BindTypes.HoldActive, 'T')); HarassMenu = MenuManager.Menu.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("EZ 骚扰 设置"); HarassMenu.AddLabel("Q设置 :"); HarassMenu.Add("Plugins.Ezreal.HarassMenu.UseQ", new KeyBind("自动骚扰热键", false, KeyBind.BindTypes.PressToggle, 'A')).OnValueChange += (sender, args) => { AutoHarassItem.Value = args.NewValue; }; HarassMenu.AddLabel("W设置 :"); HarassMenu.Add("Plugins.Ezreal.HarassMenu.UseW", new KeyBind("Enable auto harass", false, KeyBind.BindTypes.PressToggle, 'H')).OnValueChange += (sender, args) => { AutoHarassItem2.Value = args.NewValue; }; HarassMenu.Add("Plugins.Ezreal.HarassMenu.MinManaQ", new Slider("最小蓝 百分比 ({0}%) 自动骚扰", 30, 1)); HarassMenu.AddSeparator(5); HarassMenu.AddLabel("自动骚扰开启"); foreach (var enemy in EntityManager.Heroes.Enemies) { HarassMenu.Add("Plugins.Ezreal.HarassMenu.UseQ." + enemy.Hero, new CheckBox(enemy.ChampionName == "MonkeyKing" ? "Wukong" : enemy.ChampionName)); } LaneClearMenu = MenuManager.Menu.AddSubMenu("Clear"); LaneClearMenu.AddGroupLabel("EZ 清线 设置"); LaneClearMenu.AddLabel("基本设置 :"); LaneClearMenu.Add("Plugins.Ezreal.LaneClearMenu.EnableLCIfNoEn", new CheckBox("只有附近没有敌人才能启用清线", false)); var scanRange = LaneClearMenu.Add("Plugins.Ezreal.LaneClearMenu.ScanRange", new Slider("扫描敌人范围", 1500, 300, 2500)); scanRange.OnValueChange += (a, b) => { _changingRangeScan = true; Core.DelayAction(() => { if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside) { _changingRangeScan = false; } }, 2000); }; LaneClearMenu.Add("Plugins.Ezreal.LaneClearMenu.AllowedEnemies", new Slider("敌人数量", 1, 0, 5)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Q设置 :"); LaneClearMenu.Add("Plugins.Ezreal.LaneClearMenu.UseQInLaneClear", new CheckBox("Use Q in Lane Clear")); LaneClearMenu.Add("Plugins.Ezreal.LaneClearMenu.LaneClearQMode", new ComboBox("Q 清线模式: ", 0, "只补能杀死的", "推线模式")); LaneClearMenu.AddSeparator(5); LaneClearMenu.Add("Plugins.Ezreal.LaneClearMenu.UseQInJungleClear", new CheckBox("Use Q in Jungle Clear")); LaneClearMenu.Add("Plugins.Ezreal.LaneClearMenu.MinManaQ", new Slider("最小蓝 百分比 ({0}%) 使用Q", 50, 1)); MiscMenu = MenuManager.Menu.AddSubMenu("Misc"); MiscMenu.AddGroupLabel("EZ 其他 设置"); MiscMenu.AddLabel("基本设置 :"); MiscMenu.Add("Plugins.Ezreal.MiscMenu.EnableKillsteal", new CheckBox("Enable Killsteal")); MiscMenu.AddSeparator(2); MiscMenu.Add("Plugins.Ezreal.MiscMenu.KeepPassiveStacks", new CheckBox("如果可以 保持被动成数")); MiscMenu.AddSeparator(5); MiscMenu.AddLabel("W设置 :"); MiscMenu.Add("Plugins.Ezreal.MiscMenu.WToPushTowers", new CheckBox("W队友推塔")); MiscMenu.AddSeparator(5); MiscMenu.AddLabel("E设置 :"); MiscMenu.Add("Plugins.Ezreal.MiscMenu.EAntiMelee", new CheckBox("使用E反突进")); MiscMenu.AddSeparator(5); MiscMenu.AddLabel("R设置 :"); MiscMenu.Add("Plugins.Ezreal.MiscMenu.MaxRRangeKillsteal", new Slider("使用R击杀敌人的范围", 8000, 0, 20000)); MiscMenu.AddSeparator(5); MiscMenu.AddLabel("Tear Stacker settings :"); MiscMenu.Add("Plugins.Ezreal.MiscMenu.EnableTearStacker", new CheckBox("自动叠眼泪")).OnValueChange += (a, b) => { TearStacker.Enabled = b.NewValue; }; MiscMenu.Add("Plugins.Ezreal.MiscMenu.StackOnlyInFountain", new CheckBox("只有在泉水叠眼泪", false)).OnValueChange += (a, b) => { TearStacker.OnlyInFountain = b.NewValue; }; MiscMenu.Add("Plugins.Ezreal.MiscMenu.MinimalManaPercentTearStacker", new Slider("最小蓝 百分比 ({0}%) 自动叠眼泪", 50)).OnValueChange += (a, b) => { TearStacker.MinimumManaPercent = b.NewValue; }; MiscMenu.AddSeparator(5); DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings"); DrawingsMenu.AddGroupLabel("Drawings settings for Ezreal addon"); DrawingsMenu.AddLabel("Basic settings :"); DrawingsMenu.Add("Plugins.Ezreal.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready")); DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Mystic Shot (Q) settings :"); DrawingsMenu.Add("Plugins.Ezreal.DrawingsMenu.DrawQ", new CheckBox("Draw Q range")); DrawingsMenu.Add("Plugins.Ezreal.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("Essence Flux (W) settings :"); DrawingsMenu.Add("Plugins.Ezreal.DrawingsMenu.DrawW", new CheckBox("Draw W range", false)); DrawingsMenu.Add("Plugins.Ezreal.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("Arcane Shift (E) settings :"); DrawingsMenu.Add("Plugins.Ezreal.DrawingsMenu.DrawE", new CheckBox("Draw E range", false)); DrawingsMenu.Add("Plugins.Ezreal.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.AddLabel("Damage indicator settings :"); DrawingsMenu.Add("Plugins.Ezreal.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.Ezreal.DrawingsMenu.DamageIndicatorColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[3].Initialize(System.Drawing.Color.Aquamarine); a.CurrentValue = false; }; TearStacker.Enabled = Settings.Misc.EnableTearStacker; TearStacker.OnlyInFountain = Settings.Misc.StackOnlyInFountain; TearStacker.MinimumManaPercent = Settings.Misc.MinimalManaPercentTearStacker; AutoHarassItem = MenuManager.PermaShow.AddItem("Ezreal.AutoHarass", new BoolItem("Auto harass with Q", Settings.Harass.UseQ)); AutoHarassItem2 = MenuManager.PermaShow.AddItem("Ezreal.AutoHarassW", new BoolItem("Auto harass with W", Settings.Harass.UseW)); }
public static void Combomenu() { ComboMenu = VMenu.AddSubMenu("Combo", "Combo"); ComboMenu.AddGroupLabel("Combo"); ComboMenu.AddGroupLabel("Q Mode"); ComboMenu.AddLabel("Smart mode disabled. Use New or Old."); var qmode = ComboMenu.Add("Qmode", new ComboBox("Q Mode", 4, "Mouse", "Smart(disabled)", "Kite", "Old", "New")); qmode.OnValueChange += delegate { if (qmode.CurrentValue == 1) { Qsettings["UseSafeQ"].IsVisible = true; Qsettings["UseQE"].IsVisible = true; Qsettings["QE"].IsVisible = true; Qsettings["UseQspam"].IsVisible = true; Qsettings["QNmode"].IsVisible = false; Qsettings["QNenemies"].IsVisible = false; Qsettings["QNWall"].IsVisible = false; Qsettings["QNTurret"].IsVisible = false; } if (qmode.CurrentValue == 3) { Qsettings["UseSafeQ"].IsVisible = false; Qsettings["UseQE"].IsVisible = false; Qsettings["QE"].IsVisible = false; Qsettings["UseQspam"].IsVisible = false; Qsettings["QNmode"].IsVisible = false; Qsettings["QNenemies"].IsVisible = false; Qsettings["QNWall"].IsVisible = false; Qsettings["QNTurret"].IsVisible = false; } if (qmode.CurrentValue == 2) { Qsettings["UseSafeQ"].IsVisible = false; Qsettings["UseQE"].IsVisible = false; Qsettings["QE"].IsVisible = false; Qsettings["UseQspam"].IsVisible = false; Qsettings["QNmode"].IsVisible = false; Qsettings["QNenemies"].IsVisible = false; Qsettings["QNWall"].IsVisible = false; Qsettings["QNTurret"].IsVisible = false; } if (qmode.CurrentValue == 0) { Qsettings["UseSafeQ"].IsVisible = false; Qsettings["UseQE"].IsVisible = false; Qsettings["QE"].IsVisible = false; Qsettings["UseQspam"].IsVisible = false; Qsettings["QNmode"].IsVisible = false; Qsettings["QNenemies"].IsVisible = false; Qsettings["QNWall"].IsVisible = false; Qsettings["QNTurret"].IsVisible = false; } if (qmode.CurrentValue == 4) { Qsettings["UseSafeQ"].IsVisible = false; Qsettings["UseQE"].IsVisible = false; Qsettings["QE"].IsVisible = false; Qsettings["UseQspam"].IsVisible = false; Qsettings["QNmode"].IsVisible = true; Qsettings["QNenemies"].IsVisible = true; Qsettings["QNWall"].IsVisible = true; Qsettings["QNTurret"].IsVisible = true; } }; ComboMenu.Add("Qmode2", new ComboBox("Smart Mode", 0, "Aggressive", "Defensive")); ComboMenu.Add("UseQwhen", new ComboBox("Use Q", 0, "After Attack", "Before Attack", "Never")); ComboMenu.AddGroupLabel("AA Resets"); ComboMenu.AddLabel("Once you untick´d the AA Reset you have to reload[F5]"); ComboMenu.Add("AAReset", new CheckBox("Use custom Orbwalk for faster Kite")); ComboMenu.AddLabel("If your AA´s Cancel use this or deactivate the custom Orbwalk."); ComboMenu.Add("AACancel", new Slider("AA Cancel", 0, 0, 20)); ComboMenu.AddGroupLabel("W Settings"); ComboMenu.Add("focusw", new CheckBox("Focus W", false)); ComboMenu.AddGroupLabel("E Settings"); ComboMenu.Add("Ekill", new CheckBox("Use E if killable?")); ComboMenu.Add("comboUseE", new CheckBox("Use E")); ComboMenu.AddGroupLabel("R Settings"); ComboMenu.Add("comboUseR", new CheckBox("Use R", false)); ComboMenu.Add("comboRSlider", new Slider("Use R if", 2, 1, 5)); ComboMenu.Add("RnoAA", new CheckBox("No AA while stealth", false)); ComboMenu.Add("RnoAAs", new Slider("No AA stealth when >= enemy in range", 2, 0, 5)); }
protected override void CreateMenu() { ComboMenu = MenuManager.Menu.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("Combo mode settings for Varus addon"); ComboMenu.AddLabel("Piercing Arrow (Q) settings :"); ComboMenu.Add("Plugins.Varus.ComboMenu.UseQ", new CheckBox("Use Q")); var qrange = ComboMenu.Add("Plugins.Varus.ComboMenu.QMinDistanceToTarget", new Slider("Minimum distance to target to use Q", 500, 0, 1250)); qrange.OnValueChange += (a, b) => { _changingRangeQ = true; Core.DelayAction(() => { if (!qrange.IsLeftMouseDown && !qrange.IsMouseInside) { _changingRangeQ = false; } }, 2000); }; ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Hail of Arrows (E) settings :"); ComboMenu.Add("Plugins.Varus.ComboMenu.UseE", new CheckBox("Use E")); ComboMenu.Add("Plugins.Varus.ComboMenu.UseEToProc", new CheckBox("Use E only to proc 3rd W stack", false)); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Chain of Corruption (R) settings :"); ComboMenu.Add("Plugins.Varus.ComboMenu.UseR", new CheckBox("Use R", false)); ComboMenu.Add("Plugins.Varus.ComboMenu.RKeybind", new KeyBind("Manual R keybind", false, KeyBind.BindTypes.HoldActive, 'W')); HarassMenu = MenuManager.Menu.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("Harass mode settings for Varus addon"); HarassMenu.AddLabel("Piercing Arrow (Q) settings :"); HarassMenu.Add("Plugins.Varus.HarassMenu.AutoHarass", new KeyBind("Enable AutoHarass with Q", false, KeyBind.BindTypes.PressToggle, 'T')).OnValueChange += (sender, args) => { AutoHarass.Value = args.NewValue; }; HarassMenu.Add("Plugins.Varus.HarassMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1)); HarassMenu.AddSeparator(2); if (EntityManager.Heroes.Enemies.Any()) { HarassMenu.AddLabel("Enable auto harras for : "); EntityManager.Heroes.Enemies.ForEach(x => HarassMenu.Add("Plugins.Varus.HarassMenu.AutoHarassEnabled." + x.ChampionName, new CheckBox(x.ChampionName == "MonkeyKing" ? "Wukong" : x.ChampionName))); } LaneClearMenu = MenuManager.Menu.AddSubMenu("Clear"); LaneClearMenu.AddGroupLabel("Lane clear settings for Varus addon"); LaneClearMenu.AddLabel("Basic settings :"); LaneClearMenu.Add("Plugins.Varus.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Enable lane clear only if no enemies nearby")); var scanRange = LaneClearMenu.Add("Plugins.Varus.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.Varus.LaneClearMenu.AllowedEnemies", new Slider("Allowed enemies amount", 1, 0, 5)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Lane clear settings :"); LaneClearMenu.Add("Plugins.Varus.LaneClearMenu.UseQInLaneClear", new CheckBox("Use Q in Lane clear", false)); LaneClearMenu.Add("Plugins.Varus.LaneClearMenu.MinMinionsHitQ", new Slider("Min minions hit to use Q", 3, 1, 6)); LaneClearMenu.Add("Plugins.Varus.LaneClearMenu.UseEInLaneClear", new CheckBox("Use E in Lane clear", false)); LaneClearMenu.Add("Plugins.Varus.LaneClearMenu.MinMinionsHitE", new Slider("Min minions hit to use E", 3, 1, 6)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Jungle clear settings :"); LaneClearMenu.Add("Plugins.Varus.LaneClearMenu.UseQInJungleClear", new CheckBox("Use Q in Jungle clear", false)); LaneClearMenu.Add("Plugins.Varus.LaneClearMenu.UseEInJungleClear", new CheckBox("Use E in Jungle clear")); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Mana settings :"); LaneClearMenu.Add("Plugins.Varus.LaneClearMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1)); LaneClearMenu.Add("Plugins.Varus.LaneClearMenu.MinManaE", new Slider("Min mana percentage ({0}%) to use E", 50, 1)); MiscMenu = MenuManager.Menu.AddSubMenu("Misc"); MiscMenu.AddGroupLabel("Misc settings for Varus addon"); MiscMenu.AddLabel("Basic settings :"); MiscMenu.Add("Plugins.Varus.MiscMenu.EnableKillsteal", new CheckBox("Enable Killsteal")); MenuManager.BuildAntiGapcloserMenu(); DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings"); DrawingsMenu.AddGroupLabel("Drawings settings for Varus addon"); DrawingsMenu.AddLabel("Basic settings :"); DrawingsMenu.Add("Plugins.Varus.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready")); DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Piercing Arrow (Q) settings :"); DrawingsMenu.Add("Plugins.Varus.DrawingsMenu.DrawQ", new CheckBox("Draw Q range")); DrawingsMenu.Add("Plugins.Varus.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("Hail of Arrows (E) settings :"); DrawingsMenu.Add("Plugins.Varus.DrawingsMenu.DrawE", new CheckBox("Draw E range", false)); DrawingsMenu.Add("Plugins.Varus.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("Chain of Corruption (R) settings :"); DrawingsMenu.Add("Plugins.Varus.DrawingsMenu.DrawR", new CheckBox("Draw R range", false)); DrawingsMenu.Add("Plugins.Varus.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.Varus.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.Varus.DrawingsMenu.DamageIndicatorColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[3].Initialize(System.Drawing.Color.Aquamarine); a.CurrentValue = false; }; AutoHarass = MenuManager.PermaShow.AddItem("Varus.AutoHarass", new BoolItem("Enable auto harass with Q", Settings.Harass.AutoHarassWithQ)); }
public static void LoadMenu() { Bootstrap.Init(null); Menu = MainMenu.AddMenu("Lazy Lucian", "LazyLucian"); Menu.AddGroupLabel("Lazy Lucian"); Menu.AddLabel("by DamnedNooB"); Menu.AddSeparator(); //------------------------------------------------------------------------------------------------------------------- /* * _____ _ __ __ * / ____| | | | \/ | * | | ___ _ __ ___ | |__ ___ | \ / | ___ _ __ _ _ * | | / _ \| '_ ` _ \| '_ \ / _ \ | |\/| |/ _ \ '_ \| | | | * | |___| (_) | | | | | | |_) | (_) | | | | | __/ | | | |_| | * \_____\___/|_| |_| |_|_.__/ \___/ |_| |_|\___|_| |_|\__,_| * * */ ComboMenu = Menu.AddSubMenu("Combo", "Combo"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.AddLabel("Q - Piercing Light"); ComboMenu.Add("useQcombo", new CheckBox("Use in Combo")); ComboMenu.Add("useQextended", new CheckBox("Use extended Q in Combo")); ComboMenu.Add("qMana", new Slider("Min Mana to use: ", 20, 1)); ComboMenu.AddSeparator(); ComboMenu.AddLabel("W - Ardent Blaze"); ComboMenu.Add("useWaaRange", new CheckBox("Use in AA - Range")); ComboMenu.Add("useWalways", new CheckBox("Use out of AA - Range")); ComboMenu.Add("wMana", new Slider("Min Mana to use: ", 20, 1)); ComboMenu.AddSeparator(); ComboMenu.AddLabel("E - Relentless Pursuit"); ComboMenu.Add("useEcombo", new CheckBox("Use E Logic")); ComboMenu.Add("useEmouse", new CheckBox("Use E to Mouse")); ComboMenu.Add("eMana", new Slider("Min Mana to use: ", 20, 1)); ComboMenu.AddSeparator(); ComboMenu.AddLabel("R - The Culling"); ComboMenu.Add("useRkillable", new CheckBox("Use if target is killable")); ComboMenu.Add("useRlock", new CheckBox("Lock on Target")); //ComboMenu.Add("rMana", new Slider("Min Mana to use: ", 20, 1)); ComboMenu.AddSeparator(); ComboMenu.AddLabel("Misc Settings (Combo)"); ComboMenu.Add("spellWeaving", new CheckBox("Use Passive (Spellweaving)")); ComboMenu.Add("useYoumuu", new CheckBox("Use Youmuu's GhostBlade for The Culling")); //------------------------------------------------------------------------------------------------------------------- /* * _ _ __ __ * | | | | | \/ | * | |__| | __ _ _ __ __ _ ___ ___ | \ / | ___ _ __ _ _ * | __ |/ _` | '__/ _` / __/ __| | |\/| |/ _ \ '_ \| | | | * | | | | (_| | | | (_| \__ \__ \ | | | | __/ | | | |_| | * |_| |_|\__,_|_| \__,_|___/___/ |_| |_|\___|_| |_|\__,_| * * */ HarassMenu = Menu.AddSubMenu("Harass", "Harass"); HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.AddLabel("Q - Piercing Light"); HarassMenu.Add("useQharass", new CheckBox("Use in Harass")); HarassMenu.Add("useQextended", new CheckBox("Use extended Q in Harass")); HarassMenu.Add("qMana", new Slider("Min Mana to use: ", 20, 1)); HarassMenu.AddSeparator(); HarassMenu.AddLabel("W - Ardent Blaze"); HarassMenu.Add("useWaaRange", new CheckBox("Use in AA - Range")); HarassMenu.Add("useWalways", new CheckBox("Use out of AA - Range")); HarassMenu.Add("wMana", new Slider("Min Mana to use: ", 20, 1)); HarassMenu.AddSeparator(); HarassMenu.AddLabel("Misc Settings (Harass)"); //HarassMenu.Add("manaCheck", new CheckBox("")); // soon(TM) HarassMenu.Add("spellWeaving", new CheckBox("Use Passive (Spellweaving)")); //------------------------------------------------------------------------------------------------------------------- /* * ______ __ __ * | ____| | \/ | * | |__ __ _ _ __ _ __ ___ | \ / | ___ _ __ _ _ * | __/ _` | '__| '_ ` _ \ | |\/| |/ _ \ '_ \| | | | * | | | (_| | | | | | | | | | | | | __/ | | | |_| | * |_| \__,_|_| |_| |_| |_| |_| |_|\___|_| |_|\__,_| * * */ FarmMenu = Menu.AddSubMenu("Farm", "Farm"); FarmMenu.AddGroupLabel("Farm Settings"); FarmMenu.AddLabel("Q - Piercing Light"); FarmMenu.Add("useQfarm", new CheckBox("Use in LaneClear")); FarmMenu.Add("qManaLane", new Slider("Min Mana to use in LaneClear: ", 20, 1)); FarmMenu.Add("qMinionsLane", new Slider("Min Minions to use in LaneClear: ", 3, 1, 5)); FarmMenu.AddSeparator(); FarmMenu.Add("useQjungle", new CheckBox("Use in JungleClear")); FarmMenu.Add("qManaJungle", new Slider("Min Mana to use in JungleClear: ", 20, 1)); FarmMenu.AddSeparator(); FarmMenu.AddLabel("W - Ardent Blaze"); FarmMenu.Add("useWfarm", new CheckBox("Use in LaneClear")); FarmMenu.Add("wManaLane", new Slider("Min Mana to use in LaneClear: ", 20, 1)); FarmMenu.AddSeparator(); FarmMenu.Add("useWjungle", new CheckBox("Use in JungleClear")); FarmMenu.Add("wManaJungle", new Slider("Min Mana to use in JungleClear: ", 20, 1)); FarmMenu.AddSeparator(); FarmMenu.AddLabel("Misc Settings (Farm)"); FarmMenu.Add("spellWeaving", new CheckBox("Use Passive (Spellweaving)")); //------------------------------------------------------------------------------------------------------------------- /* * __ __ _ __ __ * | \/ (_) | \/ | * | \ / |_ ___ ___ | \ / | ___ _ __ _ _ * | |\/| | / __|/ __| | |\/| |/ _ \ '_ \| | | | * | | | | \__ \ (__ | | | | __/ | | | |_| | * |_| |_|_|___/\___| |_| |_|\___|_| |_|\__,_| * * */ MiscMenu = Menu.AddSubMenu("Misc", "Misc"); MiscMenu.AddGroupLabel("Miscellaneous Settings"); MiscMenu.AddLabel("Anti Gapcloser Settings"); MiscMenu.Add("gapcloser", new CheckBox("Use E - to avoid non targeted")); MiscMenu.Add("gapcloserT", new CheckBox("Use E - to avoid targeted")); MiscMenu.AddSeparator(); MiscMenu.AddGroupLabel("Other Settings"); MiscMenu.Add("useKs", new CheckBox("Use KillSecure - Logic")); //------------------------------------------------------------------------------------------------------------------- /* * _____ __ __ * | __ \ | \/ | * | | | |_ __ __ ___ __ | \ / | ___ _ __ _ _ * | | | | '__/ _` \ \ /\ / / | |\/| |/ _ \ '_ \| | | | * | |__| | | | (_| |\ V V / | | | | __/ | | | |_| | * |_____/|_| \__,_| \_/\_/ |_| |_|\___|_| |_|\__,_| * * */ DrawMenu = Menu.AddSubMenu("Draw", "Draw"); DrawMenu.AddGroupLabel("Draw Settings"); DrawMenu.AddLabel("Spell Ranges"); DrawMenu.Add("drawQ", new CheckBox("Draw Q Range")); DrawMenu.Add("drawQextended", new CheckBox("Draw Extended 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")); //------------------------------------------------------------------------------------------------------------------- /* * ______ _ * | ____| | | * | |____ _____ _ __ | |_ ___ * | __\ \ / / _ \ '_ \| __/ __| * | |___\ V / __/ | | | |_\__ \ * |______\_/ \___|_| |_|\__|___/ * * */ Game.OnUpdate += Events.OnUpdate; Gapcloser.OnGapcloser += Events.OnGapCloser; Obj_AI_Base.OnProcessSpellCast += Events.OnProcessSpellCast; Obj_AI_Base.OnSpellCast += Events.OnCastSpell; Drawing.OnDraw += Events.OnDraw; //Orbwalker.OnPostAttack += Events.OnAfterAttack; }
private static void Loading_OnLoadingComplete(EventArgs args) { if (Player.Instance.ChampionName != "Olaf") { 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.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("Kombo 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 İtemler")); HarassMenu = Menu.AddSubMenu("Harass Settings", "HarassSettings"); HarassMenu.AddLabel("Dürtme Ayarları"); HarassMenu.Add("QHarass", new CheckBox("Kullan Q")); HarassMenu.Add("WHarass", new CheckBox("Kullan W")); HarassMenu.Add("EHarass", new CheckBox("Kullan E")); 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 < %", 45, 0, 100)); FarmingMenu.Add("ELaneClear", new CheckBox("E Kullan")); FarmingMenu.Add("ElaneclearHP", new Slider("Canım < %", 10, 0, 100)); FarmingMenu.AddLabel("Orman Temizleme"); FarmingMenu.Add("Qjungle", new CheckBox("Q Kullan")); FarmingMenu.Add("QjungleMana", new Slider("Mana < %", 45, 0, 100)); FarmingMenu.Add("Wjungle", new CheckBox("W Kullan")); FarmingMenu.Add("WjungleMana", new Slider("Mana < %", 45, 0, 100)); FarmingMenu.Add("Ejungle", new CheckBox("E Kullan")); FarmingMenu.Add("EjungleHP", new Slider("Canım < %", 25, 0, 100)); FarmingMenu.AddLabel("SonVuruş Ayarları"); FarmingMenu.Add("Qlasthit", new CheckBox("Q Kullan")); FarmingMenu.Add("Elasthit", new CheckBox("E Kullan")); FarmingMenu.Add("QlasthitMana", new Slider("Mana < %", 45, 0, 100)); SetSmiteSlot(); if (SmiteSlot != SpellSlot.Unknown) { SmiteMenu = Menu.AddSubMenu("Smite Usage", "SmiteUsage"); SmiteMenu.AddLabel("Çarp Kullanımı"); SmiteMenu.Add("Use Smite?", new CheckBox("Çarp Kullan")); SmiteMenu.Add("SmiteEnemy", new CheckBox("Komboda düşmana çarp kullan!")); 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")); } MiscMenu = Menu.AddSubMenu("More Settings", "Misc"); MiscMenu.AddLabel("Otomatik Ayarlar"); MiscMenu.Add("Auto Ignite", new CheckBox("Otomatik Tutuştur")); MiscMenu.Add("autoQ", new CheckBox("Kaçarken otomatik Q Kullan")); MiscMenu.Add("autoR", new CheckBox("Tehlikeli durumlarda Otomatik R", false)); MiscMenu.Add("autoEenemyHP", new Slider("Düşman Canı < %", 45, 0, 100)); MiscMenu.AddSeparator(); MiscMenu.AddLabel("İtemler"); MiscMenu.AddLabel("Mahvolmuş ve Bilge Palası"); MiscMenu.Add("botrkHP", new Slider("Canım < %", 60, 0, 100)); MiscMenu.Add("botrkenemyHP", new Slider("Düşmanın canı < %", 60, 0, 100)); MiscMenu.AddLabel("KillÇalma"); MiscMenu.Add("Qkill", new CheckBox("Q Kullan")); MiscMenu.Add("Ekill", new CheckBox("E Kullan")); MiscMenu.AddLabel("Aktivator"); MiscMenu.Add("useHP", new CheckBox("Can İksiri Kullan")); MiscMenu.Add("useHPV", new Slider("Canım < %", 45, 0, 100)); MiscMenu.Add("useMana", new CheckBox("Mana iksiri kullan")); MiscMenu.Add("useManaV", new Slider("Mana < %", 45, 0, 100)); MiscMenu.Add("useCrystal", new CheckBox("Dolduralabilir iksir kullan")); MiscMenu.Add("useCrystalHPV", new Slider("Canım < %", 45, 0, 100)); MiscMenu.Add("useCrystalManaV", new Slider("Mana < %", 45, 0, 100)); DrawMenu = Menu.AddSubMenu("Draw Settings", "Drawings"); DrawMenu.Add("drawAA", new CheckBox("Göster AA Menzili")); DrawMenu.Add("drawQ", new CheckBox("Göster Q")); DrawMenu.Add("drawQpos", new CheckBox("Göster Q Pozisyonu")); DrawMenu.Add("drawE", new CheckBox("Göster 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 made by Centilmen50, Cevirmen tradana", System.Drawing.Color.Red); }
public static void LoadMenu() { Bootstrap.Init(null); Menu = MainMenu.AddMenu("Lazy Graves", "LazyGraves"); Menu.AddGroupLabel("Lazy Graves"); Menu.AddLabel("by DamnedNooB"); Menu.AddSeparator(); //------------------------------------------------------------------------------------------------------------------- /* * _____ _ __ __ * / ____| | | | \/ | * | | ___ _ __ ___ | |__ ___ | \ / | ___ _ __ _ _ * | | / _ \| '_ ` _ \| '_ \ / _ \ | |\/| |/ _ \ '_ \| | | | * | |___| (_) | | | | | | |_) | (_) | | | | | __/ | | | |_| | * \_____\___/|_| |_| |_|_.__/ \___/ |_| |_|\___|_| |_|\__,_| * * */ ComboMenu = Menu.AddSubMenu("Combo", "Combo"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.AddLabel("Q - BuckShot"); ComboMenu.Add("useQ", new CheckBox("Use Q Logic")); ComboMenu.AddSeparator(); ComboMenu.AddLabel("W - Smoke Grenade"); ComboMenu.Add("useW", new CheckBox("Use W Logic")); ComboMenu.AddSeparator(); ComboMenu.AddLabel("E - True Grit"); ComboMenu.Add("useE", new CheckBox("Use Logic")); ComboMenu.Add("useEreload", new CheckBox("Use to reload")); ComboMenu.AddSeparator(); ComboMenu.AddLabel("Boom"); ComboMenu.Add("useQR", new CheckBox("Use Fast Q-R Combo")); ComboMenu.Add("useR", new CheckBox("Use to kill")); ComboMenu.AddSeparator(); ComboMenu.AddLabel("Misc"); ComboMenu.Add("disableAA", new CheckBox("Disable AA if Collision")); //------------------------------------------------------------------------------------------------------------------- /* * _ _ __ __ * | | | | | \/ | * | |__| | __ _ _ __ __ _ ___ ___ | \ / | ___ _ __ _ _ * | __ |/ _` | '__/ _` / __/ __| | |\/| |/ _ \ '_ \| | | | * | | | | (_| | | | (_| \__ \__ \ | | | | __/ | | | |_| | * |_| |_|\__,_|_| \__,_|___/___/ |_| |_|\___|_| |_|\__,_| * * */ HarassMenu = Menu.AddSubMenu("Harass", "Harass"); HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.AddLabel("Q - Buckshot"); HarassMenu.Add("useQ", new CheckBox("Use in Harass")); HarassMenu.Add("qMana", new Slider("Min Mana to use: ", 20, 1)); HarassMenu.AddSeparator(); HarassMenu.AddLabel("W - Smoke Grenade"); HarassMenu.Add("useW", new CheckBox("Use in AA - Range")); HarassMenu.Add("wMana", new Slider("Min Mana to use: ", 20, 1)); HarassMenu.AddSeparator(); //HarassMenu.AddLabel("E - True Grit"); //HarassMenu.Add("useEreload", new CheckBox("Use to reload")); //HarassMenu.Add("eMana", new Slider("Min Mana to use: ", 20, 1)); HarassMenu.AddSeparator(); //------------------------------------------------------------------------------------------------------------------- /* * ______ __ __ * | ____| | \/ | * | |__ __ _ _ __ _ __ ___ | \ / | ___ _ __ _ _ * | __/ _` | '__| '_ ` _ \ | |\/| |/ _ \ '_ \| | | | * | | | (_| | | | | | | | | | | | | __/ | | | |_| | * |_| \__,_|_| |_| |_| |_| |_| |_|\___|_| |_|\__,_| * * */ FarmMenu = Menu.AddSubMenu("Farm", "Farm"); FarmMenu.AddGroupLabel("Farm Settings"); FarmMenu.AddLabel("Q - Buckshot"); FarmMenu.Add("useQlane", new CheckBox("Use in LaneClear")); FarmMenu.Add("qManaLane", new Slider("Min Mana to use in LaneClear: ", 20, 1)); FarmMenu.Add("qMinionsLane", new Slider("Min Minions to use in LaneClear: ", 3, 1, 6)); FarmMenu.AddSeparator(); FarmMenu.Add("useQjungle", new CheckBox("Use in JungleClear")); FarmMenu.AddSeparator(); FarmMenu.AddLabel("E - True Grit"); FarmMenu.Add("useEreload", new CheckBox("Use in LaneClear")); FarmMenu.Add("eManaLane", new Slider("Min Mana to use in LaneClear: ", 20)); FarmMenu.AddSeparator(); /* * FarmMenu.Add("useEjungle", new CheckBox("Use in JungleClear")); * FarmMenu.AddSeparator(); */ //------------------------------------------------------------------------------------------------------------------- /* * __ __ _ __ __ * | \/ (_) | \/ | * | \ / |_ ___ ___ | \ / | ___ _ __ _ _ * | |\/| | / __|/ __| | |\/| |/ _ \ '_ \| | | | * | | | | \__ \ (__ | | | | __/ | | | |_| | * |_| |_|_|___/\___| |_| |_|\___|_| |_|\__,_| * * */ MiscMenu = Menu.AddSubMenu("Misc", "Misc"); MiscMenu.AddGroupLabel("Miscellaneous Settings"); MiscMenu.AddLabel("Anti Gapcloser Settings"); MiscMenu.Add("gapcloserW", new CheckBox("Use W - Smoke Grenade on Gapcloser")); MiscMenu.Add("gapcloserE", new CheckBox("Use E - True Grit against Gapcloser")); MiscMenu.AddSeparator(); //------------------------------------------------------------------------------------------------------------------- /* * _____ __ __ * | __ \ | \/ | * | | | |_ __ __ ___ __ | \ / | ___ _ __ _ _ * | | | | '__/ _` \ \ /\ / / | |\/| |/ _ \ '_ \| | | | * | |__| | | | (_| |\ V V / | | | | __/ | | | |_| | * |_____/|_| \__,_| \_/\_/ |_| |_|\___|_| |_|\__,_| * * */ /* * DrawMenu = Menu.AddSubMenu("Draw", "Draw"); * DrawMenu.AddGroupLabel("Draw Settings"); * DrawMenu.AddLabel("Spell Ranges"); * DrawMenu.Add("drawQ", new CheckBox("Draw Q Range")); * DrawMenu.Add("drawQextended", new CheckBox("Draw Extended 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")); */ //------------------------------------------------------------------------------------------------------------------- /* * ______ _ * | ____| | | * | |____ _____ _ __ | |_ ___ * | __\ \ / / _ \ '_ \| __/ __| * | |___\ V / __/ | | | |_\__ \ * |______\_/ \___|_| |_|\__|___/ * * */ Game.OnUpdate += Events.OnUpdate; Orbwalker.OnPostAttack += Events.OnPostAttack; Orbwalker.OnPreAttack += Events.OnPreAttack; Obj_AI_Base.OnSpellCast += Events.OnSpellCast; Gapcloser.OnGapcloser += Events.OnGapCloser; }
public static void Execute() { if (player.ChampionName != "Karthus") { return; } Q = new Spell.Skillshot(SpellSlot.Q, 875, SkillShotType.Circular, 1000, int.MaxValue, 160); Q2 = new Spell.Skillshot(SpellSlot.Q, 875, SkillShotType.Circular, 650, int.MaxValue, 100); W = new Spell.Skillshot(SpellSlot.W, 1000, SkillShotType.Circular, 500, int.MaxValue, 70); E = new Spell.Active(SpellSlot.E, 510); R = new Spell.Skillshot(SpellSlot.R, 25000, SkillShotType.Circular, 3000, int.MaxValue, int.MaxValue); menuIni = MainMenu.AddMenu("Super-死歌", "Karthus"); menuIni.AddGroupLabel("欢迎使用Super-死歌!"); menuIni.AddGroupLabel("全局设定"); menuIni.Add("Ultimate", new CheckBox("使用大招?")); menuIni.Add("Combo", new CheckBox("使用连招?")); menuIni.Add("Harass", new CheckBox("使用骚扰?")); menuIni.Add("LastHit", new CheckBox("使用尾兵?")); menuIni.Add("LaneClear", new CheckBox("使用清线?")); menuIni.Add("JungleClear", new CheckBox("使用清野?")); menuIni.Add("KillSteal", new CheckBox("使用抢头?")); menuIni.Add("Misc", new CheckBox("使用杂项?")); menuIni.Add("Drawings", new CheckBox("使用线圈?")); UltMenu = menuIni.AddSubMenu("大招"); UltMenu.AddGroupLabel("大招设置"); UltMenu.Add("UltKS", new CheckBox("R抢人头", false)); UltMenu.Add("UltMode", new ComboBox("大招逻辑", 0, "Super逻辑")); UltMenu.AddGroupLabel("Kappa逻辑设置"); UltMenu.Add("RnearE", new CheckBox("禁用R当敌人在我身边时?")); UltMenu.Add("RnearEn", new Slider("附近敌人数量禁用R", 1, 1, 5)); UltMenu.Add("Rranged", new Slider("附近敌人搜索范围", 1600, 100, 3000)); UltMenu.AddLabel("推荐距离 (1600 >)"); ComboMenu = menuIni.AddSubMenu("连招"); ComboMenu.AddGroupLabel("连招设置"); ComboMenu.Add("CUse_Q", new CheckBox("使用 Q")); ComboMenu.Add("CUse_W", new CheckBox("使用 W")); ComboMenu.Add("CUse_E", new CheckBox("使用 E")); ComboMenu.Add("CUse_AA", new CheckBox("禁用普攻", false)); ComboMenu.Add("CEPercent", new Slider("使用 E 蓝量百分比 %", 30, 0, 100)); ComboMenu.AddSeparator(); ComboMenu.Add("CE_Auto_False", new CheckBox("自动 E")); ComboMenu.AddLabel("自动关闭E当无敌人时"); HarassMenu = menuIni.AddSubMenu("骚扰"); HarassMenu.AddGroupLabel("骚扰设置"); HarassMenu.Add("HUse_Q", new CheckBox("使用 Q")); HarassMenu.Add("HUse_E", new CheckBox("使用 E")); HarassMenu.Add("HEPercent", new Slider("使用 E 蓝量百分比 %", 30, 0, 100)); HarassMenu.Add("HUse_AA", new CheckBox("禁用普攻", false)); HarassMenu.Add("E_LastHit", new CheckBox("使用 E 尾兵")); HarassMenu.AddSeparator(); HarassMenu.Add("HE_Auto_False", new CheckBox("自动 E")); HarassMenu.AddLabel("自动关闭E当无敌人时"); LaneMenu = menuIni.AddSubMenu("农兵"); LaneMenu.AddGroupLabel("清线设置"); LaneMenu.Add("FUse_Q", new CheckBox("使用 Q")); LaneMenu.Add("FQPercent", new Slider("使用 Q 蓝量百分比 %", 30, 0, 100)); LaneMenu.AddSeparator(); LaneMenu.AddGroupLabel("清野设置"); LaneMenu.Add("JUse_Q", new CheckBox("使用 Q")); LaneMenu.Add("JQPercent", new Slider("使用 Q 蓝量百分比 %", 30, 0, 100)); LaneMenu.AddSeparator(); LaneMenu.AddGroupLabel("尾兵设置"); LaneMenu.Add("LUse_Q", new CheckBox("使用 Q")); LaneMenu.Add("LAA", new CheckBox("可使用Q则屏蔽普攻", false)); LaneMenu.Add("LHQPercent", new Slider("使用 Q 蓝量百分比 %", 30, 0, 100)); /* * JungleMenu = menuIni.AddSubMenu("JungleClear"); * JungleMenu.Add("JUse_Q", new CheckBox("Use Q")); * JungleMenu.Add("JQPercent", new Slider("Use Q Mana %", 30, 0, 100)); * * LhMenu = menuIni.AddSubMenu("Last Hit"); * LhMenu.AddGroupLabel("LastHit Settings"); * LhMenu.Add("LUse_Q", new CheckBox("Use Q")); */ KillStealMenu = menuIni.AddSubMenu("抢头"); KillStealMenu.AddGroupLabel("抢头设置"); KillStealMenu.Add("KS", new CheckBox("Q抢头")); MiscMenu = menuIni.AddSubMenu("杂项"); MiscMenu.AddGroupLabel("杂项设置"); MiscMenu.Add("NotifyUlt", new CheckBox("大招提示")); MiscMenu.Add("ping", new CheckBox("本地提示: 可击杀敌人")); MiscMenu.Add("DeadCast", new CheckBox("可击杀")); MiscMenu.Add("SaveR", new CheckBox("为R保存蓝")); MiscMenu.Add("gapcloser", new CheckBox("防突击")); MiscMenu.Add("gapclosermana", new Slider("防突击蓝量设置", 25, 0, 100)); DrawMenu = menuIni.AddSubMenu("线圈"); DrawMenu.AddGroupLabel("线圈设置"); DrawMenu.Add("Draw_Q", new CheckBox("显示 Q")); DrawMenu.Add("Draw_W", new CheckBox("显示 W")); DrawMenu.Add("Draw_E", new CheckBox("显示 E")); DrawMenu.Add("Rranged", new CheckBox("显示最少附近敌人数量使用R")); DrawMenu.Add("Rtarget", new CheckBox("显示R目标")); DrawMenu.Add("Track", new CheckBox("监控敌人血量")); Game.OnUpdate += Zigzag; Game.OnUpdate += OnUpdate; Drawing.OnDraw += OnDraw; Gapcloser.OnGapcloser += Gapcloser_OnGap; }
static void Loading_OnLoadingComplete(EventArgs args) { /* Confirming Champion */ if (Player.Instance.ChampionName != "Urgot") { return; } Bootstrap.Init(null); Q = new Spell.Skillshot(SpellSlot.Q, 1000, SkillShotType.Linear); Q2 = new Spell.Active(SpellSlot.Q); W = new Spell.Active(SpellSlot.W); E = new Spell.Skillshot(SpellSlot.E, 900, SkillShotType.Circular); R = new Spell.Targeted(SpellSlot.R, 550); if (Player.GetSpell(SpellSlot.Summoner1).Name == "summonerdot") { Ignite = new Spell.Targeted(SpellSlot.Summoner1, 600); } if (Player.GetSpell(SpellSlot.Summoner2).Name == "summonerdot") { Ignite = new Spell.Targeted(SpellSlot.Summoner2, 600); } if (Smites.Contains(ObjectManager.Player.Spellbook.GetSpell(SpellSlot.Summoner1).Name)) { Smite = new Spell.Targeted(SpellSlot.Summoner1, 500); } if (Smites.Contains(ObjectManager.Player.Spellbook.GetSpell(SpellSlot.Summoner2).Name)) { Smite = new Spell.Targeted(SpellSlot.Summoner2, 500); } ExecutionerUrgotMenu = MainMenu.AddMenu("Executioner Urgot", "ExecutionerUrgot"); ExecutionerUrgotMenu.AddGroupLabel("Executioner Urgot"); SettingMenu = ExecutionerUrgotMenu.AddSubMenu("Settings", "Settings"); SettingMenu.AddGroupLabel("Settings"); SettingMenu.AddSeparator(); SettingMenu.Add("Drawmode", new CheckBox("Drawing Mode")); SettingMenu.Add("KSmode", new CheckBox("KS Mode")); SettingMenu.Add("Stackmode", new CheckBox("Stack Tear Mode")); if (Ignite != null) { SettingMenu.Add("Ignitemode", new CheckBox("Auto Ignite")); } if (Smite != null) { SettingMenu.Add("Smitemode", new CheckBox("Auto Smite")); SettingMenu.Add("KSsmite", new CheckBox("Smite KS")); } SettingMenu.AddLabel("Auto R - While under turret, use R to grab enemy."); SettingMenu.Add("Grabmode", new CheckBox("Auto R Mode")); SettingMenu.AddSeparator(); SettingMenu.AddLabel("Health Potion/Mana Potion/Crystalline Flask Activator - 0 is off"); SettingMenu.Add("Healthcall", new Slider("Use Health Potion if Health %", 25, 0, 100)); SettingMenu.Add("Manacall", new Slider("Use Mana Potion if Mana %", 25, 0, 100)); SettingMenu.Add("FlaskHcall", new Slider("Use Crystalline Flask if Health %", 25, 0, 100)); SettingMenu.Add("FlaskMcall", new Slider("Use Crystalline Flask if Mana %", 25, 0, 100)); DrawingMenu = ExecutionerUrgotMenu.AddSubMenu("Drawing Features", "DrawingFeatures"); DrawingMenu.AddGroupLabel("Drawing Features"); DrawingMenu.AddSeparator(); DrawingMenu.Add("Qdraw", new CheckBox("Q")); DrawingMenu.Add("Edraw", new CheckBox("E")); DrawingMenu.Add("Rdraw", new CheckBox("R")); if (Ignite != null) { DrawingMenu.Add("Idraw", new CheckBox("Ignite")); } if (Smite != null) { DrawingMenu.Add("Sdraw", new CheckBox("Smite")); } ComboMenu = ExecutionerUrgotMenu.AddSubMenu("Combo Features", "ComboFeatures"); ComboMenu.AddGroupLabel("Combo Features"); ComboMenu.AddSeparator(); ComboMenu.Add("Qcombo", new CheckBox("Q")); /* ComboMenu.Add("Wcombo", new CheckBox("W")); */ ComboMenu.Add("Ecombo", new CheckBox("E")); ComboMenu.Add("Rcombo", new CheckBox("R")); ComboMenu.AddSeparator(); ComboMenu.AddLabel("Muramana Activation - 0 is Off"); ComboMenu.Add("Muracall", new Slider("Muramana - Current Mana Limiter", 50, 0, 100)); HarassMenu = ExecutionerUrgotMenu.AddSubMenu("Harass Features", "HarassFeatures"); HarassMenu.AddGroupLabel("Harass Features"); HarassMenu.AddSeparator(); HarassMenu.Add("Qharass", new CheckBox("Q")); JungleMenu = ExecutionerUrgotMenu.AddSubMenu("Jungle Features", "JungleFeatures"); JungleMenu.AddGroupLabel("Jungle Features"); JungleMenu.AddSeparator(); JungleMenu.Add("Qjungle", new CheckBox("Q")); JungleMenu.Add("Ejungle", new CheckBox("E")); if (Smite != null) { JungleMenu.AddGroupLabel("Smite Features"); JungleMenu.AddLabel("Summoner's Rift Camps"); JungleMenu.Add("Bluesmite", new CheckBox("Blue Sentinel")); JungleMenu.Add("Redsmite", new CheckBox("Red Brambleback")); JungleMenu.Add("Krugsmite", new CheckBox("Ancient Krug")); JungleMenu.Add("Grompsmite", new CheckBox("Gromp")); JungleMenu.Add("Murksmite", new CheckBox("Greater Murk Wolf")); JungleMenu.Add("Birdsmite", new CheckBox("Crimson Raptor")); JungleMenu.Add("Crabsmite", new CheckBox("Rift Scuttler")); JungleMenu.Add("Dragonsmite", new CheckBox("Dragon")); JungleMenu.Add("Baronsmite", new CheckBox("Baron Nashor")); JungleMenu.AddLabel("Twisted Treeline Camps"); JungleMenu.Add("Golemsmite", new CheckBox("Big Golem")); JungleMenu.Add("Wolfsmite", new CheckBox("Giant Wolf")); JungleMenu.Add("Wraithsmite", new CheckBox("Wraith")); JungleMenu.Add("Spidersmite", new CheckBox("Vilemaw")); } LaneClearMenu = ExecutionerUrgotMenu.AddSubMenu("Lane Clear Features", "LaneClearFeatures"); LaneClearMenu.AddGroupLabel("Lane Clear Features"); LaneClearMenu.AddSeparator(); LaneClearMenu.Add("Qlanec", new CheckBox("Q")); LastHitMenu = ExecutionerUrgotMenu.AddSubMenu("Last Hit Features", "LastHitFeatures"); LastHitMenu.AddGroupLabel("Last Hit Features"); LastHitMenu.AddSeparator(); LastHitMenu.Add("Qlasthit", new CheckBox("Q")); Game.OnTick += Game_OnTick; Drawing.OnDraw += Drawing_OnDraw; if (ExecutionerHandler.Urgot.Level == 1) { ExecutionerHandler.Urgot.Spellbook.LevelSpell(SpellSlot.Q); } Player.OnLevelUp += ExecutionerHandler.LevelerMode; /*Gapcloser.OnGapCloser += Gapcloser_OnGapcloser; * Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;*/ }
public static void Loading_OnLoadingComplete(EventArgs args) { if (!_Player.ChampionName.Contains("Evelynn")) { return; } Chat.Print("Bloody Evelynn - Loaded", System.Drawing.Color.Crimson); _Q = new Spell.Active(SpellSlot.Q, 500); _W = new Spell.Active(SpellSlot.W); _E = new Spell.Targeted(SpellSlot.E, 225); _R = new Spell.Skillshot(SpellSlot.R, 625, SkillShotType.Circular, 250, int.MaxValue, 300); _Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600); StartMenu = MainMenu.AddMenu("Bloody Evelynn", "Bloody Evelynn"); ComboMenu = StartMenu.AddSubMenu("Combo Settings", "Combo Settings"); HarrasMenu = StartMenu.AddSubMenu("Harras Settings", "Harras Settings"); AHarrasM = StartMenu.AddSubMenu("AutoHarras Settings", "AutoHarras Settings"); LastHitM = StartMenu.AddSubMenu("Last Hit Settings", "Last Hit Settings"); LCMenu = StartMenu.AddSubMenu("Clear Settings", "Clear Settings"); FlyMenu = StartMenu.AddSubMenu("Flee Settings", "Flee Settings"); KSMenu = StartMenu.AddSubMenu("KillSteal Settings", "KillSteal Settings"); ActivatorMenu = StartMenu.AddSubMenu("Activator Settings", "Activator Settings"); DrawingsMenu = StartMenu.AddSubMenu("Drawing Settings", "Drawing Settings"); StartMenu.AddGroupLabel("Evelynn - Bloody Shadow"); StartMenu.AddSeparator(2); StartMenu.AddGroupLabel("Made By"); StartMenu.AddLabel("- Horizon"); StartMenu.AddLabel("- Radi"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.Add("Combos", new ComboBox("Combo Logic", 0, "Q->E->R", "E->Q->R", "R->Q->E", "E->R->Q", "Q->R->E")); ComboMenu.AddSeparator(0); ComboMenu.AddLabel("Q Spell Settings"); ComboMenu.Add("UseQ", new CheckBox("Use [Q]")); ComboMenu.AddSeparator(0); ComboMenu.AddLabel("W Spell Settings"); ComboMenu.Add("UseW", new CheckBox("Use [W] in Combo")); ComboMenu.Add("WRange", new Slider("Minimum range for W", 525, 1, 800)); ComboMenu.Add("Wn", new Slider("Minimum enemy in range for W", 1, 0, 5)); ComboMenu.AddSeparator(0); ComboMenu.AddLabel("E Spell Settings"); ComboMenu.Add("UseE", new CheckBox("Use [E] ")); ComboMenu.AddSeparator(0); ComboMenu.AddLabel("R Spell Settings"); ComboMenu.Add("UseR", new CheckBox("Use [R] in Combo")); ComboMenu.Add("Rn", new Slider("Minimum enemy for R", 1, 0, 5)); ComboMenu.AddSeparator(0); HarrasMenu.AddGroupLabel("Harras Settings"); HarrasMenu.AddLabel("Q Spell Settings"); HarrasMenu.Add("UseQH", new CheckBox("Use [Q] for harras")); HarrasMenu.AddSeparator(0); HarrasMenu.AddLabel("E Spell Settings"); HarrasMenu.Add("UseEH", new CheckBox("Use [E] for harras")); AHarrasM.AddGroupLabel("AutoHarras Settings"); AHarrasM.AddLabel("Q Spell Settings"); AHarrasM.Add("AHQ", new CheckBox("Use AutoHarras", false)); AHarrasM.Add("QAO", new CheckBox("Use [Q] for AutoHarras")); AHarrasM.Add("AHQM", new Slider("Minimum mana percentage for use[Q] in AutoHarras(%{ 0})", 65, 1)); LastHitM.AddGroupLabel("Last Hit Settings"); LastHitM.AddLabel("Q Spell Settings"); LastHitM.Add("Qlh", new CheckBox("Use Q to Last hit")); LastHitM.Add("manalh", new Slider("Minimum mana percentage for use [Q] in Last Hit(%{ 0})", 40, 1)); KSMenu.AddGroupLabel("KillSteal Settings"); KSMenu.AddLabel("Q Spell Settings"); KSMenu.Add("KSQ", new CheckBox(" - KillSteal with Q")); KSMenu.AddSeparator(0); KSMenu.AddLabel("E Spell Settings"); KSMenu.Add("KSE", new CheckBox(" - KillSteal with E")); KSMenu.AddSeparator(0); KSMenu.AddLabel("R Spell Settings"); KSMenu.Add("KSR", new CheckBox(" - KillSteal with R", false)); LCMenu.AddGroupLabel("LaneClear Settings"); LCMenu.Add("LCQ", new CheckBox("Use [Q] for Lane Clear")); LCMenu.Add("LCQM", new Slider("Minimum mana percentage for use [Q] in Lane Clear (%{0})", 30, 1)); LCMenu.AddSeparator(1); LCMenu.Add("LCW", new CheckBox("Use [E] for Lane Clear")); LCMenu.Add("LCWM", new Slider("Minimum mana percentage for use [E] in Lane Clear (%{0})", 30, 1)); LCMenu.AddSeparator(2); LCMenu.Add("JGCQ", new CheckBox("Use [Q] for Jungle clear")); LCMenu.Add("JGCQM", new Slider("Minimum mana percentage for use [Q] in Jungle Clear (%{0})", 30, 1)); LCMenu.Add("JGCW", new CheckBox("Use [E] for Jungle clear")); LCMenu.Add("JGCWM", new Slider("Minimum mana percentage for use [E] in Jungle Clear (%{0})", 30, 1)); FlyMenu.AddGroupLabel("Flee Settings"); FlyMenu.AddLabel("Tick for enable/disable skill usage in flee"); FlyMenu.AddSeparator(0); FlyMenu.AddLabel("Q Spell Settings"); FlyMenu.Add("UseQf", new CheckBox("Use Q to Flee")); ActivatorMenu.AddGroupLabel("Activator Settings"); ActivatorMenu.AddLabel("Use Summoner Spell"); ActivatorMenu.Add("IGNI", new CheckBox("- Use Ignite if enemy is killable")); DrawingsMenu.AddGroupLabel("Drawing Settings"); DrawingsMenu.AddLabel("Tick for enable/disable Draw"); DrawingsMenu.Add("DQ", new CheckBox("- Draw [Q] range")); DrawingsMenu.AddSeparator(0); DrawingsMenu.Add("DE", new CheckBox("- Draw [E] range")); DrawingsMenu.AddSeparator(0); DrawingsMenu.Add("DR", new CheckBox("- Draw [R] range")); DrawingsMenu.AddSeparator(0); DrawingsMenu.Add("DRpred", new CheckBox("- Draw Ultimate prediction")); Game.OnUpdate += Game_OnUpdate; Game.OnTick += Game_OnTick; Drawing.OnDraw += Drawing_OnDraw; }
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("Kullan Q")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Terror Capacitor (W) settings :"); ComboMenu.Add("Plugins.Urgot.ComboMenu.UseW", new CheckBox("Kullan W")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Noxian Corrosive Charge (E) settings :"); ComboMenu.Add("Plugins.Urgot.ComboMenu.UseE", new CheckBox("Kullan E")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Hyper-Kinetic Position Reverser (R) settings :"); ComboMenu.Add("Plugins.Urgot.ComboMenu.UseR", new CheckBox("Kullan R")); ComboMenu.Add("Plugins.Urgot.ComboMenu.UseRToSwapPosUnderTower", new CheckBox("Dusmani kule altına almaya calis")); 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("Kullan Q")); HarassMenu.Add("Plugins.Urgot.HarassMenu.MinManaQ", new Slider("Gereken en az mana ({0}%) to use Q", 40, 1)); HarassMenu.AddSeparator(5); HarassMenu.AddLabel("Noxian Corrosive Charge (E) settings :"); HarassMenu.Add("Plugins.Urgot.HarassMenu.UseE", new CheckBox("Kullan E")); HarassMenu.Add("Plugins.Urgot.HarassMenu.MinManaE", new Slider("Gereken en az mana ({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("Dusman yoksa koridor temizleme aktif")); var scanRange = LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.ScanRange", new Slider("Dusman uzakligi", 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("Izin verilen dusman sayisi", 1, 0, 5)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Acid Hunter (Q) settings :"); LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.UseQInLaneClear", new CheckBox("Koridor temizlemede Q kullan")); LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.UseQInJungleClear", new CheckBox("Orman temizlemede Q kullan")); LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.MinManaQ", new Slider("Gereken en az mana ({0}%) to use Q", 50, 1)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Noxian Corrosive Charge (E) settings :"); LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.UseEInLaneClear", new CheckBox("Koridor temizlemede E kullan")); LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.UseEInJungleClear", new CheckBox("Orman temizlemede E kullan")); LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.MinManaE", new Slider("Gereken en az mana ({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("Aktif oldurme sekli")); MiscMenu.AddSeparator(2); MiscMenu.Add("Plugins.Urgot.MiscMenu.EnableTearStacker", new CheckBox("Aktif gosyasi kasma")); MiscMenu.Add("Plugins.Urgot.MiscMenu.TearStackerMinMana", new Slider("Gozyasi kasma => en az mana : {0}%", 75)); MiscMenu.Add("Plugins.Urgot.MiscMenu.EnableTearStacker", new CheckBox("Aktif gosyasi kasma")).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("Gozyasi kasma => en az mana : {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("Atilma yapan sampiyonlara R kullan")); MiscMenu.Add("Plugins.Urgot.MiscMenu.UseRToInterrupt", new CheckBox("Tehlikeli buyuleri engellemede R kullan")); 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("Sadece hazir olan buyulerin mezilini goster")); DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Acid Hunter (Q) settings :"); DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawQ", new CheckBox("Goster Q menzili")); DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawQColor", new CheckBox("Renk Sec", 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("Goster E menzili")); DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawEColor", new CheckBox("Renk Sec", 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("Goster R menzili", false)); DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawRColor", new CheckBox("Renk Sec", 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("Goster bilgi")).OnValueChange += (a, b) => { if (b.NewValue) { DamageIndicator.DamageDelegate = HandleDamageIndicator; } else if (!b.NewValue) { DamageIndicator.DamageDelegate = null; } }; DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.InfoColor", new CheckBox("Renk Sec", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[3].Initialize(Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddLabel("Draws damage indicator"); }
public static void Loading_OnLoadingComplete(EventArgs args) { if (!_Player.ChampionName.Contains("Diana")) { return; } Chat.Print("Diana - Bloody Lunari Loaded!"); /*Color.Crimson);*/ Chat.Print("By Horizon & Radi"); /*Color.OrangeRed);*/ Chat.Print("Good luck and have fun, summoner."); /*Color.DarkViolet);*/ _Q = new Spell.Skillshot(SpellSlot.Q, 900, SkillShotType.Circular, 250, 1400, 50); _W = new Spell.Active(SpellSlot.W, 200); _E = new Spell.Active(SpellSlot.E, 450); _R = new Spell.Targeted(SpellSlot.R, 825); _Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600); StartMenu = MainMenu.AddMenu("Diana", "Diana"); ComboMenu = StartMenu.AddSubMenu("Combo Settings", "Combo Settings"); HarrasMenu = StartMenu.AddSubMenu("Harras Settings", "Harras Settings"); AHarrasM = StartMenu.AddSubMenu("AutoHarras Settings", "AutoHarras Settings"); LastHitM = StartMenu.AddSubMenu("Last Hit Settings", "Last Hit Settings"); LCMenu = StartMenu.AddSubMenu("LaneClear Settings", "LaneClear Settings"); KSMenu = StartMenu.AddSubMenu("KillSteall Settings", "KillSteall Settings"); AntiSpellMenu = StartMenu.AddSubMenu("AntiSpell Settings", "AntiSpell Settings"); ActivatorMenu = StartMenu.AddSubMenu("Activator Settings", "Activator Settings"); DrawingsMenu = StartMenu.AddSubMenu("Drawings Settings", "Drawings Settings"); StartMenu.AddGroupLabel("Diana - Bloody Lunari"); StartMenu.AddSeparator(2); StartMenu.AddGroupLabel("Made By"); StartMenu.AddLabel("- Horizon"); StartMenu.AddLabel("- Radi"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.AddLabel("Q Spell Settings"); ComboMenu.Add("UseQ", new CheckBox("Use [Q]")); ComboMenu.AddSeparator(0); ComboMenu.AddLabel("W Spell Settings"); ComboMenu.Add("UseW", new CheckBox("Use [W]")); ComboMenu.AddSeparator(0); ComboMenu.AddLabel("E Spell Settings"); ComboMenu.Add("UseE", new CheckBox("Use [E] (when enemy out of AA range)")); ComboMenu.AddSeparator(0); ComboMenu.AddLabel("R Spell Settings"); ComboMenu.Add("UseR", new CheckBox("Use [R] on Combo")); ComboMenu.AddSeparator(0); ComboMenu.AddLabel("R Spell Settings - tick only one option"); ComboMenu.Add("RONLY", new CheckBox("Use [R] (only when target got Q mark)")); ComboMenu.Add("RNO", new CheckBox("Use [R] (always) ", false)); HarrasMenu.AddGroupLabel("Harras Settings"); HarrasMenu.AddLabel("Q Spell Settings"); HarrasMenu.Add("UseQH", new CheckBox("Use [Q] for Harras")); HarrasMenu.AddSeparator(0); HarrasMenu.AddLabel("W Spell Settings"); HarrasMenu.Add("UseWH", new CheckBox("Use [W] for Harras")); HarrasMenu.AddSeparator(0); HarrasMenu.AddLabel("E Spell Settings"); HarrasMenu.Add("UseEH", new CheckBox("Use [E] for Harras")); AHarrasM.AddGroupLabel("Auto Harras Settings"); AHarrasM.Add("AHQ", new CheckBox("Use Auto Harras")); AHarrasM.AddLabel("Q Spell Settings"); AHarrasM.Add("QAO", new CheckBox("Use [Q] for Auto Harras")); AHarrasM.AddSeparator(0); AHarrasM.AddLabel("Mana settings"); AHarrasM.Add("AHQM", new Slider("Minimum mana percentage for use [Q] in Auto Harras (%{0})", 50, 1)); LastHitM.AddGroupLabel("Last Hit Settings"); LastHitM.AddLabel("Q Spell Settings"); LastHitM.Add("Qlh", new CheckBox("Use Q to Last Hit")); LastHitM.AddSeparator(0); LastHitM.AddLabel("W Spell Settings"); LastHitM.Add("Elh", new CheckBox("Use W to Last Hit")); LastHitM.AddSeparator(0); LastHitM.AddLabel("Mana settings"); LastHitM.Add("manalh", new Slider("Minimum mana percentage for use [Q] [W] in Auto Harras (%{0})", 50, 1)); LCMenu.AddGroupLabel("Lane Clear Settings"); LCMenu.Add("LCQ", new CheckBox("Use [Q] for Lane Clear")); LCMenu.Add("LCQM", new Slider("Minimum mana percentage for use [Q] in Lane Clear (%{0})", 50, 1)); LCMenu.AddSeparator(1); LCMenu.Add("LCW", new CheckBox("Use [W] for Lane Clear")); LCMenu.Add("LCWM", new Slider("Minimum mana percentage for use [W] in Lane Clear (%{0})", 50, 1)); LCMenu.AddSeparator(2); LCMenu.Add("JGCQ", new CheckBox("Use [Q] for Jungle clear")); LCMenu.Add("JGCQM", new Slider("Minimum mana percentage for use [Q] in Jungle Clear (%{0})", 50, 1)); LCMenu.Add("JGCW", new CheckBox("Use [W] for Jungle clear")); LCMenu.Add("JGCWM", new Slider("Minimum mana percentage for use [W] in Jungle Clear (%{0})", 50, 1)); KSMenu.AddGroupLabel("KillSteal Settings"); KSMenu.AddLabel("Q Spell Settings"); KSMenu.Add("KSQ", new CheckBox(" - KillSteal with Q")); KSMenu.AddSeparator(0); KSMenu.AddLabel("W Spell Settings"); KSMenu.Add("KSW", new CheckBox(" - KillSteal with W")); KSMenu.AddSeparator(0); KSMenu.AddLabel("R Spell Settings"); KSMenu.Add("KSR", new CheckBox(" - KillSteal with R")); AntiSpellMenu.AddGroupLabel("Anti Spell Settings"); AntiSpellMenu.AddLabel("Use shield when playing against Morgana or Lux"); AntiSpellMenu.Add("ASLux", new CheckBox("- Anti Lux Passive")); AntiSpellMenu.AddSeparator(0); AntiSpellMenu.Add("ASMorgana", new CheckBox("- Anti Morgana")); AntiSpellMenu.AddLabel("Mana settings"); AntiSpellMenu.Add("ASPM", new Slider("Minimum mana percentage for Shield (%{0})", 80, 1)); ActivatorMenu.AddGroupLabel("Activator Settings"); ActivatorMenu.AddLabel("Use Summoner Spell"); ActivatorMenu.Add("IGNI", new CheckBox("- Use Ignite if enemy is killable")); DrawingsMenu.AddGroupLabel("Drawing Settings"); DrawingsMenu.AddLabel("Tick for enable/disable spell drawings"); DrawingsMenu.Add("DQ", new CheckBox("- Draw [Q] range")); DrawingsMenu.AddSeparator(0); DrawingsMenu.Add("DW", new CheckBox("- Draw [W] range")); DrawingsMenu.AddSeparator(0); DrawingsMenu.Add("DE", new CheckBox("- Draw [E] range")); DrawingsMenu.AddSeparator(0); DrawingsMenu.Add("DR", new CheckBox("- Draw [R] range")); Game.OnUpdate += Game_OnUpdate; Game.OnTick += Game_OnTick; Drawing.OnDraw += Drawing_OnDraw; }
protected override void CreateMenu() { ComboMenu = MenuManager.Menu.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("Combo mode settings for Ezreal addon"); ComboMenu.AddLabel("Mystic Shot (Q) settings :"); ComboMenu.Add("Plugins.Ezreal.ComboMenu.UseQ", new CheckBox("Use Q")); ComboMenu.Add("Plugins.Ezreal.ComboMenu.UseQOnImmobile", new CheckBox("Cast on immobile enemies")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Essence Flux (W) settings :"); ComboMenu.Add("Plugins.Ezreal.ComboMenu.UseW", new CheckBox("Use W")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Arcane Shift (E) settings :"); ComboMenu.Add("Plugins.Ezreal.ComboMenu.UseE", new CheckBox("Use E")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Trueshot Barrage (R) settings :"); ComboMenu.Add("Plugins.Ezreal.ComboMenu.UseR", new CheckBox("Use R")); ComboMenu.Add("Plugins.Ezreal.ComboMenu.UseRToKillsteal", new CheckBox("Use R only to killsteal")); ComboMenu.Add("Plugins.Ezreal.ComboMenu.RMinEnemiesHit", new Slider("Use R if will hit {0} or more enemies", 3, 1, 5)); ComboMenu.Add("Plugins.Ezreal.ComboMenu.RKeybind", new KeyBind("R keybind", false, KeyBind.BindTypes.HoldActive, 'T')); HarassMenu = MenuManager.Menu.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("Harass mode settings for Ezreal addon"); HarassMenu.AddLabel("Mystic Shot (Q) settings :"); HarassMenu.Add("Plugins.Ezreal.HarassMenu.UseQ", new KeyBind("Enable auto harass", false, KeyBind.BindTypes.PressToggle, 'A')).OnValueChange += (sender, args) => { AutoHarassItem.Value = args.NewValue; }; HarassMenu.AddLabel("Essence Flux (W) settings :"); HarassMenu.Add("Plugins.Ezreal.HarassMenu.UseW", new KeyBind("Enable auto harass", false, KeyBind.BindTypes.PressToggle, 'H')).OnValueChange += (sender, args) => { AutoHarassItem2.Value = args.NewValue; }; HarassMenu.Add("Plugins.Ezreal.HarassMenu.MinManaQ", new Slider("Min mana percentage ({0}%) for auto harass", 30, 1)); HarassMenu.AddSeparator(5); HarassMenu.AddLabel("Auto harass enabled for :"); foreach (var enemy in EntityManager.Heroes.Enemies) { HarassMenu.Add("Plugins.Ezreal.HarassMenu.UseQ." + enemy.Hero, new CheckBox(enemy.ChampionName == "MonkeyKing" ? "Wukong" : enemy.ChampionName)); } LaneClearMenu = MenuManager.Menu.AddSubMenu("Clear"); LaneClearMenu.AddGroupLabel("Lane clear settings for Ezreal addon"); LaneClearMenu.AddLabel("Basic settings :"); LaneClearMenu.Add("Plugins.Ezreal.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Enable lane clear only if no enemies nearby", false)); var scanRange = LaneClearMenu.Add("Plugins.Ezreal.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.Ezreal.LaneClearMenu.AllowedEnemies", new Slider("Allowed enemies amount", 1, 0, 5)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("End of the Line (Q) settings :"); LaneClearMenu.Add("Plugins.Ezreal.LaneClearMenu.UseQInLaneClear", new CheckBox("Use Q to lasthit minions")); LaneClearMenu.AddSeparator(5); LaneClearMenu.Add("Plugins.Ezreal.LaneClearMenu.UseQInJungleClear", new CheckBox("Use Q in Jungle Clear")); LaneClearMenu.Add("Plugins.Ezreal.LaneClearMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1)); MiscMenu = MenuManager.Menu.AddSubMenu("Misc"); MiscMenu.AddGroupLabel("Misc settings for Ezreal addon"); MiscMenu.AddLabel("Basic settings :"); MiscMenu.Add("Plugins.Ezreal.MiscMenu.EnableKillsteal", new CheckBox("Enable Killsteal")); MiscMenu.AddSeparator(2); MiscMenu.Add("Plugins.Ezreal.MiscMenu.KeepPassiveStacks", new CheckBox("Keep passive stacks if possible")); MiscMenu.AddSeparator(5); MiscMenu.AddLabel("Essence Flux (W) settings :"); MiscMenu.Add("Plugins.Ezreal.MiscMenu.WToPushTowers", new CheckBox("Use W on allies to push towers")); MiscMenu.AddSeparator(5); MiscMenu.AddLabel("Arcane Shift (E) settings :"); MiscMenu.Add("Plugins.Ezreal.MiscMenu.EAntiMelee", new CheckBox("Use E against melee champions")); MiscMenu.AddSeparator(5); MiscMenu.AddLabel("Trueshot Barrage (R) settings :"); MiscMenu.Add("Plugins.Ezreal.MiscMenu.MaxRRangeKillsteal", new Slider("Max R range to enemy for killsteal", 8000, 0, 20000)); MiscMenu.AddSeparator(5); MiscMenu.AddLabel("Tear Stacker settings :"); MiscMenu.Add("Plugins.Ezreal.MiscMenu.EnableTearStacker", new CheckBox("Enable Tear stacker")).OnValueChange += (a, b) => { TearStacker.Enabled = b.NewValue; }; MiscMenu.Add("Plugins.Ezreal.MiscMenu.StackOnlyInFountain", new CheckBox("Stack only in fountain")).OnValueChange += (a, b) => { TearStacker.OnlyInFountain = b.NewValue; }; MiscMenu.Add("Plugins.Ezreal.MiscMenu.MinimalManaPercentTearStacker", new Slider("Min mana percentage ({0}%) to use to stack tear", 50)).OnValueChange += (a, b) => { TearStacker.MinimumManaPercent = b.NewValue; }; MiscMenu.AddSeparator(5); DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings"); DrawingsMenu.AddGroupLabel("Drawings settings for Ezreal addon"); DrawingsMenu.AddLabel("Basic settings :"); DrawingsMenu.Add("Plugins.Ezreal.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready")); DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Mystic Shot (Q) settings :"); DrawingsMenu.Add("Plugins.Ezreal.DrawingsMenu.DrawQ", new CheckBox("Draw Q range")); DrawingsMenu.Add("Plugins.Ezreal.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("Essence Flux (W) settings :"); DrawingsMenu.Add("Plugins.Ezreal.DrawingsMenu.DrawW", new CheckBox("Draw W range", false)); DrawingsMenu.Add("Plugins.Ezreal.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("Arcane Shift (E) settings :"); DrawingsMenu.Add("Plugins.Ezreal.DrawingsMenu.DrawE", new CheckBox("Draw E range", false)); DrawingsMenu.Add("Plugins.Ezreal.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.AddLabel("Damage indicator settings :"); DrawingsMenu.Add("Plugins.Ezreal.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.Ezreal.DrawingsMenu.DamageIndicatorColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[3].Initialize(System.Drawing.Color.Aquamarine); a.CurrentValue = false; }; TearStacker.Enabled = Settings.Misc.EnableTearStacker; TearStacker.OnlyInFountain = Settings.Misc.StackOnlyInFountain; TearStacker.MinimumManaPercent = Settings.Misc.MinimalManaPercentTearStacker; AutoHarassItem = MenuManager.PermaShow.AddItem("Ezreal.AutoHarass", new BoolItem("Auto harass with Q", Settings.Harass.UseQ)); AutoHarassItem2 = MenuManager.PermaShow.AddItem("Ezreal.AutoHarassW", new BoolItem("Auto harass with W", Settings.Harass.UseW)); }
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')); 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.AddGroupLabel("Jungle Clear : "); LaneClearMenu.Add("Plugins.Lucian.LaneClearMenu.UseQInJungleClear", new CheckBox("Use Q in Jungle Clear")); LaneClearMenu.Add("Plugins.Lucian.LaneClearMenu.UseWInJungleClear", new CheckBox("Use W in Jungle Clear")); LaneClearMenu.Add("Plugins.Lucian.LaneClearMenu.UseEInJungleClear", new CheckBox("Use E in Jungle Clear")); LaneClearMenu.Add("Plugins.Lucian.LaneClearMenu.MinManaQ", new Slider("Min mana percentage ({0}%) for jungle clear", 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.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 and R shooting indicator"); }
public void InitMenu() { Menu = MainMenu.AddMenu(GCharname, GCharname); Menu.AddLabel("版本: " + GVersion); Menu.AddSeparator(); Menu.AddLabel("汉化By Triste"); DrawMenu = Menu.AddSubMenu("显示 - " + GCharname, GCharname + "显示"); DrawMenu.AddGroupLabel("显示"); DrawMenu.Add("drawReady", new CheckBox("仅在技能无冷却时显示.", false)); DrawMenu.Add("drawDisable", new CheckBox("关闭所有技能范围显示")); DrawMenu.AddSeparator(); //Q DrawMenu.Add("drawQ", new CheckBox("画出 Q")); DrawMenu.AddColorItem("colorQ"); DrawMenu.AddWidthItem("widthQ"); //W DrawMenu.Add("drawW", new CheckBox("画出 W")); DrawMenu.AddColorItem("colorW"); DrawMenu.AddWidthItem("widthW"); //E DrawMenu.Add("drawE", new CheckBox("画出 E")); DrawMenu.AddColorItem("colorE"); DrawMenu.AddWidthItem("widthE"); //R DrawMenu.Add("drawR", new CheckBox("画出 R")); DrawMenu.AddColorItem("colorR"); DrawMenu.AddWidthItem("widthR"); ComboMenu = Menu.AddSubMenu("连招 - " + GCharname, GCharname + "连招"); ComboMenu.AddGroupLabel("连招"); ComboMenu.Add("comboQ", new CheckBox("使用 Q", true)); ComboMenu.Add("comboW", new CheckBox("使用 W", true)); ComboMenu.Add("comboE", new CheckBox("使用 E", true)); ComboMenu.Add("comboR", new CheckBox("使用 R", true)); ComboMenu.AddGroupLabel("连招杂项"); ComboMenu.Add("castWifQnotLand", new CheckBox("Q还没爆之前使用W", true)); ComboMenu.Add("disableAA", new CheckBox("连招时不进行A", false)); ComboMenu.AddLabel("使用 R 设置"); ComboMenu.Add("flashCombo", new CheckBox("闪现R如果敌人可击杀", false)); ComboMenu.Add("rsMinEnemiesForR", new Slider("使用 R: 最小敌人数", 2, 0, 5)); HarassMenu = Menu.AddSubMenu("骚扰 - " + GCharname, GCharname + "骚扰"); HarassMenu.AddGroupLabel("骚扰"); HarassMenu.Add("hsQ", new CheckBox("使用 Q", true)); HarassMenu.Add("hsW", new CheckBox("使用 W", true)); HarassMenu.Add("hsE", new CheckBox("使用 E", true)); HarassMenu.AddGroupLabel("骚扰杂项"); HarassMenu.Add("disableAAHS", new CheckBox("骚扰时不A", false)); HarassMenu.Add("hsPE", new CheckBox("仅在目标中毒时使用E", true)); LaneClearMenu = Menu.AddSubMenu("清兵 - " + GCharname, GCharname + "清兵"); LaneClearMenu.AddGroupLabel("清兵"); LaneClearMenu.Add("lcQ", new CheckBox("使用 Q", true)); LaneClearMenu.Add("lcW", new CheckBox("使用 W", true)); LaneClearMenu.Add("lcE", new CheckBox("使用 E", true)); LaneClearMenu.Add("lcKE", new CheckBox("仅使用E来击杀小兵", false)); LaneClearMenu.Add("lcPE", new CheckBox("仅在中毒小兵上使用E", true)); LastHitMenu = Menu.AddSubMenu("最后一刀 - " + GCharname, GCharname + "最后一刀"); LastHitMenu.AddGroupLabel("最后一刀"); LastHitMenu.Add("lhQ", new CheckBox("使用 Q", true)); LastHitMenu.Add("lhW", new CheckBox("使用 W", true)); LastHitMenu.Add("lhE", new CheckBox("使用 E", true)); JungleClearMenu = Menu.AddSubMenu("清野 - " + GCharname, GCharname + "清野"); JungleClearMenu.AddGroupLabel("清野"); JungleClearMenu.Add("jcQ", new CheckBox("使用 Q", true)); JungleClearMenu.Add("jcW", new CheckBox("使用 W", true)); JungleClearMenu.Add("jcE", new CheckBox("使用 E", true)); JungleClearMenu.Add("jcKE", new CheckBox("仅使用E来击杀", false)); JungleClearMenu.Add("jcPE", new CheckBox("仅在中毒野怪上使用E", true)); MiscMenu = Menu.AddSubMenu("其他杂项 - " + GCharname, GCharname + "其他杂项"); MiscMenu.Add("skin", new Slider("皮肤切换: ", 1, 1, 5)); MiscMenu.Add("poisonForE", new CheckBox("仅在中毒敌人上使用E", true)); MiscMenu.Add("miscDelayE", new Slider("使用E延迟: ", 150, 0, 500)); MiscMenu.Add("ksOn", new CheckBox("开启抢人头", true)); MiscMenu.Add("miscAntiGapW", new CheckBox("使用 W 防接近", true)); MiscMenu.Add("miscAntiGapR", new CheckBox("使用R防接近与打断技能", true)); MiscMenu.Add("miscAntiMissR", new CheckBox("不使用R如果敌人消失", true)); MiscMenu.Add("miscMinHpAntiGap", new Slider("最小防接近使用R血量", 40, 0, 100)); MiscMenu.Add("miscInterruptDangerous", new CheckBox("打断敌人危险技能", true)); }
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 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"); }