Gave effects their own collection, they no longer live in arrays attached to skills/attributes
Also improved the display of features and generally iterated on their manipulation. Characters now fetch the relevant effects directly when making a calculation, simplifying almost everything. Effects now store a reference to their source if they have one. Effect names are now optional, they can be fetched from the source's name if the source exists.
This commit is contained in:
@@ -13,4 +13,8 @@ Meteor.publish("characterItems", function(characterId, userId){
|
||||
|
||||
Meteor.publish("characterFeatures", function(characterId, userId){
|
||||
return Features.find({charId: characterId});
|
||||
});
|
||||
});
|
||||
|
||||
Meteor.publish("characterEffects", function(characterId, userId){
|
||||
return Effects.find({charId: characterId});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user