I've been trying this for hours and I still dont get it.
Why it is not working? I know it is easy.
Trigger:
- Lightning Sword Elemental
- Events
- Unit - A unit Is attacked
- Conditions
- ((Attacking unit) has an item of type Elemental Sword [Lightning]) Equal to True
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Random integer number between 1 and 100) Less than or equal to 25
- Then - Actions
- Unit - Create 1 Lightning Sword Bearer (Dummy Caster) for (Owner of (Attacking unit)) at (Position of (Attacking unit)) facing Default building facing degrees
- Unit - Order (Attacking unit) to Neutral - Firebolt (Attacked unit)
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
Why it is not working? I know it is easy.