fixed enemy hpcatcher/mpcatcher stats

This commit is contained in:
tmont 2021-02-26 22:06:09 -08:00
parent 2536015a18
commit 19e4c4199f

View File

@ -489,6 +489,7 @@
$enemyInfoModal.find(`.enemy-spells .magic-enemy-dmg-${spell.name}`).text(magicDmg(def));
$enemyInfoModal.find(`.enemy-spells .magic-enemy-dmg-${spell.name}-magic-up`).text(magicDmg(magicUp));
});
// hpcatcher
def = calc.hpCatcherAttack(rowData.magic, 999, 0, rowData.hp);
@ -496,7 +497,7 @@
targetMagicUp: true,
});
let prefix = '.magic-enemy-dmg-HPCatcher';
prefix = '.magic-enemy-dmg-HPCatcher';
$enemyInfoModal.find(prefix).text(magicDmg(def));
$enemyInfoModal.find(prefix + '-magic-up').text(magicDmg(magicUp));
@ -509,7 +510,6 @@
prefix = '.magic-enemy-dmg-MPCatcher';
$enemyInfoModal.find(prefix).text(magicDmg(def));
$enemyInfoModal.find(prefix + '-magic-up').text(magicDmg(magicUp));
});
}
if (charStats.speed !== null) {