Custom damage in a state

As part of this subject : http://forums.rpgmakerweb.com/index.php?/topic/40785-states-in-damage-formula/

I'm wondering if it's possible to have damage based on an actor's magic attack stat, instead of just removing % health as part of HRG.

An alternative would be to have a recurring skill that wouldn't use an actor's action, but I don't believe that's possible?

Thanks!

Original thread: https://forums.rpgmakerweb.com/threads/custom-damage-in-a-state.40786/