🧙‍♂️ Brought to you by Peptides.gg — Use code UO20 for 20% off — GLP-1's, 90+ Peptides and more!
From the Codex of Ultimate Wisdom

Character Sheet Stat Bonus

A folio of the realm

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.

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.

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


Remember to save the file and load your custom UI from the login screen

See Also

← Return to the Codex
Folio inscribed by the Scribe  ·  transcode  ·  2026-05-14
Folios in the Codex incorporate material adapted from community-maintained Ultima Online wikis, used under the Creative Commons Attribution-ShareAlike 3.0 License. Synthesised, restructured, and rebranded by the Scribe.