Well, the inspect window and your character window should be lua files within the interface folder. You could search for those stat dropd down boxes and write a failsafe that hides or changes those when inspecting a druid above level 103.
Maybe something like this:
In the file InterfaceFrameXMLPaperDollFrame somewhere in function PaperDollFrame_OnEvent there's a line of code which sets the default dropdowns if none are chosen.
if ( event == "VARIABLES_LOADED" ) then
-- Set defaults if no settings for the dropdowns
if ( GetCVar("playerStatLeftDropdown") == "" or GetCVar("playerStatRightDropdown") == "" ) then
local temp, classFileName = UnitClass("player");
classFileName = strupper(classFileName);
SetCVar("playerStatLeftDropdown", "PLAYERSTAT_BASE_STATS");
if ( classFileName == "MAGE" or classFileName == "PRIEST" or classFileName == "WARLOCK" or classFileName == "DRUID" ) then
SetCVar("playerStatRightDropdown", "PLAYERSTAT_SPELL_COMBAT");
elseif ( classFileName == "HUNTER" ) then
SetCVar("playerStatRightDropdown", "PLAYERSTAT_RANGED_COMBAT");
else
SetCVar("playerStatRightDropdown", "PLAYERSTAT_MELEE_COMBAT");
end
end
PaperDollFrame_UpdateStats(self);
end
Now you could add something like:
if(UnitLevel("player") > 102 and UnitClass("player") == "DRUID") then
SetCVar("playerStatLeftDropdown", "PLAYERSTAT_BASE_STATS");
SetCVar("playerStatRightDropdown", "PLAYERSTAT_MELEE_STATS");
end
This code might be wrong, I didn't test it, nor did I ever write something in lua before... You have to test it yourself
This way it would still crash if players did it by hand.... you could search for the dropdown and remove the spell option if above level 103... But I was too lazy to set up a server with > level 103 chars, as I have no server to test it on in the first place. I'm sure you'll figure out the rest by yourself.
The files are loated in your locale mpqs btw. Always look for the latest.
Edit:
In
function PlayerStatFrameRightDropDown_Initialize and function PlayerStatFrameLeftDropDown_Initialize you can change the line
[code}UIDropDownMenu_AddButton(info);[/code]
to
if(not (UnitLevel("player") > 102 and UnitClass("player") == "DRUID" and info.value == "PLAYERSTAT_SPELL_COMBAT")) then
UIDropDownMenu_AddButton(info);
end
This is also untested, but should remove the Spell Option from the drop down lists.