Unit - Set Custom value of (Triggering Unit) to (Custom Value of (Triggering Unit) + 1) Wait 5.00 Seconds Unit - Set Custom value of (Triggering Unit) to (Custom Value of (Triggering Unit) - 1)
when the unit's custom value is 0, the unit is not in battle