mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-06-06 21:04:16 +02:00
[Feature] NPC Actors (#1949)
Some checks are pending
Project CI / build (24.x) (push) Waiting to run
Some checks are pending
Project CI / build (24.x) (push) Waiting to run
This commit is contained in:
parent
c23ac61ee5
commit
53f15a7fde
32 changed files with 548 additions and 29 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue