#attack and #cast can target enemies by enemy number

This commit is contained in:
raeleus 2024-10-12 16:36:40 -07:00
parent 5784b2328a
commit e9743ed99e
3 changed files with 72 additions and 45 deletions

View file

@ -1390,7 +1390,6 @@ function createEncounter(listName) {
initiativeSuffix += Math.floor(3 * (multiplier - 1))
initiativeSuffix = `${initiativeSuffix > 0 ? "+" : ""}${initiativeSuffix}`
enemy.initiative = `${initiativePrefix}${initiativeSuffix == 0 ? "" : initiativeSuffix}`
log(enemy)
}
return encounter