From 16d61eb708c638342f1018692e0a3e88d926616e Mon Sep 17 00:00:00 2001 From: Stefan Zermatten Date: Tue, 6 Aug 2019 16:36:37 +0200 Subject: [PATCH] Effects can now impact multiple stats --- app/imports/api/properties/Effects.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/imports/api/properties/Effects.js b/app/imports/api/properties/Effects.js index eb5b8bdb..39ee063c 100644 --- a/app/imports/api/properties/Effects.js +++ b/app/imports/api/properties/Effects.js @@ -29,8 +29,12 @@ let EffectSchema = new SimpleSchema({ type: String, optional: true, }, - //which stat the effect is applied to - stat: { + //which stats the effect is applied to + stats: { + type: Array, + defaultValue: [], + }, + 'stats.$': { type: String, optional: true, },