set variables at first.
you set Point (position of pr_unit) but you didn't use it.
and you forgot to remove Point
- (Attacked Unit)
- (Attacking Unit)
- (Random integer number between 1 and 100) Less than or equal to (10 x (Level of Panic Reload for (Attacking unit)))
you set Point (position of pr_unit) but you didn't use it.
and you forgot to remove Point
- Panic Reload
-
Events
- Unit - A unit Is attacked
-
Conditions
- (Random integer number between 1 and 100) Less than or equal to (10 x (Level of Panic Reload for (Attacking unit)))
-
Actions
- Set PR_Unit = (Attacking unit)
- Set Point = (Position of PR_Unit)
- Unit - Create 1 Dummy Caster for (Owner of PR_Unit) at Point facing Point
- Set Unit = (Last created unit)
- Unit - Add Panic Reloading (Reloaded) to Unit
- Unit - Set level of Panic Reloading (Reloaded) for Unit to (Level of Panic Reload for PR_Unit)
- Unit - Order Unit to Orc Shaman - Bloodlust PR_Unit
- Unit - Add a 1.50 second Generic expiration timer to Unit
- Custom script - call RemoveLocation(udg_Point)