Fix init creature + minor changes

This commit is contained in:
2023-01-04 09:57:13 +01:00
parent 1bbefd3499
commit 1ac9605f08
9 changed files with 58 additions and 25 deletions

View File

@ -35,7 +35,7 @@ export class BoLCombatManager extends Combat {
nextRound() {
let combatants = this.combatants.contents
for (let c of combatants) {
let actor = game.actors.get( c.data.actorId )
let actor = game.actors.get( c.actorId )
actor.clearRoundModifiers()
}
super.nextRound()
@ -45,7 +45,7 @@ export class BoLCombatManager extends Combat {
_onDelete() {
let combatants = this.combatants.contents
for (let c of combatants) {
let actor = game.actors.get(c.data.actorId)
let actor = game.actors.get(c.actorId)
actor.clearInitiative()
}
super._onDelete()