Looking for Active Skill Cost and HP and MP Even Distribution Scripts

I'm looking for a script that consumes mp from the caster to keep a state on an enemy.  I'm also looking for a script that allows you to take the total hp or mp of the caster and the enemy, or the caster's party, and divide it evenly across all of the targets, like pain split from Pokémon. I don't know if there are any out there, but I haven't been able to find any of these so far. I did find one that had a cost to keep a state active, but when I tried testing it I'm pretty sure it only consumes mp from the one who has the state.

Original thread: https://forums.rpgmakerweb.com/threads/looking-for-active-skill-cost-and-hp-and-mp-even-distribution-scripts.41417/