Character Sheet Stat Bonus
Creator: Khyro
Purpose: Correct stat bonus caps on the character sheet.
Default Behavior
The character sheet indicates a stat bonus and stat bonus cap (XX/XX) for Health, Stamina, and Mana. While a character can have bonuses for all three stats, a stat bonus cap only applies for Health. Stamina and Mana do not have a stat bonus cap.

Default character sheet with non-existant stat bonus caps
Modified Behavior
The character sheet indicates a stat bonus and stat bonus cap (XX/XX) for Health, but only a stat bonus for Stamina and Mana.

Modified character sheet with correct stat bonus caps
To create the mod, open the file CharacterSheet.lua to function CharacterSheet.HealthStaminaManaBonus( which ). Replace the code chunk
if max > 0 then
heal = L"/+"..StringToWString(tostring(max))..L")"
elseif max < 0 then
heal = L"/"..StringToWString(tostring(max))..L")"
end
if heal == L"" then
if val > 0 then
heal = L"(+"..StringToWString(tostring(val))..L")"
elseif val < 0 then
heal = L"("..StringToWString(tostring(val))..L")"
end
else
if val > 0 then
heal = L"(+"..StringToWString(tostring(val))..heal
elseif val < 0 then
heal = L"("..StringToWString(tostring(val))..heal
else
heal = L"(+0"..heal
end
end
with the code chunk
-- check for cap value if (CharacterSheet.Caps[which] ~= nil) then heal = L"(+" .. StringToWString(tostring(max)) .. L" / " .. StringToWString(tostring(CharacterSheet.Caps[which])) .. L")" else heal = L"(+" .. StringToWString(tostring(max)) .. L")" end

CharacterSheet.lua default

CharacterSheet.lua modified
Remember to save the file and load your custom UI from the login screen