Unique Ailment

I am attempting to create an enemy-only ailment that causes the afflicted to suffer 25% of all the damage dealt to the caster. Essentially I want it to have the effect that while damaging this foe you will also harm the afflicted teammates. I can't seem to figure out how to go about with this however...

does anyone have any suggestions?
Oh wait, the state is inflicted into the actors, and the effect is if the enemy is damaged, all actors with the state is damaged too?

I think you should get Yanfly's State core + Passive states. Add a passive state to that enemy and make that state use the "Respond" notetag of State Core to search for actors afflicted of the other state and damage them.

Original thread: https://forums.rpgmakerweb.com/threads/unique-ailment.108852/