Oddly Specific Request - Enemy who can't attack while seen

I'm interested in making an enemy that can only attack if all the party members are in the Blind state. Similar to a Weeping Angel or SCP-173. So hypothetically this enemy would initially seem weak and ineffective, but if paired with another enemy who can induce Blindness on party members, would be very deadly.


Any idea how I might script this? I don't think I can achieve this with default event capabilities.
you can do this by default - with a bit of "out of the box" thinking.


Give the enemy an attack pattern with a wait skill as default attack, and the real attack skills of a much higher attack rating but conditioned to a switch "party blind".


Then make a troop event that runs every turn and checks every actor battler for the blind-state. If all have the blind state, turn the switch ON (allowing that attack next turn) and if one is not blind, turn it off.


There might be cases where the blindness is removed after the troop event but before the next turn attack - that depends on the conditions for removing blindness. If you have for example blindness removed by damage and another enemy attacks first, the blindness would be gone but the special enemy would still attack.


You need to be carefull when designing everything to avoid that.
you can do this by default - with a bit of "out of the box" thinking.


Give the enemy an attack pattern with a wait skill as default attack, and the real attack skills of a much higher attack rating but conditioned to a switch "party blind".


Then make a troop event that runs every turn and checks every actor battler for the blind-state. If all have the blind state, turn the switch ON (allowing that attack next turn) and if one is not blind, turn it off.


There might be cases where the blindness is removed after the troop event but before the next turn attack - that depends on the conditions for removing blindness. If you have for example blindness removed by damage and another enemy attacks first, the blindness would be gone but the special enemy would still attack.


You need to be carefull when designing everything to avoid that.

Hmm, is there a way to do it without selecting specific actors in cases where the player can choose different party members?

Original thread: https://forums.rpgmakerweb.com/threads/oddly-specific-request-enemy-who-cant-attack-while-seen.74194/