Troop Surprise Condition

This script allows you to specify custom troop surprise conditions. The condition must evaluate to true or false, but you are not limited to using probability-based conditions.


The condition is specified as a ruby formula, which allows you to create any kind of condition you want once you figure out how to write it.





Get it at Hime Works!
I don;t know Ruby but, i suppose this script can make a suprise condition for a touch encounter based game?
I have not implemented that because I'm not sure what would be the best way to do it.


By default pre-emptive and surprise are not processed if you start a battle any way other than random encounters.
Yeah, it must be a complete different (and custom) approach that activates the default properties of pre-emptive and surprise attacks.

Original thread: https://forums.rpgmakerweb.com/threads/troop-surprise-condition.18918/