mirror of
https://github.com/raeleus/Hashtag-DnD.git
synced 2025-07-05 05:00:26 -04:00
Fixed missing period in #attack. Resolves #79
This commit is contained in:
parent
33fdbb5835
commit
23ddbf0109
1 changed files with 1 additions and 1 deletions
2
Input.js
2
Input.js
|
@ -1957,7 +1957,7 @@ function doAttack(command) {
|
|||
|
||||
var text
|
||||
if (score + modifier >= targetRoll) text = `\n${toTitleCase(character.name)} successfully hit ${targetText}!`
|
||||
else text = `\n${toTitleCase(character.name)} ${tryWord} to hit ${targetText} ${toTitleCase(character.name)} ${missWord}!`
|
||||
else text = `\n${toTitleCase(character.name)} ${tryWord} to hit ${targetText}. ${toTitleCase(character.name)} ${missWord}!`
|
||||
|
||||
if (score == 20) text += " Critical success! Your attack is exceptionally damaging!"
|
||||
else if (score == 1) text += " Critical failure! Your attack missed in a spectacular way!"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue