MV Self-State that drains MP by specific amount

Howdy there! I was wondering if there's any way, naturally or through plugins, to get a state that drains the user's MP by a specific amount? I know there's a way to set up MP Regeneration to a negative value, but that only does it in percentages.

For example, I wanted a state that costs 50 MP to use, and, for every turn the user is in that state, it drains 25 MP, flat.
With yanfly's Buff and States core you could use a turn end notetag like this:

Code:
<Custom Turn End Effect>
user.gainMp(-25);
</Custom Tuen End Effect>

I would assume the cost of 50 would be in the skill the player would use to get the state?
With yanfly's Buff and States core you could use a turn end notetag like this:

Code:
<Custom Turn End Effect>
user.gainMp(-25);
</Custom Tuen End Effect>

I would assume the cost of 50 would be in the skill the player would use to get the state?

That would be correct, yes! I'll give this a shot as soon as I can, thank you!

Original thread: https://forums.rpgmakerweb.com/threads/self-state-that-drains-mp-by-specific-amount.177693/