Update the Player data model and move it into an Actor folder since we now have an item data model
This commit is contained in:
parent
d9d66abf27
commit
c6ec60b5bf
3 changed files with 14 additions and 2 deletions
|
|
@ -42,7 +42,14 @@ export class TAFActor extends Actor {
|
|||
};
|
||||
|
||||
getRollData() {
|
||||
const data = {};
|
||||
/*
|
||||
All properties assigned during this phase of the roll data prep can potentially
|
||||
be overridden by users creating attributes of the same key, if users shouldn't
|
||||
be able to override, assign the property before the return of this function.
|
||||
*/
|
||||
const data = {
|
||||
carryCapacity: this.system.carryCapacity ?? null,
|
||||
};
|
||||
|
||||
if (`attr` in this.system) {
|
||||
for (const attrID in this.system.attr) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue