Compare commits

..

3 commits

Author SHA1 Message Date
72f3aa5731 Fixing double 'Unskilled' option 2026-05-18 12:09:59 +01:00
00a361157c Fixing skill name displaying wrong skill 2026-05-18 12:07:22 +01:00
6ebb92c62b feat/redesign (#1)
Reviewed-on: #1
Co-authored-by: Gonçalo Correia <goncalojoaocorreia@gmail.com>
Co-committed-by: Gonçalo Correia <goncalojoaocorreia@gmail.com>
2026-05-15 14:53:15 +01:00
3 changed files with 0 additions and 4 deletions

View file

@ -25,7 +25,6 @@ local DEFAULT_SKILLS = {
{ name = "Adept Skill", level = "Adept", modifier = 0 }, { name = "Adept Skill", level = "Adept", modifier = 0 },
{ name = "Expert Skill", level = "Expert", modifier = 2 }, { name = "Expert Skill", level = "Expert", modifier = 2 },
{ name = "Master Skill", level = "Master", modifier = 4 }, { name = "Master Skill", level = "Master", modifier = 4 },
{ name = "Unskilled", level = "Unskilled", modifier = -4 },
} }
-- Valid skill level keywords that must appear in the trait's right field (RT) -- Valid skill level keywords that must appear in the trait's right field (RT)

3
UI.lua
View file

@ -682,9 +682,6 @@ function AltSystem:RefreshSkillDropdown()
AltSystem.State.selectedSkillIndex = i AltSystem.State.selectedSkillIndex = i
AltSystem.State.selectedSkillName = AltSystem.Data.Skills[i] and AltSystem.Data.Skills[i].name or nil AltSystem.State.selectedSkillName = AltSystem.Data.Skills[i] and AltSystem.Data.Skills[i].name or nil
AltSystem.SkillDropdown.label:SetText(option.text) AltSystem.SkillDropdown.label:SetText(option.text)
if AltSystem.SetSkillIndex then
AltSystem.SetSkillIndex(i)
end
if AltSystem.UpdateSkillWarning then if AltSystem.UpdateSkillWarning then
AltSystem.UpdateSkillWarning(i) AltSystem.UpdateSkillWarning(i)
end end

0
docs/roll_tab_design.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 74 KiB

After

Width:  |  Height:  |  Size: 74 KiB

Before After
Before After