Fixed parenting. Started on UI rewrite for new parenting system

This commit is contained in:
Thaum
2015-03-18 13:56:41 +00:00
parent 3656a0b66f
commit ecc43752aa
12 changed files with 76 additions and 40 deletions

View File

@@ -21,7 +21,7 @@ Schemas.Buff = new SimpleSchema({
Buffs.attachSchema(Schemas.Buff);
Buffs.attachBehaviour('softRemovable');
makeParent(Buffs); //parents of effects and attacks
makeParent(Buffs, 'name'); //parents of effects and attacks
Buffs.allow(CHARACTER_SUBSCHEMA_ALLOW);
Buffs.deny(CHARACTER_SUBSCHEMA_DENY);