mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
fix: Correct spelling of healAll skill
fix: Correct sprite name of healAll skill
This commit is contained in:
@@ -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