public static Menu addItemOptons(Menu config) { Q = new Spell(SpellSlot.Q); W = new Spell(SpellSlot.W); E = new Spell(SpellSlot.E); R = new Spell(SpellSlot.R); var mConfig = config; Menu menuI = new Menu("Items ", "Itemsettings"); menuI = ItemHandler.addCleanseOptions(menuI); menuI.AddItem(new MenuItem("hyd", "Hydra/Tiamat")).SetValue(true); Menu menuRan = new Menu("Randuin's Omen", "Rands "); menuRan.AddItem(new MenuItem("ran", "Enabled")).SetValue(true); menuRan.AddItem(new MenuItem("ranmin", "Min enemy")).SetValue(new Slider(2, 1, 6)); menuI.AddSubMenu(menuRan); Menu menuOdin = new Menu("Odyn's Veil ", "Odyns"); menuOdin.AddItem(new MenuItem("odin", "Enabled")).SetValue(true); menuOdin.AddItem(new MenuItem("odinonlyks", "KS only")).SetValue(false); menuOdin.AddItem(new MenuItem("odinmin", "Min enemy")).SetValue(new Slider(2, 1, 6)); menuI.AddSubMenu(menuOdin); Menu menuBilgewater = new Menu("Bilgewater Cutlass ", "Bilgewaters"); menuBilgewater.AddItem(new MenuItem("bil", "Enabled")).SetValue(true); menuBilgewater.AddItem(new MenuItem("bilonlyks", "KS only")).SetValue(false); menuBilgewater.AddItem(new MenuItem("bilminr", "Min range")) .SetValue(new Slider(150, 0, (int)bilgewater.Range)); menuI.AddSubMenu(menuBilgewater); Menu menuBlade = new Menu("Blade of the Ruined King", "Blades"); menuBlade.AddItem(new MenuItem("botr", "Enabled")).SetValue(true); menuBlade.AddItem(new MenuItem("botronlyks", "KS only")).SetValue(false); menuBlade.AddItem(new MenuItem("botrminr", "Min range")).SetValue(new Slider(150, 0, (int)botrk.Range)); menuBlade.AddItem(new MenuItem("botrmyhealth", "Use if player healt lower")) .SetValue(new Slider(40, 0, 100)); menuBlade.AddItem(new MenuItem("botrenemyhealth", "Use if enemy healt lower")) .SetValue(new Slider(50, 0, 100)); menuI.AddSubMenu(menuBlade); Menu menuHextech = new Menu("Hextech Gunblade", "Hextechs"); menuHextech.AddItem(new MenuItem("hex", "Enabled")).SetValue(true); menuHextech.AddItem(new MenuItem("hexonlyks", "KS only")).SetValue(false); menuHextech.AddItem(new MenuItem("hexminr", "Min range")).SetValue(new Slider(150, 0, (int)hexgun.Range)); menuI.AddSubMenu(menuHextech); /* * Menu menuMura = new Menu("Muramana ", "Mura"); * menuMura.AddItem(new MenuItem("Muramana", "Enabled")).SetValue(true); * menuMura.AddItem(new MenuItem("MuramanaMinmana", "Min mana")).SetValue(new Slider(40, 0, 100)); * menuI.AddSubMenu(menuMura); */ Menu menuFrost = new Menu("Frost Queen's Claim ", "Frost"); menuFrost.AddItem(new MenuItem("frost", "Enabled")).SetValue(true); menuFrost.AddItem(new MenuItem("frostlow", "Use on low HP")).SetValue(true); menuFrost.AddItem(new MenuItem("frostmin", "Min enemy")).SetValue(new Slider(2, 1, 2)); menuI.AddSubMenu(menuFrost); Menu menuZhonya = new Menu("Zhonya's Hourglass ", "Zhonya"); menuZhonya.AddItem(new MenuItem("Zhonya", "Enabled")).SetValue(true); menuZhonya.AddItem(new MenuItem("Zhonyadmg", "Damage in health %")).SetValue(new Slider(100, 0, 100)); menuI.AddSubMenu(menuZhonya); Menu menuSeraph = new Menu("Seraph's Embrace ", "Seraph"); menuSeraph.AddItem(new MenuItem("Seraph", "Enabled")).SetValue(true); menuSeraph.AddItem(new MenuItem("SeraphdmgHP", "Damage in health %")).SetValue(new Slider(100, 0, 100)); menuSeraph.AddItem(new MenuItem("SeraphdmgSh", "Damage in shield %")).SetValue(new Slider(60, 0, 100)); menuI.AddSubMenu(menuSeraph); Menu menuMountain = new Menu("Face of the Mountain ", "Mountain"); menuMountain.AddItem(new MenuItem("mountain", "Enabled")).SetValue(true); menuMountain.AddItem(new MenuItem("castonme", "SelfCast")).SetValue(true); menuMountain.AddItem(new MenuItem("mountainmin", "Under x % health")).SetValue(new Slider(20, 0, 100)); Menu menuMountainprior = new Menu("Target priority", "MountainPriorityMenu"); foreach (var ally in ObjectManager.Get <Obj_AI_Hero>().Where(h => h.IsAlly && !h.IsMe)) { menuMountainprior.AddItem(new MenuItem("mountainpriority" + ally.ChampionName, ally.ChampionName)) .SetValue(new Slider(5, 0, 5)); } menuMountainprior.AddItem(new MenuItem("off", "0 is off")); menuMountain.AddSubMenu(menuMountainprior); menuI.AddSubMenu(menuMountain); Menu menuSolari = new Menu("Locket of the Iron Solari ", "Solari"); menuSolari.AddItem(new MenuItem("solari", "Enabled")).SetValue(true); menuSolari.AddItem(new MenuItem("solariminally", "Min ally")).SetValue(new Slider(2, 1, 6)); menuSolari.AddItem(new MenuItem("solariminenemy", "Min enemy")).SetValue(new Slider(2, 1, 6)); menuI.AddSubMenu(menuSolari); Menu menuProtoBelt = new Menu("Hextech ProtoBelt-01", "ProtoBelt"); menuProtoBelt.AddItem(new MenuItem("protoBelt", "Enabled")).SetValue(true); menuProtoBelt.AddItem(new MenuItem("protoBeltEHealth", "Under enemy health %")) .SetValue(new Slider(60, 0, 100)); menuI.AddSubMenu(menuProtoBelt); Menu menuGLP = new Menu("Hextech GLP-800", "GLP"); menuGLP.AddItem(new MenuItem("glp", "Enabled")).SetValue(true); menuGLP.AddItem(new MenuItem("glpEHealth", "Under enemy health %")).SetValue(new Slider(60, 0, 100)); menuI.AddSubMenu(menuGLP); menuI.AddItem(new MenuItem("you", "Youmuu's Ghostblade")).SetValue(true); menuI.AddItem(new MenuItem("useItems", "Use Items")).SetValue(true); mConfig.AddSubMenu(menuI); Game.OnUpdate += Game_OnGameUpdate; Orbwalking.AfterAttack += Orbwalking_AfterAttack; odins.Range = 500f; if (player.HasBuff("awesomehealindicator")) { IsURF = true; } return(mConfig); }
public static Menu addItemOptons(Menu config) { Q = new Spell(SpellSlot.Q); W = new Spell(SpellSlot.W); E = new Spell(SpellSlot.E); R = new Spell(SpellSlot.R); var mConfig = config; Menu menuI = new Menu("Items ", "Itemsettings"); menuI = ItemHandler.addCleanseOptions(menuI); menuI.AddItem(new MenuItem("hyd", "Hydra/Tiamat")).SetValue(true); Menu menuRan = new Menu("Randuin's Omen", "Rands "); menuRan.AddItem(new MenuItem("ran", "Enabled")).SetValue(true); menuRan.AddItem(new MenuItem("ranmin", "Min enemy")).SetValue(new Slider(2, 1, 6)); menuI.AddSubMenu(menuRan); Menu menuOdin = new Menu("Odyn's Veil ", "Odyns"); menuOdin.AddItem(new MenuItem("odin", "Enabled")).SetValue(true); menuOdin.AddItem(new MenuItem("odinonlyks", "KS only")).SetValue(false); menuOdin.AddItem(new MenuItem("odinmin", "Min enemy")).SetValue(new Slider(2, 1, 6)); menuI.AddSubMenu(menuOdin); Menu menuBilgewater = new Menu("Bilgewater Cutlass ", "Bilgewaters"); menuBilgewater.AddItem(new MenuItem("bil", "Enabled")).SetValue(true); menuBilgewater.AddItem(new MenuItem("bilonlyks", "KS only")).SetValue(false); menuBilgewater.AddItem(new MenuItem("bilminr", "Min range")) .SetValue( new Slider( (int) (Orbwalking.GetRealAutoAttackRange(player) < bilgewater.Range ? (int)Orbwalking.GetRealAutoAttackRange(player) : bilgewater.Range - 20), 0, (int)bilgewater.Range)); menuI.AddSubMenu(menuBilgewater); Menu menuBlade = new Menu("Blade of the Ruined King", "Blades"); menuBlade.AddItem(new MenuItem("botr", "Enabled")).SetValue(true); menuBlade.AddItem(new MenuItem("botronlyks", "KS only")).SetValue(false); menuBlade.AddItem(new MenuItem("botrminr", "Min range")) .SetValue( new Slider( (int) (Orbwalking.GetRealAutoAttackRange(player) < botrk.Range ? (int)Orbwalking.GetRealAutoAttackRange(player) : botrk.Range - 20), 0, (int)botrk.Range)); menuBlade.AddItem(new MenuItem("botrmyhealth", "Use if player healt lower")) .SetValue(new Slider(40, 0, 100)); menuBlade.AddItem(new MenuItem("botrenemyhealth", "Use if enemy healt lower")) .SetValue(new Slider(50, 0, 100)); menuI.AddSubMenu(menuBlade); Menu menuHextech = new Menu("Hextech Gunblade", "Hextechs"); menuHextech.AddItem(new MenuItem("hex", "Enabled")).SetValue(true); menuHextech.AddItem(new MenuItem("hexonlyks", "KS only")).SetValue(false); menuHextech.AddItem(new MenuItem("hexminr", "Min range")) .SetValue( new Slider( (int) (Orbwalking.GetRealAutoAttackRange(player) < hexgun.Range ? (int)Orbwalking.GetRealAutoAttackRange(player) : hexgun.Range - 20), 0, (int)hexgun.Range)); menuI.AddSubMenu(menuHextech); Menu menuMura = new Menu("Muramana ", "Mura"); menuMura.AddItem(new MenuItem("Muramana", "Enabled")).SetValue(true); menuMura.AddItem(new MenuItem("MuramanaMinmana", "Min mana")).SetValue(new Slider(40, 0, 100)); menuI.AddSubMenu(menuMura); Menu menuFrost = new Menu("Frost Queen's Claim ", "Frost"); menuFrost.AddItem(new MenuItem("frost", "Enabled")).SetValue(true); menuFrost.AddItem(new MenuItem("frostlow", "Use on low HP")).SetValue(true); menuFrost.AddItem(new MenuItem("frostmin", "Min enemy")).SetValue(new Slider(2, 1, 6)); menuI.AddSubMenu(menuFrost); Menu menuMountain = new Menu("Face of the Mountain ", "Mountain"); menuMountain.AddItem(new MenuItem("mountain", "Enabled")).SetValue(true); menuMountain.AddItem(new MenuItem("castonme", "SelfCast")).SetValue(true); menuMountain.AddItem(new MenuItem("mountainmin", "Under x % health")).SetValue(new Slider(20, 0, 100)); Menu menuMountainprior = new Menu("Target priority", "MountainPriorityMenu"); foreach (var ally in ObjectManager.Get <Obj_AI_Hero>().Where(h => h.IsAlly && !h.IsMe)) { menuMountainprior.AddItem(new MenuItem("mountainpriority" + ally.ChampionName, ally.ChampionName)) .SetValue(new Slider(5, 0, 5)); } menuMountainprior.AddItem(new MenuItem("off", "0 is off")); menuMountain.AddSubMenu(menuMountainprior); menuI.AddSubMenu(menuMountain); Menu menuSolari = new Menu("Locket of the Iron Solari ", "Solari"); menuSolari.AddItem(new MenuItem("solari", "Enabled")).SetValue(true); menuSolari.AddItem(new MenuItem("solariminally", "Min ally")).SetValue(new Slider(2, 1, 6)); menuSolari.AddItem(new MenuItem("solariminenemy", "Min enemy")).SetValue(new Slider(2, 1, 6)); menuI.AddSubMenu(menuSolari); menuI.AddItem(new MenuItem("you", "Youmuu's Ghostblade")).SetValue(true); menuI.AddItem(new MenuItem("useItems", "Use Items")).SetValue(true); mConfig.AddSubMenu(menuI); Game.OnUpdate += Game_OnGameUpdate; Orbwalking.OnAttack += Orbwalking_OnAttack; odins.Range = 500f; return(mConfig); }