This commit is contained in:
Gonçalo Correia 2026-04-11 20:27:46 +01:00
parent 39b273ad1c
commit e17370a89f
4 changed files with 23 additions and 10 deletions

4
UI.lua
View file

@ -16,7 +16,7 @@ local function BuildSkillOptions()
for _, skill in ipairs(AltSystem.Data.Skills) do
local sign = skill.modifier >= 0 and "+" or ""
local text
if skill.level == "Unskilled" then
if skill.level == "Inept" then
text = skill.name .. " (" .. sign .. skill.modifier .. ")"
else
text = skill.name .. " (" .. skill.level .. " " .. sign .. skill.modifier .. ")"
@ -210,7 +210,7 @@ end
function AltSystem:RefreshSkillDropdown()
AltSystem.Data:RefreshSkills()
-- Reset selection to 1 (Unskilled) since the skill list may have changed
-- Reset selection to 1 (Inept) since the skill list may have changed
AltSystem.State.selectedSkillIndex = 1
if AltSystem.SetSkillIndex then
AltSystem.SetSkillIndex(1)