mirror of
https://github.com/raeleus/Hashtag-DnD.git
synced 2025-07-06 05:30:28 -04:00
Adjust #turn text to prevent AI from mimicking the turn language.
This commit is contained in:
parent
135243f56d
commit
034c839897
1 changed files with 1 additions and 1 deletions
2
Input.js
2
Input.js
|
@ -2125,7 +2125,7 @@ function doTurn(command) {
|
|||
var areWord = target.name == "You" ? "are" : "is"
|
||||
var targetNameAdjustedCase = target.name == "You" ? "you" : toTitleCase(target.name)
|
||||
|
||||
var text = `\nIt is ${possessiveName} turn.\n`
|
||||
var text = `\n[It is ${possessiveName} turn.]\n`
|
||||
if (getRandomBoolean() || activeCharacter.spells.length == 0) {
|
||||
var damage = isNaN(activeCharacter.damage) ? calculateRoll(activeCharacter.damage) : activeCharacter.damage
|
||||
target.health = Math.max(target.health - damage, 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue