Files
DiceCloud/rpg-docs/client/views/character/buffs/buffView/buffView.js
Jacob b3ef43eb70 Added ability to add/remove basic conditions
Conditions are those listed in ./lib/methods/conditions.js
2017-07-16 04:27:32 +01:00

17 lines
348 B
JavaScript

Template.buffView.helpers({
name: function() {
return this.name
}
});
Template.buffView.events({
"click .buffView": function(event){
var buffId = this._id;
var charId = Template.parentData()._id;
pushDialogStack({
template: "buffDialog",
data: {buffId: buffId, charId: charId},
element: event.currentTarget,
});
},
});