Trigger:
- auto reload
- Events
- Unit - A unit Is attacked
- Conditions
- ((Owner of (Attacking unit)) Current gold) Equal to 0
- Actions
- Set reloadLevel = (Level of Weapon Proficiency (X) for (Attacking unit))
- Unit - Create 1 reloadDummy for (Owner of (Attacking unit)) at (Position of (Attacking unit)) facing Default building facing degrees
- Unit - Add reloading buff (X) to (Last created unit)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Level of Weapon Proficiency (X) for (Attacking unit)) Greater than 0
- Then - Actions
- Unit - Set level of reloading buff (X) for (Last created unit) to ((Level of Weapon Proficiency (X) for (Attacking unit)) + 1)
- Else - Actions
- Unit - Set level of reloading buff (X) for (Last created unit) to 1
- If - Conditions
- Unit - Order (Last created unit) to Human Priest - Inner Fire (Attacking unit)
- Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
- Player - Set (Owner of (Attacking unit)) Current gold to ((Owner of (Attacking unit)) Food cap)
- Player - Add -1 to (Owner of (Attacking unit)) Current lumber
- Events
It doesn't work!!! the dummy didn't not cast that spell "reloading buff"... why???
reloading buff is created base on inner fire...