Attacks inherit spell names correctly

This commit is contained in:
Stefan Zermatten
2015-06-29 13:55:27 +02:00
parent 83a8eeef0f
commit af070b1578

View File

@@ -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);