- Joined
- Oct 10, 2009
- Messages
- 111
Trigger 1
Thanks + rep who helps
-
Lighting Aura1
-
Events
- Map initialization
- Conditions
-
Actions
- Trigger - Turn off Lighting Aura2 <gen>
-
Events
-
Lighting Aura2
-
Events
- Time - Every 6.00 seconds of game time
- Conditions
-
Actions
- Set LA_Caster = (Casting unit)
- Set LA_Targets = (Units owned by Player 12 (Brown))
- Set LA_Target = (Random unit from LA_Targets)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Lighting Aura for LA_Caster) Equal to 1
-
Then - Actions
- Unit - Cause LA_Caster to damage LA_Target, dealing 20.00 damage of attack type Spells and damage type Normal
- Special Effect - Create a special effect attached to the overhead of LA_Target using Doodads\Cinematic\Lightningbolt\Lightningbolt.mdl
- Wait 0.20 seconds
- Special Effect - Destroy (Last created special effect)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Lighting Aura for LA_Caster) Equal to 2
-
Then - Actions
- Unit - Cause LA_Caster to damage LA_Target, dealing 40.00 damage of attack type Spells and damage type Normal
- Special Effect - Create a special effect attached to the overhead of LA_Target using Doodads\Cinematic\Lightningbolt\Lightningbolt.mdl
- Wait 0.20 seconds
- Special Effect - Destroy (Last created special effect)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Lighting Aura for LA_Caster) Equal to 3
-
Then - Actions
- Unit - Cause LA_Caster to damage LA_Target, dealing 60.00 damage of attack type Spells and damage type Normal
- Special Effect - Create a special effect attached to the overhead of LA_Target using Doodads\Cinematic\Lightningbolt\Lightningbolt.mdl
- Wait 0.20 seconds
- Special Effect - Destroy (Last created special effect)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Lighting Aura for LA_Caster) Equal to 4
-
Then - Actions
- Unit - Cause LA_Caster to damage LA_Target, dealing 100.00 damage of attack type Spells and damage type Normal
- Special Effect - Create a special effect attached to the overhead of LA_Target using Doodads\Cinematic\Lightningbolt\Lightningbolt.mdl
- Wait 0.20 seconds
- Special Effect - Destroy (Last created special effect)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Events
-
Lighting Aura3
-
Events
- Unit - A unit Learns a skill
-
Conditions
- (Learned Hero Skill) Equal to Lighting Aura
-
Actions
- Trigger - Turn on Lighting Aura2 <gen>
-
Events
Thanks + rep who helps