I'm trying to make an enemy skill that fully restores MP, but I can't get it to work. I'm testing it out by teaching it to a player actor and it just keeps giving the error sound effect when trying to use it. Here's how it looks.
Any ideas why it won't let me use it? I figure there's a good chance it's something with the formula, but who knows?
Making the formula just b.mmp should work.
a.mmp is the user, not the target - that's b.mmp
So what you have should give the user's maximum MP to the target. I'm not sure why it's giving the error sound effect, unless the user has no mp, or the target's mp is already full.
Try the suggestion above, and if you still get the buzzing noise, open up the console (F8 for developer tools, then find console tab) and see if there are any error messages listed.
Oh I didn't see the replies until just now. For some strange reason, when I changed the skill type to magic instead of skill, it worked. Weird!
You still need to change the formule to b.mmp rather than a.mmp
Otherwise, if the character using the skill has a maximum MP of 100, but the character they're using the skill on has a maximum of 500, only 100 will be restored.