joohen
New Member
- Reaction score
- 20
I made a ability, its passive. % when people attacks you, the guy will blow up, affecting his nearby units. Heres my trigger.
It hurts me so i made my unit invulnerable, but my units are also affected.... So, how? Or is there any other alternate ways?
Trigger:
- BackUp
- Events
- Unit - A unit Is attacked
- Conditions
- ((Triggering unit) has buff Air Support ) 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 (25 - ((Level of Air Support for (Triggering unit)) x 5))) Equal to 1
- Then - Actions
- Special Effect - Create a special effect at (Position of (Attacking unit)) using war3mapImported\Artillery.mdx
- Wait 0.50 seconds
- Special Effect - Create a special effect at (Position of (Attacking unit)) using war3mapImported\NewMassiveEX.mdx
- Wait 0.20 seconds
- Unit - Make (Triggering unit) Invulnerable
- Wait 0.01 seconds
- Unit - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 350.00 at (Position of (Attacking unit)), dealing (((Real((Level of Air Support for (Triggering unit)))) x 250.00) + 400.00) damage of attack type Chaos and damage type Demolition
- Unit - Make (Triggering unit) Vulnerable
- Else - Actions
- Do nothing
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events