- Joined
- Jul 25, 2009
- Messages
- 3,091
Anyone know why this crashes my game?
-
Giantslayer Thing
-
Events
- Unit - A unit Is attacked
-
Conditions
- (Level of Giantslayer for (Attacking unit)) Greater than 0
- ((Triggering unit) is An Ancient) Equal to True
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Triggering unit) is in GSGroup) Equal to True
- Then - Actions
-
Else - Actions
- Unit Group - Add (Triggering unit) to GSGroup
- Trigger - Add to Giantslayer <gen> the event (Unit - (Triggering unit) Takes damage)
- Trigger - Turn on Giantslayer <gen>
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
-
Giantslayer
- Events
- Conditions
-
Actions
- Unit - Cause (Damage source) to damage (Triggering unit), dealing ((Life of (Triggering unit)) x 0.05) damage of attack type Pierce and damage type Normal
- Trigger - Turn off (This trigger)