unstoppable_status.xml
<statusEffects>
<statusEffect>
<turns>1</turns>
<name>Unstoppable</name>
<key>unstoppable_status</key>
<icon>unstoppable</icon>
<allowMany>false</allowMany>
<skipFirstTurn>true</skipFirstTurn>
<description>
Each miss enrages you.
[n]Current stacks: {{global_flag -> key:unstoppable_misses}}
</description>
<enterActions>
<enterActions>
THEN ModifyGlobalFlag -> global_flag:unstoppable_turns, operation:set, value:0;
</enterActions>
</enterActions>
<exitActions>
<exitActions>
THEN ModifyGlobalFlag -> global_flag:unstoppable_misses, operation:set, value:0;
THEN ModifyGlobalFlag -> global_flag:unstoppable_misses_current, operation:set, value:0;
</exitActions>
</exitActions>
<modifiers>
<modifiers>
<type>CritChance</type>
<amount>0.0</amount>
<modifierConversion>
<type>Flag</type>
<flag>unstoppable_misses</flag>
<multiplier>0.1</multiplier>
</modifierConversion>
</modifiers>
<modifiers>
<type>CritDamage</type>
<amount>0.0</amount>
<modifierConversion>
<type>Flag</type>
<flag>unstoppable_misses</flag>
<multiplier>0.1</multiplier>
</modifierConversion>
</modifiers>
<modifiers>
<type>DamageReceived</type>
<amount>0.0</amount>
<modifierConversion>
<type>Flag</type>
<flag>unstoppable_misses</flag>
<multiplier>0.05</multiplier>
</modifierConversion>
</modifiers>
</modifiers>
</statusEffect>
</statusEffects>