Added table of calculated values to strength detail

This commit is contained in:
Stefan Zermatten
2015-05-18 14:13:28 +02:00
parent 4143929667
commit baffafb62a
4 changed files with 92 additions and 1 deletions

View File

@@ -27,8 +27,10 @@ Template.stats.events({
},
"tap .abilityMiniCard": function(event, instance){
var charId = Template.parentData()._id;
var template = "attributeDialog";
if (this.ability === "strength") template = "strengthDialog";
GlobalUI.setDetail({
template: "attributeDialog",
template: template,
data: {
name: this.title,
statName: this.ability,