mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 23:27:26 +01:00
fix: Correct spelling of healAll skill
fix: Correct sprite name of healAll skill
This commit is contained in:
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
@@ -239,7 +239,7 @@ spells.healer = {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
heallAll: { // Blessing
|
healAll: { // Blessing
|
||||||
text: t('spellHealerHealAllText'),
|
text: t('spellHealerHealAllText'),
|
||||||
mana: 25,
|
mana: 25,
|
||||||
lvl: 14,
|
lvl: 14,
|
||||||
|
|||||||
@@ -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];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user