Dual state switch with damage taken and given

I want an actor that can obtain a state, "Ebb and Flow", which is an overarching state that contains two states within it and neither states are active while the other state is. The first state "Ebb" is a vampiric like state that when said actor strikes an opponent some of the damage is converted as health for the actor (or team). The second state "Flow" is a counter like state that when the actor receives damage some damage is dealt back at the attacker. I am using Hamedo script to allow for three different types of counter strikes: "Parry", no damage taken and damage given, "Pre-emptive strike", damage inflicted before damage taken BUT damage is still taken unless source is dead, and "Counter attack", full damage received then damage inflicted.

To summarize, I want a state that mimics the Ebb and Flow of the ocean. When damage is taken, damage is given back. When Damage is given, health returned to source.

Thank you in advance! 😀

Feel free to contact for more information or inquires at [email hidden]
Have you tried the game built in absorb and reflect functions?
The abilities work perfectly. All I need is the concept of dual states being able to be activated whilst under one "master" state and switch places and the activation of triggers. In other words, lets say Flow was proc'd and caused the actor to strike back, I don't want "Ebb" to proc off that and in turn heal the actor. I want them to have a stance like feel without manual switching.
if you are trying to do a state with condition branches:

http://forums.rpgmakerweb.com/index.php?/topic/22215-conditional-states/

or if you are trying to do a state with overwrite

https://yanflychannel.wordpress.com/rmvxa/gameplay-scripts/field-state-effects/
Right on the money MeowFace! I do believe a state with condition branches is exactly what I need. Thank you!

Edit: If it doesn't cut it, I'll reply back under this topic.
you're welcome! 😉

Original thread: https://forums.rpgmakerweb.com/threads/dual-state-switch-with-damage-taken-and-given.45580/