Add isRange for an attribute item
This commit is contained in:
parent
f932c6d774
commit
b856708b93
1 changed files with 4 additions and 0 deletions
|
|
@ -32,4 +32,8 @@ export class AttributeItemData extends foundry.abstract.TypeDataModel {
|
|||
}),
|
||||
};
|
||||
};
|
||||
|
||||
get isRange() {
|
||||
return this.max !== null;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue