public static void OnLoad(EventArgs args) { switch (Game.MapId) { case GameMapId.SummonersRift: Common.JungleMobsNames = Common.SRJungleMobsNames; break; case GameMapId.CrystalScar: Common.JungleMobsNames = Common.ASCJungleMobsNames; break; case GameMapId.TwistedTreeline: Common.JungleMobsNames = Common.TTJungleMobsNames; break; } var spells = SpellDatabase.GetSpellInfoList(Player.Instance.BaseSkinName); if (spells.Count == 0) { return; } foreach (var spell in spells) { var skillshot = new Spell.Skillshot(spell.Slot, (uint)spell.Range, Common.type(spell.Type), (int)spell.Delay, (int)spell.MissileSpeed); var ispell = new ISpells(skillshot, spell); Spells.Add(ispell); } MenuIni = MainMenu.AddMenu("Auto Steal " + Player.Instance.Hero, "Auto Steal " + Player.Instance.Hero); KillStealMenu = MenuIni.AddSubMenu("Kill Steal ", "Kill Steal"); JungleStealMenu = MenuIni.AddSubMenu("Jungle Steal ", "Jungle Steal"); KillStealMenu.AddGroupLabel("Spells"); foreach (var spell in Spells.Select(s => s.Skillshot)) { KillStealMenu.CreateCheckBox(spell.Slot.ToString(), "Use " + spell.Slot); } KillStealMenu.AddGroupLabel("Enemies"); foreach (var enemy in EntityManager.Heroes.Enemies) { KillStealMenu.CreateCheckBox(enemy.Name(), "KS " + enemy.Name()); } JungleStealMenu.AddGroupLabel("Spells"); foreach (var spell in Spells.Select(s => s.Skillshot)) { JungleStealMenu.CreateCheckBox(spell.Slot.ToString(), "Use " + spell.Slot); } JungleStealMenu.AddGroupLabel("Mobs"); foreach (var name in Common.JungleMobsNames) { JungleStealMenu.CreateCheckBox(name, "JS " + name); } Game.OnUpdate += Game_OnUpdate; }
/// <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> /// 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; }
/// <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> /// 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 }