mirror of
https://github.com/raeleus/Hashtag-DnD.git
synced 2025-07-05 21:20:27 -04:00
Fixed casing of abilities and skills.
This commit is contained in:
parent
67c2e126c4
commit
911b0320f3
2 changed files with 9 additions and 9 deletions
4
Input.js
4
Input.js
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue