Fix Actor.data.data.rolling being undefined
This commit is contained in:
parent
b07ee31b38
commit
68c20ccdc6
1 changed files with 4 additions and 2 deletions
|
@ -25,8 +25,10 @@ export class DS4Actor extends Actor<DS4ActorData, DS4Item> {
|
|||
prepareBaseData(): void {
|
||||
const data = this.data;
|
||||
|
||||
data.data.rolling.minimumFumbleResult = 20;
|
||||
data.data.rolling.maximumCoupResult = 1;
|
||||
data.data.rolling = {
|
||||
minimumFumbleResult: 20,
|
||||
maximumCoupResult: 1,
|
||||
};
|
||||
|
||||
const attributes = data.data.attributes;
|
||||
Object.values(attributes).forEach(
|
||||
|
|
Loading…
Reference in a new issue