Can now set target of buffs
...to "Self only", "Others only", or "Both".
This commit is contained in:
@@ -32,4 +32,10 @@ Template.customBuffEdit.events({
|
||||
trimStrings: false,
|
||||
});
|
||||
}),
|
||||
"iron-select .target-dropdown": function(event){
|
||||
var detail = event.originalEvent.detail;
|
||||
var value = detail.item.getAttribute("name");
|
||||
if (value === this.target) return;
|
||||
CustomBuffs.update(this._id, {$set: {target: value}});
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user