Fixed casing of abilities and skills.

This commit is contained in:
raeleus 2024-09-22 16:10:47 -07:00
parent 67c2e126c4
commit 911b0320f3
2 changed files with 9 additions and 9 deletions

View file

@ -572,7 +572,7 @@ function doSetStat(command) {
}
state.show = "none"
return `\n[${possessiveName} ${arg0} stat is now ${arg1}.]\n`
return `\n[${possessiveName} ${toTitleCase(arg0)} ability is now ${arg1}.]\n`
}
function doSetSpellStat(command) {
@ -684,7 +684,7 @@ function doSetSkill(command) {
}
state.show = "none"
return `\n[${possessiveName} ${arg0} skill is now ${arg2 >= 0 ? "+" + arg2 : "-" + arg2} and based on ${arg1}.]\n`
return `\n[${possessiveName} ${toTitleCase(arg0)} skill is now ${arg2 >= 0 ? "+" + arg2 : "-" + arg2} and based on ${toTitleCase(arg1)}.]\n`
}
function doSetExperience(command) {