[Feature] NPC Actors (#1949)
Some checks are pending
Project CI / build (24.x) (push) Waiting to run

This commit is contained in:
WBHarry 2026-05-31 03:11:43 +02:00 committed by GitHub
parent c23ac61ee5
commit 53f15a7fde
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
32 changed files with 548 additions and 29 deletions

View file

@ -109,6 +109,14 @@ export default class DhpActor extends Actor {
});
}
if (this.type === 'npc') {
Object.assign(update, {
prototypeToken: {
disposition: CONST.TOKEN_DISPOSITIONS.FRIENDLY
}
});
}
this.updateSource(update);
}