Maybe the problem comes from your plugins list. Try to put Skill Core quite high.
Recover MP whenever you kill any enemy in a battle.
RPG Maker MV SupportDid it. I still got the same result.
Do you have YEP_Core Engine installed ?
A-ha. I found out that's the reason why I keep getting this error.
But I still seem to have issues with recovering MP. I still can't seem to recover MP, but at least I found out about what keeps causing this error.
Maybe add these lines after user.gainMp(value)
user.startDamagePopup();
user.clearResult();
user.startDamagePopup();
user.clearResult();
What do you have when you perform the skill ?
Whenever I perform the skill, it just functions normally.
Except that I don't actually get to recover any MP whenever I kill an enemy.
Very odd. Try with Pre Eval conditions and (value >= target.hp) in the if parenthesis
The same issue happens.
Maybe it is a capital sensitive problem.
Try "target.Hp"
Try "target.Hp"
Same issue still happens..
I can't see what I miss... Maybe it is a plugin incompatibilty. I can suggest you to try the code in a blank project with only YEP_Core and YEP_Skill Core.
I'm kind of starting to give up..
Apologies for double posting (and necro posting), but I decided to try out Joewoof's common event method.. At first, it didn't work, but when I tweaked it a little bit, it finally worked!
Thank you so much Joe (you too Boonty and udime)! Now I feel very satisfied. 😀
Original thread: https://forums.rpgmakerweb.com/threads/recover-mp-whenever-you-kill-any-enemy-in-a-battle.129682/