Problem with skill .. can't figure it out.

Hi there. I have a skill that doesn't seem to want to work properly the animation fires ok and the action sequence is fine. But it doesn't restore any Mana. I have been wracking my brain trying to figure out why. I have determined that the issue isn't with the plugin notetags. As the skill also fails to restore mana without them. I would appreciate any help 🙂

error1.png
Hm. Try putting the MP Recovery in the effects section.


i.e., 


3788daf460.png



and tweak it to what you need. 
That indeed does work. But I had hoped to make the mp regeneration more dynamic. In that it improved with the characters magic stat and level. Rather than just granting a flat percentage. If there is no workaround that's what I will do. But it seems strange that the mp recover option doesn't seem to work when it's there. I can only think the damage formula is wrong .. but I can't see it.
@RHachicho  the damage formula is wrong, because level is not defined and that is why the result for recovery is zero.


I don't remember the exact spelling at the moment, it's either a.level or a.lvl if I remember correctly, and the level only exists for actors (it will never have an effect on enemies as those have no levels)
ah yes that was the problem! I don't know why but I guess I assumed that because enemies don't do levels it would run of the user's automatically. Problem solved thank you very much! 🙂

Original thread: https://forums.rpgmakerweb.com/threads/problem-with-skill-cant-figure-it-out.65185/