So I have a character that starts out with 1 MP. Their ability, Magic Drain, drains mp from an opponent and increases their max mp by a random number(which can be set and increases as they gain more max mp). As this character gains max mp, they learn skills, increase stats, etc etc. It's like they are "regaining their lost power". I have accomplished most of this by using a common event on a skill that does mp drain. The following are my problems:
1. The common event effect happens even if the skill misses and even when the enemy being drained has no mp.
2. FIXED -edit
Is there a way for me to check in the common event effect if the enemy that I targeted with magic drain has zero mp? When I look through the menu it only lets me choose 1. thru 8.
Any ideas on how to fix these issues? Thanks in advance!