Uncommented buffs from spell library

This commit is contained in:
Stefan Zermatten
2017-09-08 09:46:00 +02:00
parent 6e900cfaae
commit 0af905699a

View File

@@ -291,7 +291,6 @@ Template.spells.events({
Effects.insert(effect);
});
/******[UNCOMMENT ONCE BUFFS ARE ADDED]*******
_.each(rawSpell.buffs, (buff) => {
buff.charId = charId;
buff.parent = {id: spellId, collection: "Spells"};
@@ -314,7 +313,6 @@ Template.spells.events({
Proficiencies.insert(prof);
});
});
*******[UNCOMMENT ONCE BUFFS ARE ADDED]******/
});
},
returnElement: () => $(`[data-id='${spellId}']`).get(0),
@@ -384,4 +382,4 @@ Template.layout.events({
Session.set("spellLists.dragSpellId", null);
}
},
});
});