Need a help to create event for a boss fight

I try to create a skill for a boss by using event during battle. Here is how the skill works;

Boss will randomly cast "Blood Sacrifice" to himself at the end of each turn putting him in a state that he will not act until he is hit by any kind of damage. Suppose that in a turn the state inflicted and player's party hit him for 100 damage causing the state removed. At the beginning of next turn, he will be forced to cast "Blood Explosion" that deals damage to entire player's party for 100 damage + x.

I can create an event to make him randomly cast "Blood sacrifice" but how can I check whether the state is removed during the battle (in order to force him to cast "Blood Explosion")?

Thanks for your help in advance.
Use a Conditional Branch which checks to see if the Enemy has your "Blood Sacrifice" state.  If he does, set a Switch.

In the "Else" branch of the "Blood Sacrifice" check, see if the Switch is ON using a second Conditional Branch.  If the switch is ON, this means "Enemy does NOT have Blood Sacrifice but ONCE did."  Then trigger the "Blood Explosion" skill.
Use a Conditional Branch which checks to see if the Enemy has your "Blood Sacrifice" state. If he does, set a Switch.

In the "Else" branch of the "Blood Sacrifice" check, see if the Switch is ON using a second Conditional Branch. If the switch is ON, this means "Enemy does NOT have Blood Sacrifice but ONCE did." Then trigger the "Blood Explosion" skill.
Your explaination really makes me look more silly lol. The event is very plain and simple to be done!!I'll give it a try and will let you know the result when I get back home.

EDIT: I can eventually make the event works flawlessly. It is slightly different orders of event commands from your suggestion but it can be done by just conditional branches and a control switch!

Original thread: https://forums.rpgmakerweb.com/threads/need-a-help-to-create-event-for-a-boss-fight.36621/