I am using QABS and need some help. I want to make a recovery skill

*Forgive me for using a translator

I wanted to make an mp recovery skill for QABS. So I tried, but if you write a.gainMP(15) in this skill, it will recover, but it will recover only when you move to another map or press ESC to look at the menu. Even if you use common events and switches, it's the same... What should I do?
What happens if you put

$gameParty.members()[actorPosition]._mp += 15;

or

this.changeMp($gameParty.members()[actorPosition], +15, true);
I'm surprised that does anything because gainMP is not a valid function. It should be gainMp.

If you get the same result with that spelling, then it sounds like you just need to refresh the display. Try:
Code:
a.gainMp(15); $gameMap.refresh()

Original thread: https://forums.rpgmakerweb.com/threads/i-am-using-qabs-and-need-some-help-i-want-to-make-a-recovery-skill.158985/