From af070b15780860ca0f00cfb0b52c5b8a3ee8c971 Mon Sep 17 00:00:00 2001 From: Stefan Zermatten Date: Mon, 29 Jun 2015 13:55:27 +0200 Subject: [PATCH] Attacks inherit spell names correctly --- rpg-docs/Model/Character/Spells.js | 1 + 1 file changed, 1 insertion(+) diff --git a/rpg-docs/Model/Character/Spells.js b/rpg-docs/Model/Character/Spells.js index 5234b321..f4759512 100644 --- a/rpg-docs/Model/Character/Spells.js +++ b/rpg-docs/Model/Character/Spells.js @@ -62,6 +62,7 @@ Spells.attachSchema(Schemas.Spell); Spells.attachBehaviour("softRemovable"); makeChild(Spells); //children of spell lists +makeParent(Spells, ["name", "enabled"]); //parents of attacks Spells.allow(CHARACTER_SUBSCHEMA_ALLOW); Spells.deny(CHARACTER_SUBSCHEMA_DENY);