Attacks can now be added to spells

This commit is contained in:
Stefan Zermatten
2015-06-17 09:05:23 +02:00
parent 9ff45dbcc2
commit 314ce85410
2 changed files with 7 additions and 0 deletions

View File

@@ -20,6 +20,11 @@ openParentDialog = function(parent, charId, heroId) {
template: "itemDialog",
data: {itemId: parent.id},
};
} else if (parent.collection === "Spells") {
detail = {
template: "spellDialog",
data: {spellId: parent.id},
};
}
detail.heroId = heroId;
detail.charId = charId;