Implemented Effect View for skills

This commit is contained in:
Thaum
2015-03-06 11:03:09 +00:00
parent 76ba6b441e
commit 40a050d88f
28 changed files with 602 additions and 86 deletions

View File

@@ -0,0 +1,10 @@
Template.effectsViewList.helpers({
effects: function(){
if(this.sourceId){
return Effects.find({sourceId: this.sourceId, type: this.type, charId: this.charId}, {fields: {sourceId: 0}});
} else if(this.stat){
return Effects.find({charId: this.charId, stat: this.stat});
}
}
});