Fixed combatant isNPC

This commit is contained in:
WBHarry 2025-12-06 15:55:55 +01:00
parent 07b494054e
commit b054d7b524
4 changed files with 9 additions and 1 deletions

View file

@ -0,0 +1,6 @@
export default class DhCombatant extends Combatant {
/**@inheritdoc */
get isNPC() {
return this.actor?.isNPC ?? (!this.actor || !this.hasPlayerOwner);
}
}