mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +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'),
|
||||
mana: 25,
|
||||
lvl: 14,
|
||||
|
||||
@@ -635,6 +635,10 @@ api.cast = async function(req, res, next) {
|
||||
let spellId = req.params.spell;
|
||||
let targetId = req.query.targetId;
|
||||
|
||||
if (spellId === 'heallAll') {
|
||||
spellId = 'healAll';
|
||||
}
|
||||
|
||||
let klass = shared.content.spells.special[spellId] ? 'special' : user.stats.class;
|
||||
let spell = shared.content.spells[klass][spellId];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user