MZ SOLVED: Visustella Battle Core Damage Popup Error

Hello! I wanted to ask this here just in case there's an easy solution I'm overlooking, but I understand if I have to go directly to Visustella with this. I'm having a issue when I heal a character using a skill, the HP Popup reads 0, even though the HP DOES increase. That same skill also regenerates MP, but there's no readout issue there.
[ISPOILER]
1756414760679.png

The character had 30 H before this just trust me
[/ISPOILER]

The only plugins I have are VisaMZ_0_CoreEngine and VisuMZ_1_BattleCore. Both are up to date.

Here's a screenshot of the skill in question.

[ISPOILER]
1756415592699.png


The full recovery formula is this:

b.elementRate(17) === 0 ? b.gainHP(0) : b.gainHp(a.luk + 5); b.gainMp(a.luk + 5)

[/ISPOILER]


If I use a normal heal skill, there is no readout issue. Has anyone else encountered this?

Either way, thank you for your time!
b.elementRate(17) === 0 ? b.gainHP(0) : b.gainHp(a.luk + 5); b.gainMp(a.luk + 5)
I think that the issue is that you don't have something that evaluates to a number. Since the skill's damage type is set to "HP Recover", and since you end your formula with "b.gainMp(a.luk +5)", all that can be displayed for HP Recover is 0.

Assuming that you always want the MP to increase by user's LUK + 5, maybe you can try the following?

b.gainMp(a.luk + 5); b.elementRate(17) === 0 ? 0 : a.luk + 5
VisaMZ_0_CoreEngine and VisuMZ_1_BattleCore
additionally, since you are already using Visu battle core, id suggest you move the gainMp call from the formula, put it in an action timing notetag and just use the formula for the hp portion
Thank you both so much! The formula worked and Robro's suggestion worked great as well. I'll see what works best as I develop further. I greatly appreciate your time! This problem has been solved.

Original thread: https://forums.rpgmakerweb.com/threads/solved-visustella-battle-core-damage-popup-error.179829/