How to make a basic mana drain formula?

How is it that you can transfer some mana from an enemy to yourself. What is the formula?
How is it that you can transfer some mana from an enemy to yourself. What is the formula?

I maybe wrong (as I'm not on my computer looking at it) but I believe there is a drop down above the formula box that says 'MP Damage'. (Or drain, or something like that).


Next is just simply inputing the damage formula you want into the text box.


For example: a.atk + 100


If the person using the spell (a), the formula checks that users total attack power, equipment and buffs included (atk) and adds 100 to it.


Or you could just put a number into the formula box, and do straight damage amounts, like: 15, 27, 2000, etc.
In the skills tab of the database set type to mp drain, then you can still have a custom formula.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-a-basic-mana-drain-formula.60782/