/// <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")); }
protected override void CreateMenu() { ComboMenu = MenuManager.Menu.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("老鼠 连招 设置"); ComboMenu.AddLabel("Q 设置 :"); ComboMenu.Add("Plugins.Twitch.ComboMenu.UseQ", new CheckBox("Use Q")); ComboMenu.Add("Plugins.Twitch.ComboMenu.UseQAfterKill", new CheckBox("击杀后使用Q")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("W 设置 :"); ComboMenu.Add("Plugins.Twitch.ComboMenu.UseW", new CheckBox("Use W")); ComboMenu.Add("Plugins.Twitch.ComboMenu.BlockWIfRIsActive", new CheckBox("有大招的时候不使用W")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("E 设置 :"); ComboMenu.Add("Plugins.Twitch.ComboMenu.UseE", new CheckBox("Use E")); var mode = ComboMenu.Add("Plugins.Twitch.ComboMenu.UseEIfDmg", new ComboBox("E 使用模式", 0, "百分比", "最大层", "仅击杀的时候")); ComboMenu.AddSeparator(10); ComboMenu.AddLabel("百分比 : 在敌人的当前生命的百分比使用E.\n最大层 : 敌人达到最大层伤害才使用E.\n仅击杀的时候 : " + "能杀死敌人的时候才使用E."); ComboMenu.AddSeparator(10); var percentage = ComboMenu.Add("Plugins.Twitch.ComboMenu.EAtStacks", new Slider("Use E if will deal ({0}%) percentage of enemy hp.", 30)); switch (mode.CurrentValue) { case 0: percentage.DisplayName = "使用E在 ({0}%) 敌人的HP百分比."; percentage.MinValue = 0; percentage.MaxValue = 100; break; case 1: percentage.DisplayName = "Use E at {0} stacks."; percentage.MinValue = 1; percentage.MaxValue = 6; break; case 2: percentage.IsVisible = false; break; } mode.OnValueChange += (a, b) => { switch (b.NewValue) { case 0: percentage.DisplayName = "使用E在 ({0}%) 敌人的HP百分比."; percentage.MinValue = 0; percentage.MaxValue = 100; percentage.IsVisible = true; break; case 1: percentage.DisplayName = "使用E在 {0} 层."; percentage.MinValue = 1; percentage.MaxValue = 6; percentage.IsVisible = true; break; case 2: percentage.IsVisible = false; break; } }; ComboMenu.AddSeparator(5); ComboMenu.AddLabel("R 设置 :"); ComboMenu.Add("Plugins.Twitch.ComboMenu.UseR", new CheckBox("Use R")); ComboMenu.Add("Plugins.Twitch.ComboMenu.RIfEnemiesHit", new Slider("当{0} 人的时候使用R", 3, 1, 5)); ComboMenu.AddSeparator(5); ComboMenu.Add("Plugins.Twitch.ComboMenu.RifTargetOutOfRange", new CheckBox("如果目标超出普攻范围使用R", false)); ComboMenu.AddLabel("如果目标能杀死使用R, 但他不在普攻范围内, R不会在接下来的2秒."); HarassMenu = MenuManager.Menu.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("老鼠 自动骚扰 设置"); HarassMenu.AddLabel("W 设置 :"); HarassMenu.Add("Plugins.Twitch.HarassMenu.UseW", new CheckBox("Use W", false)); HarassMenu.Add("Plugins.Twitch.HarassMenu.WMinMana", new Slider("最小蓝 百分比 ({0}%) 使用W", 80, 1)); HarassMenu.AddSeparator(5); HarassMenu.AddLabel("E 设置 :"); HarassMenu.Add("Plugins.Twitch.HarassMenu.UseE", new CheckBox("Use E", false)); HarassMenu.Add("Plugins.Twitch.HarassMenu.TwoEnemiesMin", new CheckBox("只在击中2个或更多敌人", false)); HarassMenu.Add("Plugins.Twitch.HarassMenu.EMinMana", new Slider("最小蓝 百分比 ({0}%) 使用E", 80, 1)); HarassMenu.Add("Plugins.Twitch.HarassMenu.EMinStacks", new Slider("最小层数使用E", 6, 1, 6)); LaneClearMenu = MenuManager.Menu.AddSubMenu("Lane clear"); LaneClearMenu.AddGroupLabel("老鼠 清线 设置"); LaneClearMenu.AddLabel("基本设置 :"); LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.EnableLCIfNoEn", new CheckBox("只有附近没有敌人才能启用清线")); var scanRange = LaneClearMenu.Add("Plugins.Twitch.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.Twitch.LaneClearMenu.AllowedEnemies", new Slider("敌人数量", 1, 0, 5)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("W 设置 :"); LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.UseW", new CheckBox("Use W", false)); LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.WMinMana", new Slider("最小蓝 百分比 ({0}%) 使用W", 80, 1)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Contaminate (E) settings :"); LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.UseE", new CheckBox("Use E", false)); LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.EMinMana", new Slider("最小蓝 百分比 ({0}%) 使用E", 80, 1)); LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.EMinMinionsHit", new Slider("最少小兵的时候使用E", 4, 1, 7)); JungleClearMenu = MenuManager.Menu.AddSubMenu("Jungle clear"); JungleClearMenu.AddGroupLabel("老鼠 打野 设置"); JungleClearMenu.AddLabel("W 设置 :"); JungleClearMenu.Add("Plugins.Twitch.JungleClearMenu.UseW", new CheckBox("Use W", false)); JungleClearMenu.Add("Plugins.Twitch.JungleClearMenu.WMinMana", new Slider("最小蓝 百分比 ({0}%) 使用W", 80, 1)); JungleClearMenu.AddSeparator(5); JungleClearMenu.AddLabel("E 设置 :"); JungleClearMenu.Add("Plugins.Twitch.JungleClearMenu.UseE", new CheckBox("Use E")); JungleClearMenu.Add("Plugins.Twitch.JungleClearMenu.EMinMana", new Slider("最小蓝 百分比 ({0}%) 使用W", 30, 1)); JungleClearMenu.AddLabel("使用E仅在能杀死大野怪和buff"); MiscMenu = MenuManager.Menu.AddSubMenu("Misc"); MiscMenu.AddGroupLabel("老鼠 杂项 设置"); MiscMenu.AddLabel("基本设置 :"); MiscMenu.Add("Plugins.Twitch.MiscMenu.StealthRecall", new CheckBox("隐身回城-回城的时候使用Q")); DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings"); DrawingsMenu.AddGroupLabel("老鼠 线圈 设置"); DrawingsMenu.AddLabel("杂项 设置 :"); DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("只在技能准备好的时候画出线圈")); DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("W 设置 :"); DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawW", new CheckBox("Draw W range", false)); DrawingsMenu.Add("Plugins.Twitch.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.AddLabel("E 设置 :"); DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawE", new CheckBox("Draw E range")); DrawingsMenu.Add("Plugins.Twitch.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("R 设置 :"); DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawR", new CheckBox("Draw R range")); DrawingsMenu.Add("Plugins.Twitch.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.AddSeparator(5); DrawingsMenu.AddLabel("损坏指示图设置 :"); DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawDamageIndicator", new CheckBox("绘制敌人血条的损伤指示器", false)).OnValueChange += (a, b) => { if (b.NewValue) { DamageIndicator.DamageDelegate = HandleDamageIndicator; } else if (!b.NewValue) { DamageIndicator.DamageDelegate = null; } }; DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawDamageIndicatorColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[3].Initialize(System.Drawing.Color.Aquamarine); a.CurrentValue = false; }; }
protected override void CreateMenu() { ComboMenu = MenuManager.Menu.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("Combo mode settings for Corki addon"); ComboMenu.AddLabel("Phosphorus Bomb (Q) settings :"); ComboMenu.Add("Plugins.Corki.ComboMenu.UseQ", new CheckBox("Kullan Q")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Gatling Gun (E) settings :"); ComboMenu.Add("Plugins.Corki.ComboMenu.UseE", new CheckBox("Kullan E")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Valkyrie (W) settings :"); ComboMenu.Add("Plugins.Corki.ComboMenu.UseW", new CheckBox("Kullan W", false)); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Missile Barrage (R) settings :"); ComboMenu.Add("Plugins.Corki.ComboMenu.UseR", new CheckBox("Kullan R")); ComboMenu.Add("Plugins.Corki.ComboMenu.MinStacksForR", new Slider("R kullanmak icin en az R sayisi", 1, 1, 7)); ComboMenu.AddSeparator(1); ComboMenu.Add("Plugins.Corki.ComboMenu.RAllowCollision", new CheckBox("Minyonlara carpmaya izin ver", false)); ComboMenu.AddLabel("Allow collision on minions if damage will be applied on enemy champion."); HarassMenu = MenuManager.Menu.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("Harass mode settings for Corki addon"); HarassMenu.AddLabel("Phosphorus Bomb (Q) settings :"); HarassMenu.Add("Plugins.Corki.HarassMenu.UseQ", new CheckBox("Kullan Q")); HarassMenu.Add("Plugins.Corki.HarassMenu.MinManaToUseQ", new Slider("En az mana ({0}%) Q icin", 50, 1)); HarassMenu.AddSeparator(5); HarassMenu.AddLabel("Gatling Gun (E) settings :"); HarassMenu.Add("Plugins.Corki.HarassMenu.UseE", new CheckBox("Kullan E")); HarassMenu.Add("Plugins.Corki.HarassMenu.MinManaToUseE", new Slider("En az mana ({0}%) E icin", 50, 1)); HarassMenu.AddSeparator(5); HarassMenu.AddLabel("Missile Barrage (R) settings :"); HarassMenu.Add("Plugins.Corki.HarassMenu.UseR", new CheckBox("Kullan R")); HarassMenu.Add("Plugins.Corki.HarassMenu.MinManaToUseR", new Slider("En az mana ({0}%) R icin", 50, 1)); HarassMenu.Add("Plugins.Corki.HarassMenu.MinStacksToUseR", new Slider("En az stack R icin", 3, 1, 7)); HarassMenu.AddSeparator(1); HarassMenu.Add("Plugins.Corki.HarassMenu.RAllowCollision", new CheckBox("Minyonlara carpmasina izin ver")); HarassMenu.AddLabel("Allow collision on minions if damage will be applied on enemy champion."); LaneClearMenu = MenuManager.Menu.AddSubMenu("Lane clear"); LaneClearMenu.AddGroupLabel("Lane clear mode settings for Corki addon"); LaneClearMenu.AddLabel("Basic settings :"); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Yakinda dusman yoksa koridor temizle")); var scanRange = LaneClearMenu.Add("Plugins.Corki.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.Corki.LaneClearMenu.AllowedEnemies", new Slider("Izin verilen dusman miktarı", 1, 0, 5)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Phosphorus Bomb (Q) settings :"); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.UseQ", new CheckBox("Kullan Q")); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinMinionsKilledToUseQ", new Slider("Q ile kesilicek en az minyon sayisi", 2, 1, 6)); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinManaToUseQ", new Slider("En az mana ({0}%) Q icin", 50, 1)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Gatling Gun (E) settings :"); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.UseE", new CheckBox("Kullan E", false)); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinManaToUseE", new Slider("En az mana ({0}%) E icin", 50, 1)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Missile Barrage (R) settings :"); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.UseR", new CheckBox("Kullan R")); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinManaToUseR", new Slider("En az mana ({0}%) R icin", 50, 1)); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinStacksToUseR", new Slider("R kullanmak icin en az kac R olsun", 6, 1, 7)); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinMinionsHitToUseR", new Slider("R en az kac minyona carpsin", 3, 1, 4)); JungleClearMenu = MenuManager.Menu.AddSubMenu("Jungle clear"); JungleClearMenu.AddGroupLabel("Jungle clear mode settings for Corki addon"); JungleClearMenu.AddLabel("Phosphorus Bomb (Q) settings :"); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.UseQ", new CheckBox("Kullan Q")); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.MinManaToUseQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1)); JungleClearMenu.AddSeparator(5); JungleClearMenu.AddLabel("Gatling Gun (E) settings :"); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.UseE", new CheckBox("Kullan E", false)); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.MinManaToUseE", new Slider("Min mana percentage ({0}%) to use E", 50, 1)); JungleClearMenu.AddSeparator(5); JungleClearMenu.AddLabel("Missile Barrage (R) settings :"); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.UseR", new CheckBox("Kullan R")); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.MinManaToUseR", new Slider("En az mana ({0}%) R icin", 50, 1)); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.MinStacksToUseR", new Slider("R kullanmak icin en az kac R olsun", 5, 1, 7)); JungleClearMenu.AddSeparator(1); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.RAllowCollision", new CheckBox("Minyonlara carpmasina izin ver")); JungleClearMenu.AddLabel("Allow collision on minions if damage will be applied on other minions."); MiscMenu = MenuManager.Menu.AddSubMenu("Misc"); MiscMenu.AddGroupLabel("Misc settings for Corki addon"); MiscMenu.AddLabel("Auto harass settings : "); MiscMenu.Add("Plugins.Corki.MiscMenu.AutoHarassEnabled", new KeyBind("Enable auto harass", true, KeyBind.BindTypes.PressToggle, 'T')); MiscMenu.Add("Plugins.Corki.MiscMenu.UseBigBomb", new CheckBox("Kullan buyuk bomba", false)); MiscMenu.Add("Plugins.Corki.MiscMenu.MinStacksToUseR", new Slider("R kullanmak icin en az kac R olsun", 3, 1, 7)); MiscMenu.AddSeparator(5); MiscMenu.AddLabel("Auto harass enabled for : "); foreach (var enemy in EntityManager.Heroes.Enemies) { MiscMenu.Add("Plugins.Corki.MiscMenu.AutoHarassEnabled." + enemy.Hero, new CheckBox(enemy.Hero.ToString())); } DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings"); DrawingsMenu.AddGroupLabel("Drawings settings for Corki addon"); DrawingsMenu.AddLabel("Basic settings :"); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready")); DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Phosphorus Bomb (Q) drawing settings :"); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawQ", new CheckBox("Goster Q Mesafesi")); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawQColor", new CheckBox("Rengi Sec", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[0].Initialize(Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Valkyrie (W) drawing settings :"); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawW", new CheckBox("Goster W Mesafesi", false)); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawWColor", new CheckBox("Rengi Sec", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[1].Initialize(Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Missile Barrage (R) drawing settings :"); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawR", new CheckBox("Goster R Mesafesi")); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawRColor", new CheckBox("Rengi Sec", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[2].Initialize(Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Damage indicator drawing settings :"); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawDamageIndicator", new CheckBox("Dusman caninda verilicek hasari goster")); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawDamageIndicatorColor", new CheckBox("Rengi Sec", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[3].Initialize(Color.Aquamarine); a.CurrentValue = false; }; }
protected override void CreateMenu() { ComboMenu = MenuManager.Menu.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("库奇 连招 设置"); ComboMenu.AddLabel("Q设置 :"); ComboMenu.Add("Plugins.Corki.ComboMenu.UseQ", new CheckBox("Use Q")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("E设置 :"); ComboMenu.Add("Plugins.Corki.ComboMenu.UseE", new CheckBox("Use E")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("W设置 :"); ComboMenu.Add("Plugins.Corki.ComboMenu.UseW", new CheckBox("Use W", false)); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("R设置 :"); ComboMenu.Add("Plugins.Corki.ComboMenu.UseR", new CheckBox("Use R")); ComboMenu.Add("Plugins.Corki.ComboMenu.MinStacksForR", new Slider("最小成数使用R", 1, 1, 7)); ComboMenu.AddSeparator(1); ComboMenu.Add("Plugins.Corki.ComboMenu.RAllowCollision", new CheckBox("允许R的敌人", false)); ComboMenu.AddLabel("允许R的敌人 适用于敌人的小兵."); HarassMenu = MenuManager.Menu.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("库奇 骚扰 设置"); HarassMenu.AddLabel("Q设置 :"); HarassMenu.Add("Plugins.Corki.HarassMenu.UseQ", new CheckBox("Use Q")); HarassMenu.Add("Plugins.Corki.HarassMenu.MinManaToUseQ", new Slider("最小蓝 百分比 ({0}%) 使用Q", 50, 1)); HarassMenu.AddSeparator(5); HarassMenu.AddLabel("E设置 :"); HarassMenu.Add("Plugins.Corki.HarassMenu.UseE", new CheckBox("Use E")); HarassMenu.Add("Plugins.Corki.HarassMenu.MinManaToUseE", new Slider("最小蓝 百分比 ({0}%) 使用E", 50, 1)); HarassMenu.AddSeparator(5); HarassMenu.AddLabel("R设置 :"); HarassMenu.Add("Plugins.Corki.HarassMenu.UseR", new CheckBox("Use R")); HarassMenu.Add("Plugins.Corki.HarassMenu.MinManaToUseR", new Slider("最小蓝 百分比 ({0}%) 使用R", 50, 1)); HarassMenu.Add("Plugins.Corki.HarassMenu.MinStacksToUseR", new Slider("Minimum stacks to use R", 3, 1, 7)); HarassMenu.AddSeparator(1); HarassMenu.Add("Plugins.Corki.HarassMenu.RAllowCollision", new CheckBox("允许R的敌人")); HarassMenu.AddLabel("允许R的敌人 适用于敌人的小兵."); LaneClearMenu = MenuManager.Menu.AddSubMenu("Lane clear"); LaneClearMenu.AddGroupLabel("库奇 清线 设置"); LaneClearMenu.AddLabel("基本设置 :"); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.EnableLCIfNoEn", new CheckBox("只有附近没有敌人才能启用清线")); var scanRange = LaneClearMenu.Add("Plugins.Corki.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.Corki.LaneClearMenu.AllowedEnemies", new Slider("敌人数量", 1, 0, 5)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Phosphorus Bomb (Q) settings :"); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.UseQ", new CheckBox("Use Q")); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinMinionsKilledToUseQ", new Slider("最少杀死使用Q", 2, 1, 6)); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinManaToUseQ", new Slider("最小蓝 百分比 ({0}%) 使用Q", 50, 1)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Gatling Gun (E) settings :"); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.UseE", new CheckBox("Use E", false)); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinManaToUseE", new Slider("最小蓝 百分比 ({0}%) 使用E", 50, 1)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Missile Barrage (R) settings :"); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.UseR", new CheckBox("Use R")); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinManaToUseR", new Slider("最小蓝 百分比 ({0}%) 使用R", 50, 1)); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinStacksToUseR", new Slider("最小成数使用R", 6, 1, 7)); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinMinionsHitToUseR", new Slider("最少R到小兵", 3, 1, 4)); JungleClearMenu = MenuManager.Menu.AddSubMenu("Jungle clear"); JungleClearMenu.AddGroupLabel("库奇 打野 设置"); JungleClearMenu.AddLabel("Q设置 :"); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.UseQ", new CheckBox("Use Q")); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.MinManaToUseQ", new Slider("最小蓝 百分比 ({0}%) 使用Q", 50, 1)); JungleClearMenu.AddSeparator(5); JungleClearMenu.AddLabel("Gatling Gun (E) settings :"); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.UseE", new CheckBox("Use E", false)); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.MinManaToUseE", new Slider("最小蓝 百分比 ({0}%) 使用E", 50, 1)); JungleClearMenu.AddSeparator(5); JungleClearMenu.AddLabel("Missile Barrage (R) settings :"); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.UseR", new CheckBox("Use R")); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.MinManaToUseR", new Slider("最小蓝 百分比 ({0}%) 使用R", 50, 1)); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.MinStacksToUseR", new Slider("最小成数使用R", 5, 1, 7)); JungleClearMenu.AddSeparator(1); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.RAllowCollision", new CheckBox("允许R的敌人")); JungleClearMenu.AddLabel("允许R的敌人也适用于敌人 小兵 野怪."); MiscMenu = MenuManager.Menu.AddSubMenu("Misc"); MiscMenu.AddGroupLabel("库奇 其他 设置"); MiscMenu.AddLabel("自动 骚扰 设置: "); MiscMenu.Add("Plugins.Corki.MiscMenu.AutoHarassEnabled", new KeyBind("自动骚扰热键", true, KeyBind.BindTypes.PressToggle, 'T')); MiscMenu.Add("Plugins.Corki.MiscMenu.UseBigBomb", new CheckBox("适用大炸弹", false)); MiscMenu.Add("Plugins.Corki.MiscMenu.MinStacksToUseR", new Slider("最小成数使用R", 3, 1, 7)); MiscMenu.AddSeparator(5); MiscMenu.AddLabel("自动骚扰开启 : "); foreach (var enemy in EntityManager.Heroes.Enemies) { MiscMenu.Add("Plugins.Corki.MiscMenu.AutoHarassEnabled." + enemy.Hero, new CheckBox(enemy.Hero.ToString())); } DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings"); DrawingsMenu.AddGroupLabel("Drawings settings for Corki addon"); DrawingsMenu.AddLabel("Basic settings :"); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready")); DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Phosphorus Bomb (Q) drawing settings :"); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawQ", new CheckBox("Draw Q range")); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawQColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[0].Initialize(Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Valkyrie (W) drawing settings :"); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawW", new CheckBox("Draw W range", false)); DrawingsMenu.Add("Plugins.Corki.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); DrawingsMenu.AddLabel("Missile Barrage (R) drawing settings :"); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawR", new CheckBox("Draw R range")); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawRColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[2].Initialize(Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Damage indicator drawing settings :"); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawDamageIndicator", new CheckBox("Draw damage indicator on enemy HP bars")); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawDamageIndicatorColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[3].Initialize(Color.Aquamarine); a.CurrentValue = false; }; }
/// <summary> /// Creates the Menu /// </summary> public static void Initialize() { ConfigMenu = MainMenu.AddMenu("LeBlanc", "LeBlanc"); 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)); ComboMenu.AddLabel("Extra Settings"); ComboMenu.Add("mode", new ComboBox("Combo Modes", 0, LogicModes)); ComboMenu.AddLabel("Burst Logic Settings"); ComboMenu.Add("minRange", new CheckBox("Use Q -> R only if W is in range", 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)); HarassMenu.AddLabel("Extra Settings"); HarassMenu.Add("mode", new ComboBox("Harass Modes", 1, LogicModes)); HarassMenu.AddLabel("Burst Logic Settings"); HarassMenu.Add("minRange", new CheckBox("Use Q -> R only if W is in range", 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("usePrediction", new CheckBox("Use Health Prediction", false)); 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")); MiscMenu.AddLabel("HitChance : 1 = Low, 2 = Medium, 3 = High"); MiscMenu.Add("PredW", new Slider("W HitChance", 3, 1, 3)); MiscMenu.Add("PredE", new Slider("E HitChance", 3, 1, 3)); }
protected override void CreateMenu() { ComboMenu = MenuManager.Menu.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("Combo mode settings for Corki addon"); ComboMenu.AddLabel("Phosphorus Bomb (Q) settings :"); ComboMenu.Add("Plugins.Corki.ComboMenu.UseQ", new CheckBox("Use Q")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Gatling Gun (E) settings :"); ComboMenu.Add("Plugins.Corki.ComboMenu.UseE", new CheckBox("Use E")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Valkyrie (W) settings :"); ComboMenu.Add("Plugins.Corki.ComboMenu.UseW", new CheckBox("Use W", false)); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Missile Barrage (R) settings :"); ComboMenu.Add("Plugins.Corki.ComboMenu.UseR", new CheckBox("Use R")); ComboMenu.Add("Plugins.Corki.ComboMenu.MinStacksForR", new Slider("Minimum stacks to use R", 0, 0, 7)); ComboMenu.AddSeparator(1); ComboMenu.Add("Plugins.Corki.ComboMenu.RAllowCollision", new CheckBox("Allow collision on minions", false)); ComboMenu.AddLabel("Allow collision on minions if damage will be applied on enemy champion."); HarassMenu = MenuManager.Menu.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("Harass mode settings for Corki addon"); HarassMenu.AddLabel("Phosphorus Bomb (Q) settings :"); HarassMenu.Add("Plugins.Corki.HarassMenu.UseQ", new CheckBox("Use Q")); HarassMenu.Add("Plugins.Corki.HarassMenu.MinManaToUseQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1)); HarassMenu.AddSeparator(5); HarassMenu.AddLabel("Gatling Gun (E) settings :"); HarassMenu.Add("Plugins.Corki.HarassMenu.UseE", new CheckBox("Use E")); HarassMenu.Add("Plugins.Corki.HarassMenu.MinManaToUseE", new Slider("Min mana percentage ({0}%) to use E", 50, 1)); HarassMenu.AddSeparator(5); HarassMenu.AddLabel("Missile Barrage (R) settings :"); HarassMenu.Add("Plugins.Corki.HarassMenu.UseR", new CheckBox("Use R")); HarassMenu.Add("Plugins.Corki.HarassMenu.MinManaToUseR", new Slider("Min mana percentage ({0}%) to use R", 50, 1)); HarassMenu.Add("Plugins.Corki.HarassMenu.MinStacksToUseR", new Slider("Minimum stacks to use R", 3, 0, 7)); HarassMenu.AddSeparator(1); HarassMenu.Add("Plugins.Corki.HarassMenu.RAllowCollision", new CheckBox("Allow collision on minions")); HarassMenu.AddLabel("Allow collision on minions if damage will be applied on enemy champion."); LaneClearMenu = MenuManager.Menu.AddSubMenu("Lane clear"); LaneClearMenu.AddGroupLabel("Lane clear mode settings for Corki addon"); LaneClearMenu.AddLabel("Basic settings :"); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Enable lane clear only if no enemies nearby")); var scanRange = LaneClearMenu.Add("Plugins.Corki.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.Corki.LaneClearMenu.AllowedEnemies", new Slider("Allowed enemies amount", 1, 0, 5)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Phosphorus Bomb (Q) settings :"); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.UseQ", new CheckBox("Use Q")); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinMinionsKilledToUseQ", new Slider("Min minions killed to use Q", 2, 1, 6)); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinManaToUseQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Gatling Gun (E) settings :"); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.UseE", new CheckBox("Use E", false)); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinManaToUseE", new Slider("Min mana percentage ({0}%) to use E", 50, 1)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Missile Barrage (R) settings :"); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.UseR", new CheckBox("Use R")); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinManaToUseR", new Slider("Min mana percentage ({0}%) to use R", 50, 1)); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinStacksToUseR", new Slider("Minimum stacks to use R", 6, 0, 7)); LaneClearMenu.AddSeparator(1); LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.RAllowCollision", new CheckBox("Allow collision on minions")); LaneClearMenu.AddLabel("Allow collision on minions if damage will be applied on other minions."); JungleClearMenu = MenuManager.Menu.AddSubMenu("Jungle clear"); JungleClearMenu.AddGroupLabel("Jungle clear mode settings for Corki addon"); JungleClearMenu.AddLabel("Phosphorus Bomb (Q) settings :"); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.UseQ", new CheckBox("Use Q")); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.MinManaToUseQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1)); JungleClearMenu.AddSeparator(5); JungleClearMenu.AddLabel("Gatling Gun (E) settings :"); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.UseE", new CheckBox("Use E", false)); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.MinManaToUseE", new Slider("Min mana percentage ({0}%) to use E", 50, 1)); JungleClearMenu.AddSeparator(5); JungleClearMenu.AddLabel("Missile Barrage (R) settings :"); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.UseR", new CheckBox("Use R")); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.MinManaToUseR", new Slider("Min mana percentage ({0}%) to use R", 50, 1)); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.MinStacksToUseR", new Slider("Minimum stacks to use R", 5, 0, 7)); JungleClearMenu.AddSeparator(1); JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.RAllowCollision", new CheckBox("Allow collision on minions")); JungleClearMenu.AddLabel("Allow collision on minions if damage will be applied on other minions."); MiscMenu = MenuManager.Menu.AddSubMenu("Misc"); MiscMenu.AddGroupLabel("Misc settings for Corki addon"); MiscMenu.AddLabel("Auto harass settings : "); MiscMenu.Add("Plugins.Corki.MiscMenu.AutoHarassEnabled", new KeyBind("Enable auto harass", true, KeyBind.BindTypes.PressToggle, 'T')); MiscMenu.Add("Plugins.Corki.MiscMenu.UseBigBomb", new CheckBox("Use big bomb", false)); MiscMenu.Add("Plugins.Corki.MiscMenu.MinStacksToUseR", new Slider("Minimum stacks to use R", 3, 0, 7)); MiscMenu.AddSeparator(5); MiscMenu.AddLabel("Auto harass enabled for : "); foreach (var enemy in EntityManager.Heroes.Enemies) { MiscMenu.Add("Plugins.Corki.MiscMenu.AutoHarassEnabled." + enemy.Hero, new CheckBox(enemy.Hero.ToString())); } DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings"); DrawingsMenu.AddGroupLabel("Drawings settings for Corki addon"); DrawingsMenu.AddLabel("Basic settings :"); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready")); DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Phosphorus Bomb (Q) drawing settings :"); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawQ", new CheckBox("Draw Q range")); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawQColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[0].Initialize(Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Valkyrie (W) drawing settings :"); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawW", new CheckBox("Draw W range", false)); DrawingsMenu.Add("Plugins.Corki.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); DrawingsMenu.AddLabel("Missile Barrage (R) drawing settings :"); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawR", new CheckBox("Draw R range")); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawRColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[2].Initialize(Color.Aquamarine); a.CurrentValue = false; }; DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Damage indicator drawing settings :"); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawDamageIndicator", new CheckBox("Draw damage indicator on enemy HP bars")); DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawDamageIndicatorColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[3].Initialize(Color.Aquamarine); a.CurrentValue = false; }; }
protected override void CreateMenu() { ComboMenu = MenuManager.Menu.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("Combo mode settings for Twitch addon"); ComboMenu.AddLabel("Ambush (Q) settings :"); ComboMenu.Add("Plugins.Twitch.ComboMenu.UseQ", new CheckBox("Kullan Q")); ComboMenu.Add("Plugins.Twitch.ComboMenu.UseQAfterKill", new CheckBox("Kullan Q oldurdukten sonra")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Venom Cask (W) settings :"); ComboMenu.Add("Plugins.Twitch.ComboMenu.UseW", new CheckBox("Kullan W")); ComboMenu.Add("Plugins.Twitch.ComboMenu.BlockWIfRIsActive", new CheckBox("R aktif degilse W kullanma")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Contaminate (E) settings :"); ComboMenu.Add("Plugins.Twitch.ComboMenu.UseE", new CheckBox("Kullan E")); var mode = ComboMenu.Add("Plugins.Twitch.ComboMenu.UseEIfDmg", new ComboBox("E kullanma mode", 0, "can azalt", "yuk varken", "sadece oldurme")); ComboMenu.AddSeparator(10); ComboMenu.AddLabel("Percentage : Uses E only if it will deal desired percentage of enemy current health.\nAt stacks : Uses E only if desired amount of stack are reached on enemy.\nOnly to killsteal : " + "Uses E only to execute enemies."); ComboMenu.AddSeparator(10); var percentage = ComboMenu.Add("Plugins.Twitch.ComboMenu.EAtStacks", new Slider("Use E if will deal ({0}%) percentage of enemy hp.", 30)); switch (mode.CurrentValue) { case 0: percentage.DisplayName = "Use E if will deal ({0}%) percentage of enemy hp."; percentage.MinValue = 0; percentage.MaxValue = 100; break; case 1: percentage.DisplayName = "Use E at {0} stacks."; percentage.MinValue = 1; percentage.MaxValue = 6; break; case 2: percentage.IsVisible = false; break; } mode.OnValueChange += (a, b) => { switch (b.NewValue) { case 0: percentage.DisplayName = "Use E if will deal ({0}%) percentage of enemy hp."; percentage.MinValue = 0; percentage.MaxValue = 100; percentage.IsVisible = true; break; case 1: percentage.DisplayName = "Use E at {0} stacks."; percentage.MinValue = 1; percentage.MaxValue = 6; percentage.IsVisible = true; break; case 2: percentage.IsVisible = false; break; } }; ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Rat-Ta-Tat-Tat (R) settings :"); ComboMenu.Add("Plugins.Twitch.ComboMenu.UseR", new CheckBox("Kullan R")); ComboMenu.Add("Plugins.Twitch.ComboMenu.RIfEnemiesHit", new Slider("Su kadar sampiyona deyicekse {0} R kullan", 3, 1, 5)); ComboMenu.AddSeparator(5); ComboMenu.Add("Plugins.Twitch.ComboMenu.RifTargetOutOfRange", new CheckBox("Hedef menzilden cikinca R kullan", false)); ComboMenu.AddLabel("Uses R if target is killabe, but he is not inside basic attack range, and R won't be up in next 2 secs."); HarassMenu = MenuManager.Menu.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("Harass mode settings for Twitch addon"); HarassMenu.AddLabel("Venom Cask (W) settings :"); HarassMenu.Add("Plugins.Twitch.HarassMenu.UseW", new CheckBox("Kullan W", false)); HarassMenu.Add("Plugins.Twitch.HarassMenu.WMinMana", new Slider("Gereken en az mana ({0}%) to use W", 80, 1)); HarassMenu.AddSeparator(5); HarassMenu.AddLabel("Contaminate (E) settings :"); HarassMenu.Add("Plugins.Twitch.HarassMenu.UseE", new CheckBox("Kullan E", false)); HarassMenu.Add("Plugins.Twitch.HarassMenu.TwoEnemiesMin", new CheckBox("Sadece 2 sampiyona deyicekse kullan", false)); HarassMenu.Add("Plugins.Twitch.HarassMenu.EMinMana", new Slider("Gereken en az mana ({0}%) to use E", 80, 1)); HarassMenu.Add("Plugins.Twitch.HarassMenu.EMinStacks", new Slider("Gereken en az yuk E", 6, 1, 6)); LaneClearMenu = MenuManager.Menu.AddSubMenu("Lane clear"); LaneClearMenu.AddGroupLabel("Lane clear mode settings for Twitch addon"); LaneClearMenu.AddLabel("Basic settings :"); LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Dusman yoksa lane temizleme aktif")); var scanRange = LaneClearMenu.Add("Plugins.Twitch.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.Twitch.LaneClearMenu.AllowedEnemies", new Slider("Izin verilen dusman sayisi", 1, 0, 5)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Venom Cask (W) settings :"); LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.UseW", new CheckBox("Kullan W", false)); LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.WMinMana", new Slider("Gereken en az mana ({0}%) to use W", 80, 1)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Contaminate (E) settings :"); LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.UseE", new CheckBox("Kullan E", false)); LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.EMinMana", new Slider("Gereken en az mana ({0}%) to use E", 80, 1)); LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.EMinMinionsHit", new Slider("En az kac miyona E", 4, 1, 7)); JungleClearMenu = MenuManager.Menu.AddSubMenu("Jungle clear"); JungleClearMenu.AddGroupLabel("Jungle clear mode settings for Twitch addon"); JungleClearMenu.AddLabel("Venom Cask (W) settings :"); JungleClearMenu.Add("Plugins.Twitch.JungleClearMenu.UseW", new CheckBox("Kullan W", false)); JungleClearMenu.Add("Plugins.Twitch.JungleClearMenu.WMinMana", new Slider("Gereken en az mana ({0}%) to use W", 80, 1)); JungleClearMenu.AddSeparator(5); JungleClearMenu.AddLabel("Contaminate (E) settings :"); JungleClearMenu.Add("Plugins.Twitch.JungleClearMenu.UseE", new CheckBox("Kullan E")); JungleClearMenu.Add("Plugins.Twitch.JungleClearMenu.EMinMana", new Slider("Gereken en az mana ({0}%) to use E", 30, 1)); JungleClearMenu.AddLabel("Uses E only on big monsters and buffs"); MiscMenu = MenuManager.Menu.AddSubMenu("Misc"); MiscMenu.AddGroupLabel("Misc settings for Twitch addon"); MiscMenu.AddLabel("Basic settings :"); MiscMenu.Add("Plugins.Twitch.MiscMenu.StealthRecall", new CheckBox("Enable steath recall")); DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings"); DrawingsMenu.AddGroupLabel("Drawings settings for Twitch addon"); DrawingsMenu.AddLabel("Basic settings :"); DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready")); DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Venom Cask (W) drawing settings :"); DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawW", new CheckBox("Goster W menzili", false)); DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawWColor", 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("Contaminate (E) drawing settings :"); DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawE", new CheckBox("Goster E menzili")); DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawEColor", 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("Rat-Ta-Tat-Tat (R) drawing settings :"); DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawR", new CheckBox("Goster R menzili")); DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawRColor", 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("Damage indicator drawing settings :"); DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawDamageIndicator", new CheckBox("Dusmana verilicek hasari goster", false)).OnValueChange += (a, b) => { if (b.NewValue) { DamageIndicator.DamageDelegate = HandleDamageIndicator; } else if (!b.NewValue) { DamageIndicator.DamageDelegate = null; } }; DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawDamageIndicatorColor", new CheckBox("Renk Sec", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[3].Initialize(System.Drawing.Color.Aquamarine); a.CurrentValue = false; }; }
/// <summary> /// Creates the Menu. /// </summary> public static void Create() { DefaultMenu = MainMenu.AddMenu("NidaleeBuddy", "NidaleeBuddy"); DefaultMenu.AddGroupLabel("Bu addon yapımcısı Karmapandadır."); DefaultMenu.AddGroupLabel( "Any unauthorized redistribution without credits will result in severe consequences."); DefaultMenu.AddGroupLabel("Bu addonu kullandığın için teşekkürler"); DefaultMenu.AddGroupLabel("Çevirmen TRAdana"); #region Combo ComboMenu = DefaultMenu.AddSubMenu("Combo", "Combo"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.Add("useQH", new CheckBox("İnsan Formunda Q At")); ComboMenu.Add("useWH", new CheckBox("İnsan Formunda W at")); ComboMenu.Add("useQC", new CheckBox("Puma Modunda Q at")); ComboMenu.Add("useWC", new CheckBox("Puma Modunda W at")); ComboMenu.Add("useEC", new CheckBox("Puma Modunda E Kullan")); ComboMenu.Add("useR", new CheckBox("Kombo Sırasında R kullan")); ComboMenu.AddLabel("İsabet Oranı Ayarları - İnsan Formunda"); ComboMenu.Add("predQH", new Slider("Q İsabet Oranı", 75)); ComboMenu.Add("predWH", new Slider("W İsabet Oranı", 75)); ComboMenu.AddLabel("İsabet Oranı Ayarları - Puma Formunda"); ComboMenu.Add("predWC", new Slider("W İsabet Oranı", 75)); ComboMenu.Add("predEC", new Slider("E İsabet Oranı", 75)); #endregion #region Last Hit LastHitMenu = DefaultMenu.AddSubMenu("Last Hit", "Last Hit"); LastHitMenu.AddGroupLabel("SonVuruş Ayarları"); LastHitMenu.Add("useQC", new CheckBox("Puma Formunda öldürülemeyecek minyona Q")); LastHitMenu.Add("useEC", new CheckBox("Puma Formunda öldürülemeyecek minyona E", false)); LastHitMenu.Add("useR", new CheckBox("Menzil Dışıysa R")); #endregion #region Harass HarassMenu = DefaultMenu.AddSubMenu("Harass", "Harass"); HarassMenu.AddGroupLabel("Dürtme Ayarları"); HarassMenu.Add("useQH", new CheckBox("İnsan Formunda Q")); HarassMenu.Add("useR", new CheckBox("Zorlamak için İnsan Formunda R")); HarassMenu.AddLabel("İsabet Oranı Ayarları - İnsan Formu"); HarassMenu.Add("predQH", new Slider("Q İsabet Oranı", 75)); #endregion #region Kill Steal KillStealMenu = DefaultMenu.AddSubMenu("Kill Steal", "Kill Steal"); KillStealMenu.AddGroupLabel("Kill Çalma Ayarları"); KillStealMenu.Add("useQH", new CheckBox("Kill Çalma Q")); KillStealMenu.Add("predQH", new Slider("Q İsabet Oranı", 75)); KillStealMenu.Add("useIgnite", new CheckBox("Tutuştur Kullan", false)); #endregion #region Lane Clear LaneClearMenu = DefaultMenu.AddSubMenu("Lane Clear", "Lane Clear"); LaneClearMenu.AddGroupLabel("LaneTemizleme Ayarları"); LaneClearMenu.Add("useQC", new CheckBox("Puma Formunda Q")); LaneClearMenu.Add("useWC", new CheckBox("Puma Formunda W")); LaneClearMenu.Add("useEC", new CheckBox("Puma Formunda E")); LaneClearMenu.Add("useR", new CheckBox("Lanetemizleme için R", false)); LaneClearMenu.AddLabel("Farm Ayarları - Puma Formunda"); LaneClearMenu.Add("predWC", new Slider("W için gereken minyon sayısı", 1, 1, 7)); LaneClearMenu.Add("predEC", new Slider("E tutma oranı", 1, 1, 7)); #endregion #region Jungle Clear JungleClearMenu = DefaultMenu.AddSubMenu("Jungle Clear", "Jungle Clear"); JungleClearMenu.AddGroupLabel("OrmanTemizleme Ayarları"); JungleClearMenu.Add("useQH", new CheckBox("Q İnsan Formunda")); JungleClearMenu.Add("useQC", new CheckBox("Puma Formunda Q")); JungleClearMenu.Add("useWC", new CheckBox("W Puma Formunda")); JungleClearMenu.Add("useEC", new CheckBox("Puma Formunda E")); JungleClearMenu.Add("useR", new CheckBox("OrmanTemizleme sırasında R")); JungleClearMenu.AddLabel("İsabet Oranı Ayarları"); JungleClearMenu.Add("predQH", new Slider("Q İsabet Oranı İnsan Formunda", 75)); JungleClearMenu.Add("predWC", new Slider("W İsabet Oranı Puma Formunda", 75)); JungleClearMenu.Add("predEC", new Slider("E İsabet Oranı Puma Formunda", 1, 1, 3)); #endregion #region Jungle Steal JungleStealMenu = DefaultMenu.AddSubMenu("Jungle Steal", "Jungle Steal"); JungleStealMenu.AddGroupLabel("Orman Çal"); JungleStealMenu.Add("useQH", new CheckBox("Ormanı çalmak için Q at")); JungleStealMenu.Add("predQH", new Slider("Q İsabet Oranı", 75)); JungleStealMenu.Add("useSmite", new CheckBox("Orman çalmak için Çarp at")); JungleStealMenu.Add("toggleK", new KeyBind("Çarp Tuşu", true, KeyBind.BindTypes.PressToggle, 'M')); JungleStealMenu.AddGroupLabel("Orman Kampları"); switch (Game.MapId) { case GameMapId.SummonersRift: JungleStealMenu.AddLabel("Epics"); JungleStealMenu.Add("SRU_Baron", new CheckBox("Baron")); JungleStealMenu.Add("SRU_Dragon", new CheckBox("Ejder")); JungleStealMenu.AddLabel("Buffs"); JungleStealMenu.Add("SRU_Blue", new CheckBox("MAvi")); JungleStealMenu.Add("SRU_Red", new CheckBox("Kırmızı")); JungleStealMenu.AddLabel("Küçük Kamplar"); JungleStealMenu.Add("SRU_Gromp", new CheckBox("Kurbağa", false)); JungleStealMenu.Add("SRU_Murkwolf", new CheckBox("AlacaKurt", false)); JungleStealMenu.Add("SRU_Krug", new CheckBox("Golem", false)); JungleStealMenu.Add("SRU_Razorbeak", new CheckBox("SivriGagalar", false)); JungleStealMenu.Add("Sru_Crab", new CheckBox("Yampiri Yengeç", false)); break; case GameMapId.TwistedTreeline: JungleStealMenu.AddLabel("Epics"); JungleStealMenu.Add("TT_Spiderboss8.1", new CheckBox("Örümcek")); JungleStealMenu.AddLabel("Camps"); JungleStealMenu.Add("TT_NWraith1.1", new CheckBox("Hayalet")); JungleStealMenu.Add("TT_NWraith4.1", new CheckBox("Hayalet")); JungleStealMenu.Add("TT_NGolem2.1", new CheckBox("Golem")); JungleStealMenu.Add("TT_NGolem5.1", new CheckBox("Golem")); JungleStealMenu.Add("TT_NWolf3.1", new CheckBox("Kurt")); JungleStealMenu.Add("TT_NWolf6.1", new CheckBox("Kurt")); break; } #endregion #region Drawing DrawingMenu = DefaultMenu.AddSubMenu("Drawing", "Drawing"); DrawingMenu.AddGroupLabel("Gösterge Ayarları"); DrawingMenu.Add("drawQH", new CheckBox("Göster Javelin Menzili")); DrawingMenu.Add("drawPred", new CheckBox("Göster Javelin İsabet Oranı")); DrawingMenu.AddLabel("HasarTespitçisi"); DrawingMenu.Add("draw.Damage", new CheckBox("Göster hasarı")); DrawingMenu.Add("draw.Q", new CheckBox("Q hasarı hesapla")); DrawingMenu.Add("draw.W", new CheckBox("W hasarı hesapla")); DrawingMenu.Add("draw.E", new CheckBox("E hasarı hesapla")); DrawingMenu.Add("draw.R", new CheckBox("R hasarı hesapla", false)); DrawingMenu.AddLabel("Hasar tespiti renkleri"); DrawingMenu.Add("draw_Alpha", new Slider("Alpha: ", 255, 0, 255)); DrawingMenu.Add("draw_Red", new Slider("Kırmızı: ", 255, 0, 255)); DrawingMenu.Add("draw_Green", new Slider("Yeşil: ", 0, 0, 255)); DrawingMenu.Add("draw_Blue", new Slider("Mavi: ", 0, 0, 255)); #endregion #region Misc MiscMenu = DefaultMenu.AddSubMenu("Misc Menu", "Misc Menu"); MiscMenu.AddGroupLabel("Auto Heal Ayarları"); MiscMenu.Add("autoHeal", new CheckBox("Otomatik can dostlara ve bana")); MiscMenu.Add("autoHealPercent", new Slider("Otomatik can yüzdesi", 50)); foreach (var a in EntityManager.Heroes.Allies.OrderBy(a => a.BaseSkinName)) { MiscMenu.Add("autoHeal_" + a.BaseSkinName, new CheckBox("Otomatik Can " + a.BaseSkinName)); } MiscMenu.AddGroupLabel("Büyü Ayarları"); MiscMenu.AddLabel("Only choose one of them below."); MiscMenu.Add("useQC_AfterAttack", new CheckBox("Saldırıdan sonra puma formunda Q at")); MiscMenu.Add("useQC_BeforeAttack", new CheckBox("Saldırıdan önce puma formunda Q at", false)); MiscMenu.Add("useQC_OnUpdate", new CheckBox("Cast Q in Cougar Form on Update", false)); MiscMenu.AddGroupLabel("ManaYardımcısı"); MiscMenu.Add("manaQ", new Slider("Kullan Q İnsan Formunda en az mana >= x", 25)); MiscMenu.Add("manaW", new Slider("Kullan W İnsan Formunda en az mana >= x", 25)); MiscMenu.Add("manaE", new Slider("Kullan E İnsan Formunda en az mana >= x", 25)); MiscMenu.Add("disableMM", new CheckBox("Kombo Modunda mana yardımcısı Devredışı")); #endregion }
static Config() { PandaTeemoReborn = MainMenu.AddMenu("PandaTeemoReborn", "PTR"); PandaTeemoReborn.AddGroupLabel("Yapimci KarmaPanda."); PandaTeemoReborn.AddGroupLabel("Turkce ceviri TekinTR."); PandaTeemoReborn.AddGroupLabel("Herhangi bir sorunla karsilasirsan TekinTR ile iletisime gec!"); ComboMenu = PandaTeemoReborn.AddSubMenu("Combo", "Combo"); ComboMenu.AddLabel("Spell Settings"); ComboMenu.Add("useQ", new CheckBox("Kullan Q Komboda")); ComboMenu.Add("useW", new CheckBox("Kullan W Komboda")); ComboMenu.Add("useR", new CheckBox("Kullan R Komboda")); ComboMenu.AddLabel("ManaManager"); ComboMenu.Add("manaQ", new Slider("Mana kullanmadan once Q")); ComboMenu.Add("manaW", new Slider("Mana kullanmadan once W")); ComboMenu.Add("manaR", new Slider("Mana kullanmadan once R")); ComboMenu.AddLabel("Q Settings"); ComboMenu.Add("checkAA", new Slider("Menzilden cikarma araligi Q: {0}", 0, 0, 180)); ComboMenu.AddLabel("R Settings"); ComboMenu.Add("doubleShroom", new CheckBox("Kullan cift mantar mantigi")); ComboMenu.Add("rPoison", new CheckBox("Kullan R sadece hedef zehirlenmemisse")); ComboMenu.Add("rCharge", new Slider("Sayisi R kullanmadan once R: {0}", 2, 1, 3)); //ComboMenu.Add("rDelay", new Slider("Delay for R Casting in ms: {0}", 1000, 0, 5000)); ComboMenu.AddLabel("Misc Settings"); ComboMenu.Add("adc", new CheckBox("Kullanilsin Q sadece ADC icin", false)); ComboMenu.Add("wRange", new CheckBox("Kullan W sadece dusman menzilde ise")); HarassMenu = PandaTeemoReborn.AddSubMenu("Harass", "Harass"); HarassMenu.AddGroupLabel("Spell Settings"); HarassMenu.Add("useQ", new CheckBox("Kullan Q durterken")); HarassMenu.Add("useW", new CheckBox("Kullan W durterken", false)); HarassMenu.AddLabel("ManaManager"); HarassMenu.Add("manaQ", new Slider("Mana kullanmadan once Q")); HarassMenu.Add("manaW", new Slider("Mana kullanmadan once W")); HarassMenu.AddLabel("Q Settings"); HarassMenu.Add("checkAA", new Slider("Menzilden cikarma araligi Q: {0}", 0, 0, 180)); HarassMenu.AddLabel("Misc Settings"); HarassMenu.Add("adc", new CheckBox("Kullanilsin Q sadece ADC icin", false)); HarassMenu.Add("wRange", new CheckBox("Kullan W sadece dusman menzilde ise")); LaneClearMenu = PandaTeemoReborn.AddSubMenu("LaneClear", "LaneClear"); LaneClearMenu.AddLabel("Spell Settings"); LaneClearMenu.Add("useQ", new CheckBox("Koridor temizlemede Q")); LaneClearMenu.Add("useR", new CheckBox("Koridor temizlemede R")); LaneClearMenu.AddLabel("ManaManager"); LaneClearMenu.Add("manaQ", new Slider("Q Mana yardimcisi", 50)); LaneClearMenu.Add("manaR", new Slider("R Mana yardimcisi", 50)); LaneClearMenu.AddLabel("Q Settings"); LaneClearMenu.Add("harass", new CheckBox("Kullan durtme mantigi")); LaneClearMenu.Add("disableLC", new CheckBox("Koridor temizleme mantigini kapat")); LaneClearMenu.AddLabel("R Settings"); LaneClearMenu.Add("rKillable", new CheckBox("Sadece kullan R minyonlar(s) olucekse")); LaneClearMenu.Add("rPoison", new CheckBox("Kullan R sadece minyonlar zehirlenmesse")); LaneClearMenu.Add("rCharge", new Slider("Sayisi R kullanmadan once R: {0}", 2, 1, 3)); //LaneClearMenu.Add("rDelay", new Slider("Delay for R Casting in ms: {0}", 1000, 0, 5000)); LaneClearMenu.Add("minionR", new Slider("Kac minyon icin kullanilsin R: {0}", 3, 1, 4)); JungleClearMenu = PandaTeemoReborn.AddSubMenu("JungleClear", "JungleClear"); JungleClearMenu.AddGroupLabel("Spell Settings"); JungleClearMenu.Add("useQ", new CheckBox("Ormanda Q")); JungleClearMenu.Add("useR", new CheckBox("Ormanda R")); JungleClearMenu.AddLabel("ManaManager"); JungleClearMenu.Add("manaQ", new Slider("Q Mana yardimcisi", 25)); JungleClearMenu.Add("manaR", new Slider("R Mana yardimcisi", 25)); JungleClearMenu.AddLabel("R Settings"); JungleClearMenu.Add("rKillable", new CheckBox("Sadece kullan R yaratik(s) oldurulebilirse", false)); JungleClearMenu.Add("rPoison", new CheckBox("Kullan R sadece mob zehirlenmesse")); JungleClearMenu.Add("rCharge", new Slider("Sayisi R kullanmadan once R: {0}", 2, 1, 3)); //JungleClearMenu.Add("rDelay", new Slider("Delay for R Casting in ms: {0}", 1000, 0, 5000)); JungleClearMenu.Add("mobR", new Slider("Yaratik sayisi kullanmadan once R: {0}", 1, 1, 4)); JungleClearMenu.AddLabel("Misc Settings"); JungleClearMenu.Add("bMob", new CheckBox("Kucuk yaratiklarda skill kullanimini onle")); KillStealMenu = PandaTeemoReborn.AddSubMenu("Kill Steal", "Kill Steal"); KillStealMenu.AddGroupLabel("Spell Settings"); KillStealMenu.Add("useQ", new CheckBox("Kullanarak oldur Q")); KillStealMenu.Add("useR", new CheckBox("Kullanarak oldur R", false)); KillStealMenu.AddLabel("ManaManager"); KillStealMenu.Add("manaQ", new Slider("Q Mana yardimcisi", 25)); KillStealMenu.Add("manaR", new Slider("R Mana yardimcisi", 25)); KillStealMenu.AddLabel("R Settings"); //KillStealMenu.Add("rDelay", new Slider("Delay for R Casting in ms: {0}", 1000, 0, 5000)); KillStealMenu.Add("doubleShroom", new CheckBox("Kullan mantar sektirme")); FleeMenu = PandaTeemoReborn.AddSubMenu("Flee Menu", "Flee"); FleeMenu.AddGroupLabel("Flee Settings"); FleeMenu.Add("useW", new CheckBox("Kacarken W kullan")); FleeMenu.Add("useR", new CheckBox("Kacarken R kullan")); FleeMenu.AddLabel("R Settings"); //FleeMenu.Add("rDelay", new Slider("Delay for R Casting in ms: {0}", 1000, 0, 5000)); FleeMenu.Add("rCharge", new Slider("Sayisi R kullanmadan once R: {0}", 2, 1, 3)); AutoShroomMenu = PandaTeemoReborn.AddSubMenu("Auto Shroom", "Auto Shroom"); AutoShroomMenu.AddGroupLabel("Auto Shroom Settings"); AutoShroomMenu.Add("useR", new CheckBox("Otomatik R")); AutoShroomMenu.Add("manaR", new Slider("R mana yardimcisi", 25)); AutoShroomMenu.Add("rCharge", new Slider("Sayisi R kullanmadan once R: {0}", 2, 1, 3)); AutoShroomMenu.Add("enableShroom", new CheckBox("Yukle otomatik mantar (Basmalisin F5)")); AutoShroomMenu.Add("enableDefaultLocations", new CheckBox("Varsayilan konumlari kullan (Basmalisin F5)")); AutoShroomMenu.AddLabel("Debug Mode"); var enable = AutoShroomMenu.Add("enableDebug", new CheckBox("Enable Debug Mode", false)); enable.OnValueChange += delegate(ValueBase <bool> sender, ValueBase <bool> .ValueChangeArgs args) { if (!args.NewValue) { Chat.Print("PandaTeemo | Debug Mode Disabled", System.Drawing.Color.LawnGreen); } else { Chat.Print("PandaTeemo | Debug Mode Enabled", System.Drawing.Color.Red); } }; var save = AutoShroomMenu.Add("saveButton", new KeyBind("Save Configuration", false, KeyBind.BindTypes.HoldActive, 'K')); save.OnValueChange += delegate(ValueBase <bool> sender, ValueBase <bool> .ValueChangeArgs args) { if (!args.NewValue) { return; } if (Extensions.MenuValues.AutoShroom.DebugMode) { save.CurrentValue = false; AutoShroom.SavePositions(); } }; AutoShroomMenu.AddLabel("Shroom Location Adder"); AutoShroomMenu.Add("posMode", new ComboBox("Position Mode", 0, "Save Mouse", "Save Player Position")); var add = AutoShroomMenu.Add("newposButton", new KeyBind("Save Position", false, KeyBind.BindTypes.HoldActive, 'L')); add.OnValueChange += delegate(ValueBase <bool> sender, ValueBase <bool> .ValueChangeArgs args) { if (!args.NewValue) { return; } if (Extensions.MenuValues.AutoShroom.DebugMode) { add.CurrentValue = false; Vector3 newPosition = Vector3.Zero; switch (Extensions.MenuValues.AutoShroom.PositionMode.CurrentValue) { case 0: newPosition = Game.CursorPos; break; case 1: newPosition = Player.Instance.Position; break; } if (newPosition != Vector3.Zero && !AutoShroom.ShroomPosition.Contains(newPosition)) { AutoShroom.AddShroomLocation(newPosition); AutoShroom.SavePositions(); } } }; var remove = AutoShroomMenu.Add("delposButton", new KeyBind("Delete Position", false, KeyBind.BindTypes.HoldActive, 'U')); remove.OnValueChange += delegate(ValueBase <bool> sender, ValueBase <bool> .ValueChangeArgs args) { if (!args.NewValue) { return; } if (Extensions.MenuValues.AutoShroom.DebugMode) { remove.CurrentValue = false; } Vector3 newPosition = Vector3.Zero; switch (Extensions.MenuValues.AutoShroom.PositionMode.CurrentValue) { case 0: newPosition = Game.CursorPos; break; case 1: newPosition = Player.Instance.Position; break; } if (newPosition == Vector3.Zero) { return; } var nearbyShrooms = AutoShroom.PlayerAssignedShroomPosition.Where(pos => pos.IsInRange(newPosition, SpellManager.R.Radius)).ToList(); if (!nearbyShrooms.Any()) { return; } AutoShroom.RemoveShroomLocations(nearbyShrooms); AutoShroom.SavePositions(); }; DrawingMenu = PandaTeemoReborn.AddSubMenu("Drawing", "Drawing"); DrawingMenu.AddGroupLabel("Drawing Settings"); DrawingMenu.Add("drawQ", new CheckBox("Goster Q Menzili")); DrawingMenu.Add("drawR", new CheckBox("Goster R Menzili")); DrawingMenu.Add("drawautoR", new CheckBox("Goster oto mantar pozisyonlari")); DrawingMenu.Add("drawdoubleR", new CheckBox("Goster cift mantar tahmini", false)); MiscMenu = PandaTeemoReborn.AddSubMenu("Misc", "Misc"); MiscMenu.AddGroupLabel("Spell Settings"); MiscMenu.Add("autoQ", new CheckBox("Otomatik Q", false)); MiscMenu.Add("autoW", new CheckBox("Otomatik W", false)); MiscMenu.Add("intq", new CheckBox("Kesici Q")); MiscMenu.Add("gapR", new CheckBox("Atilma yapanlara R")); }
protected override void CreateMenu() { ComboMenu = MenuManager.Menu.AddSubMenu("Combo"); ComboMenu.AddGroupLabel("Combo mode settings for Twitch addon"); ComboMenu.AddLabel("Ambush (Q) settings :"); ComboMenu.Add("Plugins.Twitch.ComboMenu.UseQ", new CheckBox("Use Q")); ComboMenu.Add("Plugins.Twitch.ComboMenu.UseQAfterKill", new CheckBox("Use Q after kill")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Venom Cask (W) settings :"); ComboMenu.Add("Plugins.Twitch.ComboMenu.UseW", new CheckBox("Use W")); ComboMenu.Add("Plugins.Twitch.ComboMenu.BlockWIfRIsActive", new CheckBox("Don't use W if R is active")); ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Contaminate (E) settings :"); ComboMenu.Add("Plugins.Twitch.ComboMenu.UseE", new CheckBox("Use E")); var mode = ComboMenu.Add("Plugins.Twitch.ComboMenu.UseEIfDmg", new ComboBox("E usage mode", 0, "Percentage", "At stacks", "Only to killsteal")); ComboMenu.AddSeparator(10); ComboMenu.AddLabel("Percentage : Uses E only if it will deal desired percentage of enemy current health.\nAt stacks : Uses E only if desired amount of stack are reached on enemy.\nOnly to killsteal : " + "Uses E only to execute enemies."); ComboMenu.AddSeparator(10); var percentage = ComboMenu.Add("Plugins.Twitch.ComboMenu.EAtStacks", new Slider("Use E if will deal ({0}%) percentage of enemy hp.", 30)); switch (mode.CurrentValue) { case 0: percentage.DisplayName = "Use E if will deal ({0}%) percentage of enemy hp."; percentage.MinValue = 0; percentage.MaxValue = 100; break; case 1: percentage.DisplayName = "Use E at {0} stacks."; percentage.MinValue = 1; percentage.MaxValue = 6; break; case 2: percentage.IsVisible = false; break; } mode.OnValueChange += (a, b) => { switch (b.NewValue) { case 0: percentage.DisplayName = "Use E if will deal ({0}%) percentage of enemy hp."; percentage.MinValue = 0; percentage.MaxValue = 100; percentage.IsVisible = true; break; case 1: percentage.DisplayName = "Use E at {0} stacks."; percentage.MinValue = 1; percentage.MaxValue = 6; percentage.IsVisible = true; break; case 2: percentage.IsVisible = false; break; } }; ComboMenu.AddSeparator(5); ComboMenu.AddLabel("Rat-Ta-Tat-Tat (R) settings :"); ComboMenu.Add("Plugins.Twitch.ComboMenu.UseR", new CheckBox("Use R")); ComboMenu.Add("Plugins.Twitch.ComboMenu.RIfEnemiesHit", new Slider("Use R if gonna hit {0} enemies", 3, 1, 5)); ComboMenu.AddSeparator(5); ComboMenu.Add("Plugins.Twitch.ComboMenu.RifTargetOutOfRange", new CheckBox("Use R if target is out of range", false)); ComboMenu.AddLabel("Uses R if target is killabe, but he is not inside basic attack range, and R won't be up in next 2 secs."); HarassMenu = MenuManager.Menu.AddSubMenu("Harass"); HarassMenu.AddGroupLabel("Harass mode settings for Twitch addon"); HarassMenu.AddLabel("Venom Cask (W) settings :"); HarassMenu.Add("Plugins.Twitch.HarassMenu.UseW", new CheckBox("Use W", false)); HarassMenu.Add("Plugins.Twitch.HarassMenu.WMinMana", new Slider("Min mana percentage ({0}%) to use W", 80, 1)); HarassMenu.AddSeparator(5); HarassMenu.AddLabel("Contaminate (E) settings :"); HarassMenu.Add("Plugins.Twitch.HarassMenu.UseE", new CheckBox("Use E", false)); HarassMenu.Add("Plugins.Twitch.HarassMenu.TwoEnemiesMin", new CheckBox("Only if will hit 2 or more enemies", false)); HarassMenu.Add("Plugins.Twitch.HarassMenu.EMinMana", new Slider("Min mana percentage ({0}%) to use E", 80, 1)); HarassMenu.Add("Plugins.Twitch.HarassMenu.EMinStacks", new Slider("Min stacks to use E", 6, 1, 6)); LaneClearMenu = MenuManager.Menu.AddSubMenu("Lane clear"); LaneClearMenu.AddGroupLabel("Lane clear mode settings for Twitch addon"); LaneClearMenu.AddLabel("Basic settings :"); LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Enable lane clear only if no enemies nearby")); var scanRange = LaneClearMenu.Add("Plugins.Twitch.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.Twitch.LaneClearMenu.AllowedEnemies", new Slider("Allowed enemies amount", 1, 0, 5)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Venom Cask (W) settings :"); LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.UseW", new CheckBox("Use W", false)); LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.WMinMana", new Slider("Min mana percentage ({0}%) to use W", 80, 1)); LaneClearMenu.AddSeparator(5); LaneClearMenu.AddLabel("Contaminate (E) settings :"); LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.UseE", new CheckBox("Use E", false)); LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.EMinMana", new Slider("Min mana percentage ({0}%) to use E", 80, 1)); LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.EMinMinionsHit", new Slider("Min minions hit to use E", 4, 1, 7)); JungleClearMenu = MenuManager.Menu.AddSubMenu("Jungle clear"); JungleClearMenu.AddGroupLabel("Jungle clear mode settings for Twitch addon"); JungleClearMenu.AddLabel("Venom Cask (W) settings :"); JungleClearMenu.Add("Plugins.Twitch.JungleClearMenu.UseW", new CheckBox("Use W", false)); JungleClearMenu.Add("Plugins.Twitch.JungleClearMenu.WMinMana", new Slider("Min mana percentage ({0}%) to use W", 80, 1)); JungleClearMenu.AddSeparator(5); JungleClearMenu.AddLabel("Contaminate (E) settings :"); JungleClearMenu.Add("Plugins.Twitch.JungleClearMenu.UseE", new CheckBox("Use E")); JungleClearMenu.Add("Plugins.Twitch.JungleClearMenu.EMinMana", new Slider("Min mana percentage ({0}%) to use E", 30, 1)); JungleClearMenu.AddLabel("Uses E only on big monsters and buffs"); MiscMenu = MenuManager.Menu.AddSubMenu("Misc"); MiscMenu.AddGroupLabel("Misc settings for Twitch addon"); MiscMenu.AddLabel("Basic settings :"); MiscMenu.Add("Plugins.Twitch.MiscMenu.StealthRecall", new CheckBox("Enable steath recall")); DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings"); DrawingsMenu.AddGroupLabel("Drawings settings for Twitch addon"); DrawingsMenu.AddLabel("Basic settings :"); DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready")); DrawingsMenu.AddSeparator(5); DrawingsMenu.AddLabel("Venom Cask (W) drawing settings :"); DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawW", new CheckBox("Draw W range", false)); DrawingsMenu.Add("Plugins.Twitch.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.AddLabel("Contaminate (E) drawing settings :"); DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawE", new CheckBox("Draw E range")); DrawingsMenu.Add("Plugins.Twitch.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("Rat-Ta-Tat-Tat (R) drawing settings :"); DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawR", new CheckBox("Draw R range")); DrawingsMenu.Add("Plugins.Twitch.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.AddSeparator(5); DrawingsMenu.AddLabel("Damage indicator drawing settings :"); DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawDamageIndicator", new CheckBox("Draw damage indicator on enemy HP bars", false)).OnValueChange += (a, b) => { if (b.NewValue) { DamageIndicator.DamageDelegate = HandleDamageIndicator; } else if (!b.NewValue) { DamageIndicator.DamageDelegate = null; } }; DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawDamageIndicatorColor", new CheckBox("Change color", false)).OnValueChange += (a, b) => { if (!b.NewValue) { return; } ColorPicker[3].Initialize(System.Drawing.Color.Aquamarine); a.CurrentValue = false; }; }
static Config() { PandaTeemoReborn = MainMenu.AddMenu("PandaTeemoReborn", "PTR"); PandaTeemoReborn.AddGroupLabel("Bu addon KarmaPanda Tarafından Geliştirilmiştir."); PandaTeemoReborn.AddGroupLabel( "Kimseden yardım alınmamıştır."); PandaTeemoReborn.AddGroupLabel("Addonumu Kullandığınız için Teşekkür Ederim!"); PandaTeemoReborn.AddGroupLabel("Çeviri TRAdana"); ComboMenu = PandaTeemoReborn.AddSubMenu("Combo", "Combo"); ComboMenu.AddLabel("Büyü Ayarları"); ComboMenu.Add("useQ", new CheckBox("Q Kullan")); ComboMenu.Add("useW", new CheckBox("W Kullan")); ComboMenu.Add("useR", new CheckBox("R Kullan")); ComboMenu.AddLabel("ManaYardımcısı"); ComboMenu.Add("manaQ", new Slider("Q dan önce hesapla")); ComboMenu.Add("manaW", new Slider("Wden önce hesapla")); ComboMenu.Add("manaR", new Slider("R den önce hesapla")); ComboMenu.AddLabel("Q Ayarları"); ComboMenu.Add("checkAA", new Slider("Q için menzil: {0}", 0, 0, 180)); ComboMenu.AddLabel("R Ayarları"); ComboMenu.Add("doubleShroom", new CheckBox("Çift mantar mantığı kullan")); ComboMenu.Add("rPoison", new CheckBox("Hedef sadece zehirlenmemişse R Kullan")); ComboMenu.Add("rCharge", new Slider("R kullanmak için mevcut R yükü: {0}", 2, 1, 3)); ComboMenu.Add("rDelay", new Slider("R kullanma gecikmesi: {0}", 1000, 0, 5000)); ComboMenu.AddLabel("Ek Ayarları"); ComboMenu.Add("adc", new CheckBox("Qyu sadece adc de kullan", false)); ComboMenu.Add("wRange", new CheckBox("W yi sadece hedef menzildeyse kullan")); HarassMenu = PandaTeemoReborn.AddSubMenu("Harass", "Harass"); HarassMenu.AddGroupLabel("Büyü Ayarları"); HarassMenu.Add("useQ", new CheckBox("Q Kullan")); HarassMenu.Add("useW", new CheckBox("W Kullan", false)); HarassMenu.AddLabel("ManaYardımcısı"); HarassMenu.Add("manaQ", new Slider("Q dan önce hesapla")); HarassMenu.Add("manaW", new Slider("W den önce hesapla")); HarassMenu.AddLabel("Q Ayarları"); HarassMenu.Add("checkAA", new Slider("Q için menzil: {0}", 0, 0, 180)); HarassMenu.AddLabel("Misc Ayarları"); HarassMenu.Add("adc", new CheckBox("Qyu sadece adc de kullan", false)); HarassMenu.Add("wRange", new CheckBox("W yi sadece hedef menzildeyse kullan")); LaneClearMenu = PandaTeemoReborn.AddSubMenu("LaneClear", "LaneClear"); LaneClearMenu.AddLabel("Büyü Ayarları"); LaneClearMenu.Add("useQ", new CheckBox("Q Kullan")); LaneClearMenu.Add("useR", new CheckBox("R Kullan")); LaneClearMenu.AddLabel("ManaYardımcısı"); LaneClearMenu.Add("manaQ", new Slider("Q için en az mana", 50)); LaneClearMenu.Add("manaR", new Slider("R için en az mana", 50)); LaneClearMenu.AddLabel("Q Ayarları"); LaneClearMenu.Add("harass", new CheckBox("Dürtme mantığı Kullan")); LaneClearMenu.Add("disableLC", new CheckBox("Laneclearda mantığı devredışı bırak")); LaneClearMenu.AddLabel("R Ayarları"); LaneClearMenu.Add("rKillable", new CheckBox("Sadece minyonlar ölecekse R fırlat")); LaneClearMenu.Add("rPoison", new CheckBox("Sadece minyonlar zehirlenmemişse at")); LaneClearMenu.Add("rCharge", new Slider("R kullanmak için mevcut R yükü: {0}", 2, 1, 3)); LaneClearMenu.Add("rDelay", new Slider("R için gecikme: {0}", 1000, 0, 5000)); LaneClearMenu.Add("minionR", new Slider("Şu kadar minyon varsa R Kullan: {0}", 3, 1, 4)); JungleClearMenu = PandaTeemoReborn.AddSubMenu("JungleClear", "JungleClear"); JungleClearMenu.AddGroupLabel("Büyü Ayarları"); JungleClearMenu.Add("useQ", new CheckBox("Q Kullan")); JungleClearMenu.Add("useR", new CheckBox("R Kullan")); JungleClearMenu.AddLabel("ManaYardımcısı"); JungleClearMenu.Add("manaQ", new Slider("Q için en az mana", 25)); JungleClearMenu.Add("manaR", new Slider("R için en az mana", 25)); JungleClearMenu.AddLabel("R Ayarları"); JungleClearMenu.Add("rKillable", new CheckBox("Sadece canavar ölecekse R Kullan", false)); JungleClearMenu.Add("rPoison", new CheckBox("Sadece zehirlenmemişse R Kullan")); JungleClearMenu.Add("rCharge", new Slider("R kullanmak için mevcut R yükü: {0}", 2, 1, 3)); JungleClearMenu.Add("rDelay", new Slider("R gecikmesi: {0}", 1000, 0, 5000)); JungleClearMenu.Add("mobR", new Slider("R için gereken canavar sayısı: {0}", 1, 1, 4)); JungleClearMenu.AddLabel("Ek Ayarları"); JungleClearMenu.Add("bMob", new CheckBox("Küçük canavarlara büyü kullanmayı önle")); KillStealMenu = PandaTeemoReborn.AddSubMenu("Kill Steal", "Kill Steal"); KillStealMenu.AddGroupLabel("Büyü Ayarları"); KillStealMenu.Add("useQ", new CheckBox("Q Kullan")); KillStealMenu.Add("useR", new CheckBox("R Kullan", false)); KillStealMenu.AddLabel("ManaYardımcısı"); KillStealMenu.Add("manaQ", new Slider("Q için en az mana", 25)); KillStealMenu.Add("manaR", new Slider("R için en az mana", 25)); KillStealMenu.AddLabel("R Ayarları"); KillStealMenu.Add("rDelay", new Slider("R gecikmesi: {0}", 1000, 0, 5000)); KillStealMenu.Add("doubleShroom", new CheckBox("Çift mantar mantığını kullan")); FleeMenu = PandaTeemoReborn.AddSubMenu("Flee Menu", "Flee"); FleeMenu.AddGroupLabel("Flee Ayarları"); FleeMenu.Add("useW", new CheckBox("W Kullan")); FleeMenu.Add("useR", new CheckBox("R Kullan")); FleeMenu.AddLabel("R Ayarları"); FleeMenu.Add("rDelay", new Slider("R gecikmesi: {0}", 1000, 0, 5000)); FleeMenu.Add("rCharge", new Slider("R kullanmak için mevcut R yükü: {0}", 2, 1, 3)); AutoShroomMenu = PandaTeemoReborn.AddSubMenu("Auto Shroom", "Auto Shroom"); AutoShroomMenu.AddGroupLabel("Otomatik Mantar Ayarları"); AutoShroomMenu.Add("useR", new CheckBox("R kullan")); AutoShroomMenu.Add("manaR", new Slider("R için en az mana", 25)); AutoShroomMenu.Add("rCharge", new Slider("R kullanmak için mevcut R yükü: {0}", 2, 1, 3)); AutoShroomMenu.Add("enableShroom", new CheckBox("Otomatik Mantar Yükle (F5 basman gerek)")); AutoShroomMenu.Add("enableDefaultLocations", new CheckBox("Varsayılan konumları kullan(mantar atma konumları) (F5 basman gerek)")); AutoShroomMenu.AddLabel("Hata Ayıklama Modu"); var enable = AutoShroomMenu.Add("enableDebug", new CheckBox("Aktif hata ayıklama", false)); enable.OnValueChange += delegate(ValueBase <bool> sender, ValueBase <bool> .ValueChangeArgs args) { if (!args.NewValue) { Chat.Print("PandaTeemo | Hata ayiklama devredisi", System.Drawing.Color.LawnGreen); } else { Chat.Print("PandaTeemo | Hata Ayiklama aktif", System.Drawing.Color.Red); } }; var save = AutoShroomMenu.Add("saveButton", new KeyBind("Ayarları kaydet", false, KeyBind.BindTypes.HoldActive, 'K')); save.OnValueChange += delegate(ValueBase <bool> sender, ValueBase <bool> .ValueChangeArgs args) { if (!args.NewValue) { return; } if (Extensions.MenuValues.AutoShroom.DebugMode) { save.CurrentValue = false; AutoShroom.SavePositions(); } }; AutoShroomMenu.AddLabel("Mantar atma konumları"); AutoShroomMenu.Add("posMode", new ComboBox("Position Mode", 0, "Save Mouse", "Save Player Position")); var add = AutoShroomMenu.Add("newposButton", new KeyBind("Konumu kaydet", false, KeyBind.BindTypes.HoldActive, 'L')); add.OnValueChange += delegate(ValueBase <bool> sender, ValueBase <bool> .ValueChangeArgs args) { if (!args.NewValue) { return; } if (Extensions.MenuValues.AutoShroom.DebugMode) { add.CurrentValue = false; Vector3 newPosition = Vector3.Zero; switch (Extensions.MenuValues.AutoShroom.PositionMode.CurrentValue) { case 0: newPosition = Game.CursorPos; break; case 1: newPosition = Player.Instance.Position; break; } if (newPosition != Vector3.Zero && !AutoShroom.ShroomPosition.Contains(newPosition)) { AutoShroom.AddShroomLocation(newPosition); AutoShroom.SavePositions(); } } }; var remove = AutoShroomMenu.Add("delposButton", new KeyBind("Konumu Sil", false, KeyBind.BindTypes.HoldActive, 'U')); remove.OnValueChange += delegate(ValueBase <bool> sender, ValueBase <bool> .ValueChangeArgs args) { if (!args.NewValue) { return; } if (Extensions.MenuValues.AutoShroom.DebugMode) { remove.CurrentValue = false; } Vector3 newPosition = Vector3.Zero; switch (Extensions.MenuValues.AutoShroom.PositionMode.CurrentValue) { case 0: newPosition = Game.CursorPos; break; case 1: newPosition = Player.Instance.Position; break; } if (newPosition == Vector3.Zero) { return; } var nearbyShrooms = AutoShroom.PlayerAssignedShroomPosition.Where(pos => pos.IsInRange(newPosition, SpellManager.R.Radius)).ToList(); if (!nearbyShrooms.Any()) { return; } AutoShroom.RemoveShroomLocations(nearbyShrooms); AutoShroom.SavePositions(); }; DrawingMenu = PandaTeemoReborn.AddSubMenu("Drawing", "Drawing"); DrawingMenu.AddGroupLabel("Gösterge Ayarları"); DrawingMenu.Add("drawQ", new CheckBox("Göster Q Menzili")); DrawingMenu.Add("drawR", new CheckBox("Göster R Menzili")); DrawingMenu.Add("drawautoR", new CheckBox("Göster Otomatik mantar atma yerleri")); DrawingMenu.Add("drawdoubleR", new CheckBox("Göster Çift mantar mantığını", false)); MiscMenu = PandaTeemoReborn.AddSubMenu("Misc", "Misc"); MiscMenu.AddGroupLabel("Büyü Ayarları"); MiscMenu.Add("autoQ", new CheckBox("Otomatik Q", false)); MiscMenu.Add("autoW", new CheckBox("Otomatik W", false)); MiscMenu.Add("intq", new CheckBox("Interrupt ile Q")); MiscMenu.Add("gapR", new CheckBox("Gapcloser ile R")); }
/// <summary> /// Creates the Menu. /// </summary> public static void Create() { DefaultMenu = MainMenu.AddMenu("狂野女猎手", "NidaleeBuddy"); DefaultMenu.AddGroupLabel("This addon is made by KarmaPanda and should not be redistributed in any way."); DefaultMenu.AddGroupLabel( "Any unauthorized redistribution without credits will result in severe consequences."); DefaultMenu.AddGroupLabel("Thank you for using this addon and have a fun time!"); #region Combo ComboMenu = DefaultMenu.AddSubMenu("连招", "Combo"); ComboMenu.AddGroupLabel("连招设置"); ComboMenu.Add("useQH", new CheckBox("人类状态使用Q")); ComboMenu.Add("useWH", new CheckBox("人类状态使用W")); ComboMenu.Add("useQC", new CheckBox("豹子状态使用Q")); ComboMenu.Add("useWC", new CheckBox("豹子状态使用W")); ComboMenu.Add("useEC", new CheckBox("豹子状态使用E")); ComboMenu.Add("useR", new CheckBox("连招时使用R")); ComboMenu.AddLabel("预判设置 - 人类状态"); ComboMenu.Add("predQH", new Slider("命中率为 x %时使用Q", 75)); ComboMenu.Add("predWH", new Slider("命中率为 x %时使用W", 75)); ComboMenu.AddLabel("预判设置 - 豹子状态"); ComboMenu.Add("predWC", new Slider("命中率为 x %时使用W", 75)); ComboMenu.Add("predEC", new Slider("命中率为 x %时使用E", 75)); #endregion #region Last Hit LastHitMenu = DefaultMenu.AddSubMenu("尾兵", "Last Hit"); LastHitMenu.AddGroupLabel("尾兵设置"); LastHitMenu.Add("useQC", new CheckBox("豹子模式使用Q当无法杀死小兵时")); LastHitMenu.Add("useEC", new CheckBox("豹子模式使用E当无法杀死小兵时", false)); LastHitMenu.Add("useR", new CheckBox("超出范围时使用R")); #endregion #region Harass HarassMenu = DefaultMenu.AddSubMenu("骚扰", "Harass"); HarassMenu.AddGroupLabel("骚扰设置"); HarassMenu.Add("useQH", new CheckBox("人类状态使用Q")); HarassMenu.Add("useR", new CheckBox("强制人类状态")); HarassMenu.AddLabel("预判设置 - 人类状态"); HarassMenu.Add("predQH", new Slider("命中率为 x %时使用Q", 75)); #endregion #region Kill Steal KillStealMenu = DefaultMenu.AddSubMenu("抢人头", "Kill Steal"); KillStealMenu.AddGroupLabel("抢头设置"); KillStealMenu.Add("useQH", new CheckBox("Q抢头")); KillStealMenu.Add("predQH", new Slider("命中率为 x %时使用Q", 75)); KillStealMenu.Add("useIgnite", new CheckBox("使用点燃", false)); #endregion #region Lane Clear LaneClearMenu = DefaultMenu.AddSubMenu("清线", "Lane Clear"); LaneClearMenu.AddGroupLabel("清线设置"); LaneClearMenu.Add("useQC", new CheckBox("豹子模式使用Q")); LaneClearMenu.Add("useWC", new CheckBox("豹子模式使用W")); LaneClearMenu.Add("useEC", new CheckBox("豹子模式使用E")); LaneClearMenu.Add("useR", new CheckBox("清线时使用R", false)); LaneClearMenu.AddLabel("农兵设置 - 豹子模式"); LaneClearMenu.Add("predWC", new Slider("如果能命中 X 小兵使用W", 1, 1, 7)); LaneClearMenu.Add("predEC", new Slider("如果能命中 X 小兵使用E", 1, 1, 7)); #endregion #region Jungle Clear JungleClearMenu = DefaultMenu.AddSubMenu("清野", "Jungle Clear"); JungleClearMenu.AddGroupLabel("清野设置"); JungleClearMenu.Add("useQH", new CheckBox("人类模式使用Q")); JungleClearMenu.Add("useQC", new CheckBox("豹子模式使用Q")); JungleClearMenu.Add("useWC", new CheckBox("豹子模式使用W")); JungleClearMenu.Add("useEC", new CheckBox("豹子模式使用E")); JungleClearMenu.Add("useR", new CheckBox("清野时使用R")); JungleClearMenu.AddLabel("预判设置"); JungleClearMenu.Add("predQH", new Slider("人类状态命中率为 x %时使用Q", 75)); JungleClearMenu.Add("predWC", new Slider("豹子状态命中率为 x %时使用W", 75)); JungleClearMenu.Add("predEC", new Slider("豹子状态命中数量 X 使用E", 1, 1, 3)); #endregion #region Jungle Steal JungleStealMenu = DefaultMenu.AddSubMenu("偷野", "Jungle Steal"); JungleStealMenu.AddGroupLabel("偷野设置"); JungleStealMenu.Add("useQH", new CheckBox("使用Q偷野")); JungleStealMenu.Add("predQH", new Slider("命中率为 x %时使用Q", 75)); JungleStealMenu.Add("useSmite", new CheckBox("使用惩戒偷野")); JungleStealMenu.Add("toggleK", new KeyBind("惩戒开关", true, KeyBind.BindTypes.PressToggle, 'M')); JungleStealMenu.AddGroupLabel("野怪开关"); switch (Game.MapId) { case GameMapId.SummonersRift: JungleStealMenu.AddLabel("5V5史诗"); JungleStealMenu.Add("SRU_Baron", new CheckBox("男爵")); JungleStealMenu.Add("SRU_Dragon", new CheckBox("小龙")); JungleStealMenu.AddLabel("增益"); JungleStealMenu.Add("SRU_Blue", new CheckBox("蓝")); JungleStealMenu.Add("SRU_Red", new CheckBox("红")); JungleStealMenu.AddLabel("小怪"); JungleStealMenu.Add("SRU_Gromp", new CheckBox("青蛙", false)); JungleStealMenu.Add("SRU_Murkwolf", new CheckBox("狼", false)); JungleStealMenu.Add("SRU_Krug", new CheckBox("石头人", false)); JungleStealMenu.Add("SRU_Razorbeak", new CheckBox("鸟怪", false)); JungleStealMenu.Add("Sru_Crab", new CheckBox("河蟹", false)); break; case GameMapId.TwistedTreeline: JungleStealMenu.AddLabel("3V3史诗"); JungleStealMenu.Add("TT_Spiderboss8.1", new CheckBox("蜘蛛怪")); JungleStealMenu.AddLabel("Camps"); JungleStealMenu.Add("TT_NWraith1.1", new CheckBox("幽鬼")); JungleStealMenu.Add("TT_NWraith4.1", new CheckBox("幽鬼")); JungleStealMenu.Add("TT_NGolem2.1", new CheckBox("石头人")); JungleStealMenu.Add("TT_NGolem5.1", new CheckBox("石头人")); JungleStealMenu.Add("TT_NWolf3.1", new CheckBox("狼")); JungleStealMenu.Add("TT_NWolf6.1", new CheckBox("狼")); break; } #endregion #region Drawing DrawingMenu = DefaultMenu.AddSubMenu("线圈", "Drawing"); DrawingMenu.AddGroupLabel("线圈设置"); DrawingMenu.Add("drawQH", new CheckBox("显示Q范围")); DrawingMenu.Add("drawPred", new CheckBox("显示Q命中率")); DrawingMenu.AddLabel("伤害显示"); DrawingMenu.Add("draw.Damage", new CheckBox("显示伤害")); DrawingMenu.Add("draw.Q", new CheckBox("计算Q伤害")); DrawingMenu.Add("draw.W", new CheckBox("计算W伤害")); DrawingMenu.Add("draw.E", new CheckBox("计算E伤害")); DrawingMenu.Add("draw.R", new CheckBox("计算R伤害", false)); DrawingMenu.AddLabel("伤害计算显示颜色"); DrawingMenu.Add("draw_Alpha", new Slider("Alpha: ", 255, 0, 255)); DrawingMenu.Add("draw_Red", new Slider("Red: ", 255, 0, 255)); DrawingMenu.Add("draw_Green", new Slider("Green: ", 0, 0, 255)); DrawingMenu.Add("draw_Blue", new Slider("Blue: ", 0, 0, 255)); #endregion #region Misc MiscMenu = DefaultMenu.AddSubMenu("杂项", "Misc Menu"); MiscMenu.AddGroupLabel("自动治疗设置"); MiscMenu.Add("autoHeal", new CheckBox("治疗友军与我")); MiscMenu.Add("autoHealPercent", new Slider("自动治疗百分比", 50)); foreach (var a in EntityManager.Heroes.Allies.OrderBy(a => a.BaseSkinName)) { MiscMenu.Add("autoHeal_" + a.BaseSkinName, new CheckBox("自动治疗 " + a.BaseSkinName)); } MiscMenu.AddGroupLabel("技能设置"); MiscMenu.AddLabel("请在以下只选择一个."); MiscMenu.Add("useQC_AfterAttack", new CheckBox("豹子状态平A后使用Q")); MiscMenu.Add("useQC_BeforeAttack", new CheckBox("豹子状态平A前使用Q", false)); MiscMenu.Add("useQC_OnUpdate", new CheckBox("豹子状态后立刻使用Q", false)); MiscMenu.AddGroupLabel("蓝量控制器"); MiscMenu.Add("manaQ", new Slider("人类状态当蓝量百分比 >= x时使用Q", 25)); MiscMenu.Add("manaW", new Slider("人类状态当蓝量百分比 >= x时使用W", 25)); MiscMenu.Add("manaE", new Slider("人类状态当蓝量百分比 >= x时使用E", 25)); MiscMenu.Add("disableMM", new CheckBox("连招模式下停止使用蓝量控制器")); #endregion }
/// <summary> /// Runs when Loading is Complete /// </summary> /// <param name="args">The args</param> private static void Loading_OnLoadingComplete(EventArgs args) { if (ChampionName != PlayerInstance.BaseSkinName) { return; } // Attempts to Set Spell Data try { // Human Form QHuman = new Spell.Skillshot(SpellSlot.Q, 1500, SkillShotType.Linear, 125, 1300, 40); WHuman = new Spell.Skillshot(SpellSlot.W, 875, SkillShotType.Circular, 250, int.MaxValue, 100); EHuman = new Spell.Targeted(SpellSlot.E, 600); R = new Spell.Active(SpellSlot.R, int.MaxValue); // Javelin Toss -> Pounce WBOTH = new Spell.Skillshot(SpellSlot.W, 740, SkillShotType.Circular, 500, int.MaxValue, 400); // Cougar Form QCat = new Spell.Targeted(SpellSlot.Q, 400); WCat = new Spell.Skillshot(SpellSlot.W, 375, SkillShotType.Circular, 500, int.MaxValue, 400); ECat = new Spell.Skillshot(SpellSlot.E, 300, SkillShotType.Cone, 250, int.MaxValue, (int)(15.00 * Math.PI / 180.00)); // Ignite if (HasSpell("ignite")) { Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600); } // Smite if (HasSpell("smite")) { Smite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonersmite"), 500); } } catch (Exception e) { Chat.Print("NidaleeBuddy: Exception while trying to set spells.(" + e.Message + ")"); } NidaleeBuddy = MainMenu.AddMenu("Nidalee", "Nidalee"); NidaleeBuddy.AddGroupLabel("This addon is made by KarmaPanda and should not be redistributed in any way."); NidaleeBuddy.AddGroupLabel("Any unauthorized redistribution without credits will result in severe consequences."); NidaleeBuddy.AddGroupLabel("Thank you for using this addon and have a fun time!"); // Combo Menu ComboMenu = NidaleeBuddy.AddSubMenu("Combo", "Combo"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.Add("useQHuman", new CheckBox("Use Q in Human Form")); ComboMenu.Add("useWHuman", new CheckBox("Use W in Human Form")); ComboMenu.Add("qSlider", new Slider("Q HitChance % before casting", 90)); ComboMenu.AddLabel("Cougar Form Settings"); ComboMenu.Add("useQCat", new CheckBox("Use Q in Cougar Form")); ComboMenu.Add("useWCat", new CheckBox("Use W in Cougar Form")); ComboMenu.Add("useECat", new CheckBox("Use E in Cougar Form")); ComboMenu.Add("useR", new CheckBox("Auto Switch R Form")); // Lane Clear Menu LaneClearMenu = NidaleeBuddy.AddSubMenu("Lane Clear", "LaneClear"); LaneClearMenu.AddGroupLabel("LaneClear Settings"); LaneClearMenu.Add("useQCat", new CheckBox("Use Q in Cougar Form")); LaneClearMenu.Add("useWCat", new CheckBox("Use W in Cougar Form")); LaneClearMenu.Add("useECat", new CheckBox("Use E in Cougar Form")); LaneClearMenu.Add("useR", new CheckBox("Auto Switch R Form")); // Jungle Clear Menu JungleClearMenu = NidaleeBuddy.AddSubMenu("Jungle Clear", "JungleClear"); JungleClearMenu.AddGroupLabel("JungleClear Settings"); JungleClearMenu.Add("useQHuman", new CheckBox("Use Q in Human Form")); JungleClearMenu.AddLabel("Cougar Form Settings"); JungleClearMenu.Add("useQCat", new CheckBox("Use Q in Cougar Form")); JungleClearMenu.Add("useWCat", new CheckBox("Use W in Cougar Form")); JungleClearMenu.Add("useECat", new CheckBox("Use E in Cougar Form")); JungleClearMenu.Add("useR", new CheckBox("Auto Switch R Form")); // Harass Menu HarassMenu = NidaleeBuddy.AddSubMenu("Harass", "Harass"); HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.Add("useQHuman", new CheckBox("Use Q in Human Form")); HarassMenu.Add("qSlider", new Slider("Q HitChance % before casting", 90)); HarassMenu.Add("useR", new CheckBox("Auto Switch R Form")); // Kill Steal Menu KillStealMenu = NidaleeBuddy.AddSubMenu("Kill Steal", "KillSteal"); KillStealMenu.AddGroupLabel("KillSteal Settings"); KillStealMenu.Add("useQHuman", new CheckBox("Kill Steal using Q in Human Form")); KillStealMenu.Add("qSlider", new Slider("Q Hit Chance % before casting", 90)); KillStealMenu.Add("useIgnite", new CheckBox("Use Ignite", false)); KillStealMenu.Add("useAll", new CheckBox("Use KillSteal all the time or not in any modes", false)); // Jungle Steal Menu JungleStealMenu = NidaleeBuddy.AddSubMenu("Jungle Steal", "JungleSteal"); JungleStealMenu.AddGroupLabel("Jungle Steal Settings"); JungleStealMenu.Add("useQHuman", new CheckBox("Jungle Steal using Q in Human Form")); JungleStealMenu.Add("useSmite", new CheckBox("Jungle Steal using Smite")); JungleStealMenu.AddSeparator(); if (Game.MapId == GameMapId.SummonersRift) { JungleStealMenu.AddLabel("Epics"); JungleStealMenu.Add("SRU_Baron", new CheckBox("Baron")); JungleStealMenu.Add("SRU_Dragon", new CheckBox("Dragon")); JungleStealMenu.AddLabel("Buffs"); JungleStealMenu.Add("SRU_Blue", new CheckBox("Blue")); JungleStealMenu.Add("SRU_Red", new CheckBox("Red")); JungleStealMenu.AddLabel("Small Camps"); JungleStealMenu.Add("SRU_Gromp", new CheckBox("Gromp", false)); JungleStealMenu.Add("SRU_Murkwolf", new CheckBox("Murkwolf", false)); JungleStealMenu.Add("SRU_Krug", new CheckBox("Krug", false)); JungleStealMenu.Add("SRU_Razorbeak", new CheckBox("Razerbeak", false)); JungleStealMenu.Add("Sru_Crab", new CheckBox("Skuttles", false)); } if (Game.MapId == GameMapId.TwistedTreeline) { JungleStealMenu.AddLabel("Epics"); JungleStealMenu.Add("TT_Spiderboss8.1", new CheckBox("Vilemaw")); JungleStealMenu.AddLabel("Camps"); JungleStealMenu.Add("TT_NWraith1.1", new CheckBox("Wraith")); JungleStealMenu.Add("TT_NWraith4.1", new CheckBox("Wraith")); JungleStealMenu.Add("TT_NGolem2.1", new CheckBox("Golem")); JungleStealMenu.Add("TT_NGolem5.1", new CheckBox("Golem")); JungleStealMenu.Add("TT_NWolf3.1", new CheckBox("Wolf")); JungleStealMenu.Add("TT_NWolf6.1", new CheckBox("Wolf")); } // Flee Menu FleeMenu = NidaleeBuddy.AddSubMenu("Flee", "Flee"); FleeMenu.AddGroupLabel("Flee Settings"); FleeMenu.Add("useWCat", new CheckBox("Use W in Cougar Form")); // Drawing Menu DrawingMenu = NidaleeBuddy.AddSubMenu("Drawing", "Drawing"); DrawingMenu.AddGroupLabel("Drawing Settings"); DrawingMenu.Add("drawQHuman", new CheckBox("Draw Javelin Range")); // Misc Menu var allies = EntityManager.Heroes.Allies.Where(a => !a.IsMe).OrderBy(a => a.BaseSkinName); MiscMenu = NidaleeBuddy.AddSubMenu("Misc", "Misc"); MiscMenu.AddGroupLabel("Heal Settings"); MiscMenu.Add("autoHeal", new CheckBox("Auto Heal Allies and Me")); MiscMenu.Add("autoHealPercent", new Slider("Auto Heal Percent", 50)); foreach (var a in allies) { MiscMenu.Add("autoHeal" + a.BaseSkinName, new CheckBox("Auto Heal " + a.BaseSkinName)); } Chat.Print("NidaleeBuddy | Loaded By KarmaPanda", Color.LightGreen); Orbwalker.OnPostAttack += Orbwalker_OnPostAttack; Orbwalker.OnPreAttack += Orbwalker_OnPreAttack; Game.OnTick += Game_OnTick; Game.OnTick += SpellsOnUpdate; Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast; Drawing.OnDraw += Drawing_OnDraw; }
static Config() { PandaTeemoReborn = MainMenu.AddMenu("PandaTeemoReborn", "PTR"); PandaTeemoReborn.AddGroupLabel("This addon is made by KarmaPanda and should not be redistributed in any way."); PandaTeemoReborn.AddGroupLabel( "Any unauthorized redistribution without credits will result in severe consequences."); PandaTeemoReborn.AddGroupLabel("Thank you for using this addon and have a fun time!"); ComboMenu = PandaTeemoReborn.AddSubMenu("Combo", "Combo"); ComboMenu.AddLabel("Spell Settings"); ComboMenu.Add("useQ", new CheckBox("Use Q in Combo")); ComboMenu.Add("useW", new CheckBox("Use W in Combo")); ComboMenu.Add("useR", new CheckBox("Use R in Combo")); ComboMenu.AddLabel("ManaManager"); ComboMenu.Add("manaQ", new Slider("Mana before casting Q")); ComboMenu.Add("manaW", new Slider("Mana before casting W")); ComboMenu.Add("manaR", new Slider("Mana before casting R")); ComboMenu.AddLabel("Q Settings"); ComboMenu.Add("checkAA", new Slider("Range to subtract from Q: {0}", 0, 0, 180)); ComboMenu.AddLabel("R Settings"); ComboMenu.Add("doubleShroom", new CheckBox("Use Double Shroom Logic")); ComboMenu.Add("rPoison", new CheckBox("Cast R only if target isn't Poisoned")); ComboMenu.Add("rCharge", new Slider("Charges of R before using R: {0}", 2, 1, 3)); ComboMenu.Add("rDelay", new Slider("Delay for R Casting in ms: {0}", 1000, 0, 5000)); ComboMenu.AddLabel("Misc Settings"); ComboMenu.Add("adc", new CheckBox("Use Q only on ADC", false)); ComboMenu.Add("wRange", new CheckBox("Use W only if enemy is in range")); HarassMenu = PandaTeemoReborn.AddSubMenu("Harass", "Harass"); HarassMenu.AddGroupLabel("Spell Settings"); HarassMenu.Add("useQ", new CheckBox("Use Q in Harass")); HarassMenu.Add("useW", new CheckBox("Use W in Harass", false)); HarassMenu.AddLabel("ManaManager"); HarassMenu.Add("manaQ", new Slider("Mana before casting Q")); HarassMenu.Add("manaW", new Slider("Mana before casting W")); HarassMenu.AddLabel("Q Settings"); HarassMenu.Add("checkAA", new Slider("Range to subtract from Q: {0}", 0, 0, 180)); HarassMenu.AddLabel("Misc Settings"); HarassMenu.Add("adc", new CheckBox("Use Q only on ADC", false)); HarassMenu.Add("wRange", new CheckBox("Use W only if enemy is in range")); LaneClearMenu = PandaTeemoReborn.AddSubMenu("LaneClear", "LaneClear"); LaneClearMenu.AddLabel("Spell Settings"); LaneClearMenu.Add("useQ", new CheckBox("LaneClear with Q")); LaneClearMenu.Add("useR", new CheckBox("LaneClear with R")); LaneClearMenu.AddLabel("ManaManager"); LaneClearMenu.Add("manaQ", new Slider("Q Mana Manager", 50)); LaneClearMenu.Add("manaR", new Slider("R Mana Manager", 50)); LaneClearMenu.AddLabel("Q Settings"); LaneClearMenu.Add("harass", new CheckBox("Use Harass Based Logic")); LaneClearMenu.Add("disableLC", new CheckBox("Disable LaneClear Based Logic")); LaneClearMenu.AddLabel("R Settings"); LaneClearMenu.Add("rKillable", new CheckBox("Only cast R if minion(s) are killable")); LaneClearMenu.Add("rPoison", new CheckBox("Cast R only if minion isn't Poisoned")); LaneClearMenu.Add("rCharge", new Slider("Charges of R before using R: {0}", 2, 1, 3)); LaneClearMenu.Add("rDelay", new Slider("Delay for R Casting in ms: {0}", 1000, 0, 5000)); LaneClearMenu.Add("minionR", new Slider("Minions before casting R: {0}", 3, 1, 4)); JungleClearMenu = PandaTeemoReborn.AddSubMenu("JungleClear", "JungleClear"); JungleClearMenu.AddGroupLabel("Spell Settings"); JungleClearMenu.Add("useQ", new CheckBox("JungleClear with Q")); JungleClearMenu.Add("useR", new CheckBox("JungleClear with R")); JungleClearMenu.AddLabel("ManaManager"); JungleClearMenu.Add("manaQ", new Slider("Q Mana Manager", 25)); JungleClearMenu.Add("manaR", new Slider("R Mana Manager", 25)); JungleClearMenu.AddLabel("R Settings"); JungleClearMenu.Add("rKillable", new CheckBox("Only cast R if mob(s) are killable", false)); JungleClearMenu.Add("rPoison", new CheckBox("Cast R only if mob isn't Poisoned")); JungleClearMenu.Add("rCharge", new Slider("Charges of R before using R: {0}", 2, 1, 3)); JungleClearMenu.Add("rDelay", new Slider("Delay for R Casting in ms: {0}", 1000, 0, 5000)); JungleClearMenu.Add("mobR", new Slider("Mobs before casting R: {0}", 1, 1, 4)); JungleClearMenu.AddLabel("Misc Settings"); JungleClearMenu.Add("bMob", new CheckBox("Prevent Spell Usage on Small Mobs")); KillStealMenu = PandaTeemoReborn.AddSubMenu("Kill Steal", "Kill Steal"); KillStealMenu.AddGroupLabel("Spell Settings"); KillStealMenu.Add("useQ", new CheckBox("Kill Steal with Q")); KillStealMenu.Add("useR", new CheckBox("Kill Steal with R", false)); KillStealMenu.AddLabel("ManaManager"); KillStealMenu.Add("manaQ", new Slider("Q Mana Manager", 25)); KillStealMenu.Add("manaR", new Slider("R Mana Manager", 25)); KillStealMenu.AddLabel("R Settings"); KillStealMenu.Add("rDelay", new Slider("Delay for R Casting in ms: {0}", 1000, 0, 5000)); KillStealMenu.Add("doubleShroom", new CheckBox("Use Double Shroom Logic")); FleeMenu = PandaTeemoReborn.AddSubMenu("Flee Menu", "Flee"); FleeMenu.AddGroupLabel("Flee Settings"); FleeMenu.Add("useW", new CheckBox("Flee with W")); FleeMenu.Add("useR", new CheckBox("Flee with R")); FleeMenu.AddLabel("R Settings"); FleeMenu.Add("rDelay", new Slider("Delay for R Casting in ms: {0}", 1000, 0, 5000)); FleeMenu.Add("rCharge", new Slider("Charges of R before using R: {0}", 2, 1, 3)); AutoShroomMenu = PandaTeemoReborn.AddSubMenu("Auto Shroom", "Auto Shroom"); AutoShroomMenu.AddGroupLabel("Auto Shroom Settings"); AutoShroomMenu.Add("useR", new CheckBox("AutoShroom with R")); AutoShroomMenu.Add("manaR", new Slider("R Mana Manager", 25)); AutoShroomMenu.Add("rCharge", new Slider("Charges of R before using R: {0}", 2, 1, 3)); AutoShroomMenu.Add("enableShroom", new CheckBox("Load AutoShroom (Requires F5)")); AutoShroomMenu.Add("enableDefaultLocations", new CheckBox("Use Default Locations (Requires F5)")); AutoShroomMenu.AddLabel("Debug Mode"); var enable = AutoShroomMenu.Add("enableDebug", new CheckBox("Enable Debug Mode", false)); enable.OnValueChange += delegate(ValueBase <bool> sender, ValueBase <bool> .ValueChangeArgs args) { if (!args.NewValue) { Chat.Print("PandaTeemo | Debug Mode Disabled", System.Drawing.Color.LawnGreen); } else { Chat.Print("PandaTeemo | Debug Mode Enabled", System.Drawing.Color.Red); } }; var save = AutoShroomMenu.Add("saveButton", new KeyBind("Save Configuration", false, KeyBind.BindTypes.HoldActive, 'K')); save.OnValueChange += delegate(ValueBase <bool> sender, ValueBase <bool> .ValueChangeArgs args) { if (!args.NewValue) { return; } if (Extensions.MenuValues.AutoShroom.DebugMode) { save.CurrentValue = false; AutoShroom.SavePositions(); } }; AutoShroomMenu.AddLabel("Shroom Location Adder"); AutoShroomMenu.Add("posMode", new ComboBox("Position Mode", 0, "Save Mouse", "Save Player Position")); var add = AutoShroomMenu.Add("newposButton", new KeyBind("Save Position", false, KeyBind.BindTypes.HoldActive, 'L')); add.OnValueChange += delegate(ValueBase <bool> sender, ValueBase <bool> .ValueChangeArgs args) { if (!args.NewValue) { return; } if (Extensions.MenuValues.AutoShroom.DebugMode) { add.CurrentValue = false; Vector3 newPosition = Vector3.Zero; switch (Extensions.MenuValues.AutoShroom.PositionMode.CurrentValue) { case 0: newPosition = Game.CursorPos; break; case 1: newPosition = Player.Instance.Position; break; } if (newPosition != Vector3.Zero && !AutoShroom.ShroomPosition.Contains(newPosition)) { AutoShroom.AddShroomLocation(newPosition); AutoShroom.SavePositions(); } } }; var remove = AutoShroomMenu.Add("delposButton", new KeyBind("Delete Position", false, KeyBind.BindTypes.HoldActive, 'U')); remove.OnValueChange += delegate(ValueBase <bool> sender, ValueBase <bool> .ValueChangeArgs args) { if (!args.NewValue) { return; } if (Extensions.MenuValues.AutoShroom.DebugMode) { remove.CurrentValue = false; } Vector3 newPosition = Vector3.Zero; switch (Extensions.MenuValues.AutoShroom.PositionMode.CurrentValue) { case 0: newPosition = Game.CursorPos; break; case 1: newPosition = Player.Instance.Position; break; } if (newPosition == Vector3.Zero) { return; } var nearbyShrooms = AutoShroom.PlayerAssignedShroomPosition.Where(pos => pos.IsInRange(newPosition, SpellManager.R.Radius)).ToList(); if (!nearbyShrooms.Any()) { return; } AutoShroom.RemoveShroomLocations(nearbyShrooms); AutoShroom.SavePositions(); }; DrawingMenu = PandaTeemoReborn.AddSubMenu("Drawing", "Drawing"); DrawingMenu.AddGroupLabel("Drawing Settings"); DrawingMenu.Add("drawQ", new CheckBox("Draw Q Range")); DrawingMenu.Add("drawR", new CheckBox("Draw R Range")); DrawingMenu.Add("drawautoR", new CheckBox("Draw Auto Shroom Positions")); DrawingMenu.Add("drawdoubleR", new CheckBox("Draw Double Shroom Prediction", false)); MiscMenu = PandaTeemoReborn.AddSubMenu("Misc", "Misc"); MiscMenu.AddGroupLabel("Spell Settings"); MiscMenu.Add("autoQ", new CheckBox("Automatic Q", false)); MiscMenu.Add("autoW", new CheckBox("Automatic W", false)); MiscMenu.Add("intq", new CheckBox("Interrupt with Q")); MiscMenu.Add("gapR", new CheckBox("Gapcloser with R")); }
static void OnLoadingComplete(EventArgs args) { if (!_Player.ChampionName.Contains("Ezreal")) { return; } Chat.Print("Ezreal7 Loaded!", Color.GreenYellow); Chat.Print("Please Setting Target Harass Before Playing", Color.Yellow); Bootstrap.Init(null); Q = new Spell.Skillshot(SpellSlot.Q, 1150, SkillShotType.Linear, 250, 2000, 60); W = new Spell.Skillshot(SpellSlot.W, 1000, SkillShotType.Linear, 250, 1550, 80); W.AllowedCollisionCount = int.MaxValue; E = new Spell.Skillshot(SpellSlot.E, 475, SkillShotType.Linear, 250, 2000, 100); R = new Spell.Skillshot(SpellSlot.R, 5000, SkillShotType.Linear, 1000, 2000, 160); R.AllowedCollisionCount = int.MaxValue; Botrk = new Item(ItemId.Blade_of_the_Ruined_King); if (_Player.GetSpellSlotFromName("summonerdot") != SpellSlot.Unknown) { Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600); } Menu = MainMenu.AddMenu("Ezreal7", "Ezreal"); Menu.AddSeparator(); ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo"); ComboMenu.AddSeparator(); ComboMenu.AddLabel("Combo Settings"); ComboMenu.Add("ComboQ", new CheckBox("Spell [Q]")); ComboMenu.Add("ComboW", new CheckBox("Spell [W]")); ComboMenu.Add("item", new CheckBox("Use [BOTRK]")); ComboMenu.Add("ComboRange", new Slider("Q-W Distance", 900, 0, 1000)); ComboMenu.AddSeparator(); ComboMenu.Add("ComboR", new CheckBox("Spell [R]")); ComboMenu.AddSeparator(); ComboMenu.Add("MinRangeR", new Slider("Min Range Cast [R]", 1000, 0, 5000)); ComboMenu.AddSeparator(); ComboMenu.Add("MaxRangeR", new Slider("Max Range Cast [R]", 3000, 0, 5000)); ComboMenu.AddSeparator(); ComboMenu.Add("MinR", new Slider("Min Enemies Use [R]", 2, 0, 5)); HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass"); HarassMenu.AddLabel("Harass Settings"); HarassMenu.Add("HarassQ", new CheckBox("Spell [Q]")); HarassMenu.Add("ManaQ", new Slider("Min Mana Harass [Q]", 40)); HarassMenu.AddSeparator(); HarassMenu.Add("HarassW", new CheckBox("Spell [W]", false)); HarassMenu.Add("ManaW", new Slider("Min Mana Harass [W]<=", 40)); HarassMenu.AddSeparator(); HarassMenu.AddLabel("Harass On"); foreach (var enemies in EntityManager.Heroes.Enemies) { HarassMenu.Add("haras" + enemies.ChampionName, new CheckBox("" + enemies.ChampionName)); } Auto = Menu.AddSubMenu("Auto Harass Settings", "Auto Harass"); Auto.AddLabel("Auto Harass Settings"); Auto.Add("AutoQ", new CheckBox("Auto [Q]")); Auto.Add("AutomanaQ", new Slider("Min Mana Auto [Q]", 60)); Auto.AddSeparator(); Auto.Add("AutoW", new CheckBox("Auto [W]", false)); Auto.Add("AutomanaW", new Slider("Min Mana Auto [W]", 60)); Auto.AddSeparator(); Auto.AddLabel("Auto Harass On"); foreach (var enemies in EntityManager.Heroes.Enemies) { Auto.Add("harass" + enemies.ChampionName, new CheckBox("" + enemies.ChampionName)); } LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear"); LaneClearMenu.AddLabel("LastHit Settings"); LaneClearMenu.Add("LastQ", new CheckBox("Always [Q] LastHit")); LaneClearMenu.Add("LhMana", new Slider("Min Mana Lasthit [Q]", 60)); LaneClearMenu.AddSeparator(); LaneClearMenu.Add("LhAA", new CheckBox("Only [Q] LastHit If Out Range AA", false)); LaneClearMenu.Add("AAMana", new Slider("Min Mana Lasthit [Q] If Out Range AA", 50)); LaneClearMenu.AddSeparator(); LaneClearMenu.AddLabel("Lane Clear Settings"); LaneClearMenu.Add("LastQLC", new CheckBox("Always LastHit With [Q]", false)); LaneClearMenu.Add("ManaLC", new Slider("Min Mana LaneClear With [Q]", 70)); LaneClearMenu.AddSeparator(); LaneClearMenu.Add("LastAA", new CheckBox("Only [Q] LastHit If Out Range AA")); LaneClearMenu.Add("ManaLA", new Slider("Min Mana LastHit [Q] If Out Range AA", 50)); JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear"); JungleClearMenu.AddLabel("JungleClear Settings"); JungleClearMenu.Add("QJungle", new CheckBox("Spell [Q]")); JungleClearMenu.Add("MnJungle", new Slider("Min Mana JungleClear [Q]", 30)); Misc = Menu.AddSubMenu("Misc Settings", "Misc"); Misc.AddLabel("AntiGap Settings"); Misc.Add("AntiGap", new CheckBox("Use [E] AntiGapcloser")); Misc.AddSeparator(); Misc.AddLabel("Ultimate On CC Settings"); Misc.Add("Rstun", new CheckBox("Use [R] If Enemy Has CC")); Misc.Add("MinR", new Slider("Min Range Use [R]", 800, 300, 2000)); Misc.Add("MaxR", new Slider("Max Range Use [R]", 2200, 300, 30000)); Misc.AddSeparator(); Misc.AddLabel("Auto Stacks Settings"); Misc.Add("Stack", new CheckBox("Auto Stacks In Shop")); KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillSteal"); KillStealMenu.AddLabel("KillSteal Settings"); KillStealMenu.Add("KsQ", new CheckBox("Use [Q] KillSteal")); KillStealMenu.Add("KsW", new CheckBox("Use [W] KillSteal")); KillStealMenu.Add("ign", new CheckBox("Use [Ignite] KillSteal")); KillStealMenu.AddSeparator(); KillStealMenu.AddLabel("Ultimate Settings"); KillStealMenu.Add("KsR", new CheckBox("Use [R] KillSteal")); KillStealMenu.Add("minKsR", new Slider("Min [R] Range KillSteal", 900, 1, 5000)); KillStealMenu.Add("maxKsR", new Slider("Max [R] Range KillSteal", 4000, 1, 5000)); Skin = Menu.AddSubMenu("Skin Changer", "SkinChanger"); Skin.Add("checkSkin", new CheckBox("Use Skin Changer")); Skin.Add("skin.Id", new ComboBox("Skin Mode", 8, "Default", "1", "2", "3", "4", "5", "6", "7", "8")); Drawings = Menu.AddSubMenu("Draw Settings", "Draw"); Drawings.AddGroupLabel("Drawing Settings"); Drawings.Add("DrawQ", new CheckBox("Q Range")); Drawings.Add("DrawW", new CheckBox("W Range", false)); Drawings.Add("DrawE", new CheckBox("E Range", false)); Drawing.OnDraw += Drawing_OnDraw; Game.OnTick += Game_OnTick; Gapcloser.OnGapcloser += Gapcloser_OnGapcloser; Obj_AI_Turret.OnBasicAttack += Obj_AI_Turret_OnBasicAttack2; }
/// <summary> /// Creates the Menu. /// </summary> public static void Create() { DefaultMenu = MainMenu.AddMenu("NidaleeBuddyEvolution", "NidaleeBuddyEvolution"); DefaultMenu.AddGroupLabel("This addon is made by KarmaPanda and should not be redistributed in any way."); DefaultMenu.AddGroupLabel( "Any unauthorized redistribution without credits will result in severe consequences."); DefaultMenu.AddGroupLabel("Thank you for using this addon and have a fun time!"); #region Combo ComboMenu = DefaultMenu.AddSubMenu("Combo", "Combo"); ComboMenu.AddGroupLabel("Combo Settings"); ComboMenu.Add("useQH", new CheckBox("Cast Q in Human Form")); ComboMenu.Add("useWH", new CheckBox("Cast W in Human Form")); ComboMenu.Add("useQC", new CheckBox("Cast Q in Cougar Form")); ComboMenu.Add("useWC", new CheckBox("Cast W in Cougar Form")); ComboMenu.Add("useEC", new CheckBox("Cast E in Cougar Form")); ComboMenu.Add("useR", new CheckBox("Cast R during Combo")); ComboMenu.AddLabel("Prediction Settings - Human Form"); ComboMenu.Add("predQH", new Slider("Cast Q if HitChance % is x", 75)); ComboMenu.Add("predWH", new Slider("Cast W if HitChance % is x", 75)); ComboMenu.AddLabel("Prediction Settings - Cougar Form"); ComboMenu.Add("predWC", new Slider("Cast W if HitChance % is x", 75)); ComboMenu.Add("predEC", new Slider("Cast E if HitChance % is x", 75)); #endregion #region Last Hit LastHitMenu = DefaultMenu.AddSubMenu("Last Hit", "Last Hit"); LastHitMenu.AddGroupLabel("Last Hit Settings"); LastHitMenu.Add("useQC", new CheckBox("Cast Q in Cougar Form on Unkillable Minion")); LastHitMenu.Add("useEC", new CheckBox("Cast E in Cougar Form on Unkillable Minion", false)); LastHitMenu.Add("useR", new CheckBox("Cast R in Cougar Form if Out of Range")); #endregion #region Harass HarassMenu = DefaultMenu.AddSubMenu("Harass", "Harass"); HarassMenu.AddGroupLabel("Harass Settings"); HarassMenu.Add("useQH", new CheckBox("Cast Q in Human Form")); HarassMenu.Add("useR", new CheckBox("Cast R to force Human Form")); HarassMenu.AddLabel("Prediction Settings - Human Form"); HarassMenu.Add("predQH", new Slider("Cast Q if HitChance % is x", 75)); #endregion #region Kill Steal KillStealMenu = DefaultMenu.AddSubMenu("Kill Steal", "Kill Steal"); KillStealMenu.AddGroupLabel("KillSteal Settings"); KillStealMenu.Add("useQH", new CheckBox("Cast Q to Kill Steal")); KillStealMenu.Add("predQH", new Slider("Cast Q if HitChance % is x", 75)); KillStealMenu.Add("useIgnite", new CheckBox("Use Ignite", false)); #endregion #region Lane Clear LaneClearMenu = DefaultMenu.AddSubMenu("Lane Clear", "Lane Clear"); LaneClearMenu.AddGroupLabel("Lane Clear Settings"); LaneClearMenu.Add("useQC", new CheckBox("Cast Q in Cougar Form")); LaneClearMenu.Add("useWC", new CheckBox("Cast W in Cougar Form")); LaneClearMenu.Add("useEC", new CheckBox("Cast E in Cougar Form")); LaneClearMenu.Add("useR", new CheckBox("Cast R during Lane Clear", false)); LaneClearMenu.AddLabel("Farm Settings - Cougar Form"); LaneClearMenu.Add("predWC", new Slider("Cast W if it hits x minions", 1, 1, 7)); LaneClearMenu.Add("predEC", new Slider("Cast E if HitChance % is x", 75)); #endregion #region Jungle Clear JungleClearMenu = DefaultMenu.AddSubMenu("Jungle Clear", "Jungle Clear"); JungleClearMenu.AddGroupLabel("Jungle Clear Settings"); JungleClearMenu.Add("useQH", new CheckBox("Cast Q in Human Form")); JungleClearMenu.Add("useQC", new CheckBox("Cast Q in Cougar Form")); JungleClearMenu.Add("useWC", new CheckBox("Cast W in Cougar Form")); JungleClearMenu.Add("useEC", new CheckBox("Cast E in Cougar Form")); JungleClearMenu.Add("useR", new CheckBox("Cast R during Jungle Clear")); JungleClearMenu.AddLabel("Prediction Settings"); JungleClearMenu.Add("predQH", new Slider("Cast Q in Human Form if HitChance % is x", 75)); JungleClearMenu.Add("predWC", new Slider("Cast W in Cougar Form if HitChance % is x", 75)); JungleClearMenu.Add("predEC", new Slider("Cast E in Cougar Form if HitChance % is x", 75)); #endregion #region Jungle Steal JungleStealMenu = DefaultMenu.AddSubMenu("Jungle Steal", "Jungle Steal"); JungleStealMenu.AddGroupLabel("Jungle Steal Settings"); JungleStealMenu.Add("useQH", new CheckBox("Cast Q to Steal Jungle")); JungleStealMenu.Add("predQH", new Slider("Cast Q if HitChance % is x", 75)); JungleStealMenu.Add("useSmite", new CheckBox("Cast Smite to Steal Jungle")); JungleStealMenu.Add("toggleK", new KeyBind("Toggle Smite", true, KeyBind.BindTypes.PressToggle, 'M')); JungleStealMenu.AddGroupLabel("Jungle Camp Toggle"); switch (Game.MapId) { case GameMapId.SummonersRift: JungleStealMenu.AddLabel("Epics"); JungleStealMenu.Add("SRU_Baron", new CheckBox("Baron")); JungleStealMenu.Add("SRU_Dragon", new CheckBox("Dragon")); JungleStealMenu.AddLabel("Buffs"); JungleStealMenu.Add("SRU_Blue", new CheckBox("Blue")); JungleStealMenu.Add("SRU_Red", new CheckBox("Red")); JungleStealMenu.AddLabel("Small Camps"); JungleStealMenu.Add("SRU_Gromp", new CheckBox("Gromp", false)); JungleStealMenu.Add("SRU_Murkwolf", new CheckBox("Murkwolf", false)); JungleStealMenu.Add("SRU_Krug", new CheckBox("Krug", false)); JungleStealMenu.Add("SRU_Razorbeak", new CheckBox("Razerbeak", false)); JungleStealMenu.Add("Sru_Crab", new CheckBox("Skuttles", false)); break; case GameMapId.TwistedTreeline: JungleStealMenu.AddLabel("Epics"); JungleStealMenu.Add("TT_Spiderboss8.1", new CheckBox("Vilemaw")); JungleStealMenu.AddLabel("Camps"); JungleStealMenu.Add("TT_NWraith1.1", new CheckBox("Wraith")); JungleStealMenu.Add("TT_NWraith4.1", new CheckBox("Wraith")); JungleStealMenu.Add("TT_NGolem2.1", new CheckBox("Golem")); JungleStealMenu.Add("TT_NGolem5.1", new CheckBox("Golem")); JungleStealMenu.Add("TT_NWolf3.1", new CheckBox("Wolf")); JungleStealMenu.Add("TT_NWolf6.1", new CheckBox("Wolf")); break; } #endregion #region Drawing DrawingMenu = DefaultMenu.AddSubMenu("Drawing", "Drawing"); DrawingMenu.AddGroupLabel("Drawing Settings"); DrawingMenu.Add("drawQH", new CheckBox("Draw Javelin Range")); DrawingMenu.Add("drawPred", new CheckBox("Draw Javelin Prediction")); 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", false)); DrawingMenu.AddLabel("Color Settings for Damage Indicator"); DrawingMenu.Add("draw_Alpha", new Slider("Alpha: ", 255, 0, 255)); DrawingMenu.Add("draw_Red", new Slider("Red: ", 255, 0, 255)); DrawingMenu.Add("draw_Green", new Slider("Green: ", 0, 0, 255)); DrawingMenu.Add("draw_Blue", new Slider("Blue: ", 0, 0, 255)); #endregion #region Misc MiscMenu = DefaultMenu.AddSubMenu("Misc Menu", "Misc Menu"); MiscMenu.AddGroupLabel("Auto Heal Settings"); MiscMenu.Add("autoHeal", new CheckBox("Auto Heal Allies and Me")); MiscMenu.Add("autoHealPercent", new Slider("Auto Heal Percent", 50)); foreach (var a in EntityManager.Heroes.Allies.OrderBy(a => a.BaseSkinName)) { MiscMenu.Add("autoHeal_" + a.BaseSkinName, new CheckBox("Auto Heal " + a.BaseSkinName)); } MiscMenu.AddGroupLabel("Spell Settings"); MiscMenu.AddLabel("Only choose one of them below."); MiscMenu.Add("useQC_AfterAttack", new CheckBox("Cast Q in Cougar Form After Attack")); MiscMenu.Add("useQC_BeforeAttack", new CheckBox("Cast Q in Cougar Form Before Attack", false)); MiscMenu.Add("useQC_OnUpdate", new CheckBox("Cast Q in Cougar Form on Update", false)); MiscMenu.AddGroupLabel("ManaManager"); MiscMenu.Add("manaQ", new Slider("Use Q in Human Form only if Mana Percent is >= x", 25)); MiscMenu.Add("manaW", new Slider("Use W in Human Form only if Mana Percent is >= x", 25)); MiscMenu.Add("manaE", new Slider("Use E in Human Form only if Mana Percent is >= x", 25)); MiscMenu.Add("disableMM", new CheckBox("Disable ManaManager in Combo Mode")); #endregion }
/// <summary> /// Creates the Menu /// </summary> public static void Initialize() { ConfigMenu = MainMenu.AddMenu("CH汉化-妖姬", "LelBlanc"); ConfigMenu.AddGroupLabel("作者:Karma Panda"); ConfigMenu.AddGroupLabel( "任何盗用或者修改将会由严重的后果"); ConfigMenu.AddGroupLabel("感谢选择使用本脚本,祝你玩的开心!"); ComboMenu = ConfigMenu.AddSubMenu("连招", "cMenu"); ComboMenu.AddLabel("技能设置"); ComboMenu.Add("useQ", new CheckBox("使用Q")); ComboMenu.Add("useW", new CheckBox("使用W")); ComboMenu.Add("useReturn", new CheckBox("使用W 退回")); ComboMenu.Add("useE", new CheckBox("使用E")); ComboMenu.AddLabel("R 设置"); ComboMenu.Add("useQR", new CheckBox("使用QR")); ComboMenu.Add("useWR", new CheckBox("使用WR", false)); ComboMenu.Add("useReturn2", new CheckBox("使用WR 退回", false)); ComboMenu.Add("useER", new CheckBox("使用ER", false)); ComboMenu.AddLabel("额外设置"); ComboMenu.Add("mode", new ComboBox("连招模式", 0, LogicModes)); HarassMenu = ConfigMenu.AddSubMenu("骚扰", "hMenu"); HarassMenu.AddLabel("技能设置"); HarassMenu.Add("useQ", new CheckBox("使用Q")); HarassMenu.Add("useW", new CheckBox("使用W")); HarassMenu.Add("useReturn", new CheckBox("使用W 退回")); HarassMenu.Add("useE", new CheckBox("使用E")); HarassMenu.AddLabel("R 设置"); HarassMenu.Add("useQR", new CheckBox("使用QR")); HarassMenu.Add("useWR", new CheckBox("使用WR", false)); HarassMenu.Add("useReturn2", new CheckBox("使用WR 退回")); HarassMenu.Add("useER", new CheckBox("使用ER", false)); HarassMenu.AddLabel("额外设置"); HarassMenu.Add("mode", new ComboBox("骚扰模式", 1, LogicModes)); LaneClearMenu = ConfigMenu.AddSubMenu("清线", "lcMenu"); LaneClearMenu.AddLabel("技能设置"); LaneClearMenu.Add("useQ", new CheckBox("使用Q", false)); LaneClearMenu.Add("useW", new CheckBox("使用W")); LaneClearMenu.Add("sliderW", new Slider("使用W 如果可杀 {0} 个小兵", 3, 1, 5)); LaneClearMenu.AddLabel("R 设置"); LaneClearMenu.Add("useQR", new CheckBox("使用QR", false)); LaneClearMenu.Add("useWR", new CheckBox("使用WR")); LaneClearMenu.Add("sliderWR", new Slider("使用WR 如果可杀 {0} 个小兵", 5, 1, 5)); JungleClearMenu = ConfigMenu.AddSubMenu("清野", "jcMenu"); JungleClearMenu.AddLabel("技能设置"); JungleClearMenu.Add("useQ", new CheckBox("使用Q")); JungleClearMenu.Add("useW", new CheckBox("使用W")); JungleClearMenu.Add("useE", new CheckBox("使用E")); JungleClearMenu.Add("sliderW", new Slider("使用W 如果可击中 {0} 个小兵", 3, 1, 5)); JungleClearMenu.AddLabel("R 设置"); JungleClearMenu.Add("useQR", new CheckBox("使用QR")); JungleClearMenu.Add("useWR", new CheckBox("使用WR")); JungleClearMenu.Add("useER", new CheckBox("使用ER")); JungleClearMenu.Add("sliderWR", new Slider("使用WR 如果可击中 {0} 个小兵", 5, 1, 5)); KillStealMenu = ConfigMenu.AddSubMenu("抢头", "ksMenu"); KillStealMenu.AddLabel("技能设置"); KillStealMenu.Add("useQ", new CheckBox("使用Q")); KillStealMenu.Add("useW", new CheckBox("使用W")); KillStealMenu.Add("useReturn", new CheckBox("使用W 退回")); KillStealMenu.Add("useE", new CheckBox("使用E")); KillStealMenu.AddLabel("R 设置"); KillStealMenu.Add("useQR", new CheckBox("使用QR")); KillStealMenu.Add("useWR", new CheckBox("使用WR")); KillStealMenu.Add("useReturn2", new CheckBox("使用WR 退回")); KillStealMenu.Add("useER", new CheckBox("使用ER")); KillStealMenu.AddLabel("杂项设置"); KillStealMenu.Add("useIgnite", new CheckBox("使用点燃")); KillStealMenu.Add("toggle", new CheckBox("开启抢头")); DrawingMenu = ConfigMenu.AddSubMenu("线圈", "dMenu"); DrawingMenu.AddLabel("线圈设置"); DrawingMenu.Add("drawQ", new CheckBox("显示 Q 范围", false)); DrawingMenu.Add("drawW", new CheckBox("显示 W 范围", false)); DrawingMenu.Add("drawE", new CheckBox("显示 E 范围", false)); DrawingMenu.AddLabel("伤害指示器"); DrawingMenu.Add("draw.Damage", new CheckBox("显示伤害")); DrawingMenu.Add("draw.Q", new CheckBox("计算 Q 伤害")); DrawingMenu.Add("draw.W", new CheckBox("计算 W 伤害")); DrawingMenu.Add("draw.E", new CheckBox("计算 E 伤害")); DrawingMenu.Add("draw.R", new CheckBox("计算 R 伤害")); DrawingMenu.Add("draw.Ignite", new CheckBox("计算点燃伤害")); MiscMenu = ConfigMenu.AddSubMenu("杂项菜单", "mMenu"); MiscMenu.AddLabel("杂项"); MiscMenu.Add("pet", new CheckBox("自动移动克隆")); }