Difficulties with setting up these mage skills.

What formulae/effects/states (if any) do I need for these skills?

I'm unsure how to figure them out, and they're the last two skills I need for my game.

Arcane Shield: consumes 100% of the user’s total mana (MP), but provides the party with a variety of buffs including increased stats and HP regen of 1% for every 5% of MP consumed using the spell; buff effects last for 4 turns (1 turn per 25% MP).

Mana Burn: consumes 50% of current MP and deals magic attack damage based on the amount (#) of MP burned.

Any assistance would be greatly appreciated, thank you!
Are you looking to do this just with the standard engine or are you using plugins?
This is truly hard to be done with default engine, but can be done easier with plugins.
I use various plugins. So, whatever plugins are needed.
Yanfly's Buffs & States Core (to modify state effects) + Damage Core (to modify damage formula).

Original thread: https://forums.rpgmakerweb.com/threads/difficulties-with-setting-up-these-mage-skills.107729/