fix: Correct spelling of healAll skill

fix: Correct sprite name of healAll skill
This commit is contained in:
Blade Barringer
2016-05-19 09:53:29 -05:00
parent f3537351bf
commit 42bc4bdd3d
3 changed files with 5 additions and 1 deletions

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -239,7 +239,7 @@ spells.healer = {
}); });
}, },
}, },
heallAll: { // Blessing healAll: { // Blessing
text: t('spellHealerHealAllText'), text: t('spellHealerHealAllText'),
mana: 25, mana: 25,
lvl: 14, lvl: 14,

View File

@@ -635,6 +635,10 @@ api.cast = async function(req, res, next) {
let spellId = req.params.spell; let spellId = req.params.spell;
let targetId = req.query.targetId; let targetId = req.query.targetId;
if (spellId === 'heallAll') {
spellId = 'healAll';
}
let klass = shared.content.spells.special[spellId] ? 'special' : user.stats.class; let klass = shared.content.spells.special[spellId] ? 'special' : user.stats.class;
let spell = shared.content.spells[klass][spellId]; let spell = shared.content.spells[klass][spellId];