From 5ab56a2f9c2c8a90aa915fd5db79112777f3be13 Mon Sep 17 00:00:00 2001 From: Russell Date: Thu, 4 Jul 2024 22:59:17 -0500 Subject: [PATCH] fix threat resources again --- scripts/model/actor/threat.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/model/actor/threat.js b/scripts/model/actor/threat.js index ecba865..492765c 100644 --- a/scripts/model/actor/threat.js +++ b/scripts/model/actor/threat.js @@ -15,12 +15,12 @@ export class ThreatModel extends StandardWNGActorModel { third: new fields.StringField({ default: "T" }), fourth: new fields.StringField({ default: "T" }) }), - mob : new fields.NumberField(), notes : new fields.StringField(), - - resources : new fields.SchemaField({ - ruin : new fields.NumberField({min : 0}), - }) + + }) + schema.mob = new fields.NumberField(), + schema.resources = new fields.SchemaField({ + ruin : new fields.NumberField({min : 0}), }) return schema; }