Well, a spell just went into my mind. I want every fifth time the unit attacks, the unit sends out a shockwave.
Is it like this?
Thanks for helping!! +rep for helper
Is it like this?
JASS:
5th shockwave
Events
Unit - A unit is attacked
Conditions
Attacking unit has buff (Whatever it is) Equal to True
Actions
Set Attack_Count = (Attack_Count + 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Attack_Count Equal to 5
Then - Actions
I know what should be inserted in here.
Else - Actions
Do nothing
Thanks for helping!! +rep for helper