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 {
|
prepareBaseData(): void {
|
||||||
const data = this.data;
|
const data = this.data;
|
||||||
|
|
||||||
data.data.rolling.minimumFumbleResult = 20;
|
data.data.rolling = {
|
||||||
data.data.rolling.maximumCoupResult = 1;
|
minimumFumbleResult: 20,
|
||||||
|
maximumCoupResult: 1,
|
||||||
|
};
|
||||||
|
|
||||||
const attributes = data.data.attributes;
|
const attributes = data.data.attributes;
|
||||||
Object.values(attributes).forEach(
|
Object.values(attributes).forEach(
|
||||||
|
|
Loading…
Reference in a new issue