RAID_DIFFICULTY = "Raid Difficulty";RAID_DIFFICULTY1 = "10 Player";RAID_DIFFICULTY2 = "25 Player";RAID_DIFFICULTY3 = "10 Player (Heroic)";RAID_DIFFICULTY4 = "25 Player (Heroic)";RAID_DIFFICULTY_10PLAYER = "10 Player";RAID_DIFFICULTY_10PLAYER_HEROIC = "10 Player (Heroic)";RAID_DIFFICULTY_20PLAYER = "20 Player";RAID_DIFFICULTY_25PLAYER = "25 Player";RAID_DIFFICULTY_25PLAYER_HEROIC = "25 Player (Heroic)";RAID_DIFFICULTY_40PLAYER = "40 Player";
DUNGEON_DIFFICULTY = "Dungeon Difficulty";DUNGEON_DIFFICULTY1 = "5 Player";DUNGEON_DIFFICULTY2 = "5 Player (Heroic)";DUNGEON_DIFFICULTY3 = "Epic (Unused)";DUNGEON_DIFFICULTY_5PLAYER = "5 Player";DUNGEON_DIFFICULTY_5PLAYER_HEROIC = "5 Player (Heroic)";
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
UnitPopup.lua has the clientside unitframe menu.3.3.5a:Code: [Select] 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; endChange 65 to whatever you want.