Forum > Serverside Modding
[WotLk] [QUESTION] Heroic Dungeon/Raid Level Requirement
<< < (3/3)
Grymskvll:
UnitPopup.lua has the clientside unitframe menu.
3.3.5a:
--- Code: --- elseif ( value == "DUNGEON_DIFFICULTY" ) then if ( UnitLevel("player") < 65 and GetDungeonDifficulty() == 1 ) then UnitPopupShown[UIDROPDOWNMENU_MENU_LEVEL][index] = 0; end elseif ( value == "RAID_DIFFICULTY" ) then if ( UnitLevel("player") < 65 and GetRaidDifficulty() == 1 ) then UnitPopupShown[UIDROPDOWNMENU_MENU_LEVEL][index] = 0; end --- End code ---
Change 65 to whatever you want.
Portals:
--- Quote from: "Grymskvll" ---UnitPopup.lua has the clientside unitframe menu.
3.3.5a:
--- Code: --- elseif ( value == "DUNGEON_DIFFICULTY" ) then if ( UnitLevel("player") < 65 and GetDungeonDifficulty() == 1 ) then UnitPopupShown[UIDROPDOWNMENU_MENU_LEVEL][index] = 0; end elseif ( value == "RAID_DIFFICULTY" ) then if ( UnitLevel("player") < 65 and GetRaidDifficulty() == 1 ) then UnitPopupShown[UIDROPDOWNMENU_MENU_LEVEL][index] = 0; end --- End code ---
Change 65 to whatever you want. --- End quote ---
When I login it says my Interface/FrameXML file is corrupt
Grymskvll:
I thought about mentioning it, but then I forgot again. If you're modifying the interface files, you need to use a cracked Wow.exe.
http://www.ownedcore.com/forums/world-of-warcraft/world-of-warcraft-bots-programs/501200-repost-sig-md5-protection-remover.html
Navigation
[0] Message Index
[*] Previous page
|