Preliminary additions

This commit is contained in:
Jacob
2017-07-15 19:54:23 +01:00
parent 398f8a8a2a
commit be92ef224c
6 changed files with 48 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
Template.buffViewList.helpers({
buffs: function(){
var selector = {
"parent.id": this.parentId,
"charId": this.charId,
};
if (this.parentGroup){
selector["parent.group"] = this.parentGroup;
}
return Buffs.find(selector);
}
});