Added ability to add/edit buffs

This commit is contained in:
Jacob
2017-08-09 15:01:20 +01:00
parent bce1b85600
commit 08735ea4f7
18 changed files with 308 additions and 26 deletions

View File

@@ -0,0 +1,6 @@
<template name="customBuffView">
<td>{{buff.name}}</td>
<td>
<paper-button class="apply-buff-button">Apply</paper-button>
</td>
</template>

View File

@@ -0,0 +1,9 @@
Template.customBuffView.events({
"click .apply-buff-button": function(){
pushDialogStack({
template: "applyBuffDialog",
data: {buff: this.buff},
element: event.currentTarget,
});
},
});