I did try to test this aura with the Firebolt spell, as that one gives it a chance to cause lightning strikes. This isn't working anymore. Is there a way to make the aura trigger, by attacking enemies?
I changed Sparky Aura to Blaster Aura and changed the 3 buffs to Blaster Aura. The '-level 1', '-level 2' and '-level 3' are only in the editor. I also changed 2 lightning models in the trigger for variety.
I changed Sparky Aura to Blaster Aura and changed the 3 buffs to Blaster Aura. The '-level 1', '-level 2' and '-level 3' are only in the editor. I also changed 2 lightning models in the trigger for variety.
-
Sparky aura
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- ((Target unit of ability being cast) belongs to an enemy of (Owner of (Casting unit))) Equal to True
- ((Target unit of ability being cast) is A structure) Equal to False
-
Actions
- -------- --------
- -------- Here do we set sparkyunit as the unit that is being targeted, so the spell damages right unit --------
- -------- --------
- Set SparkyUnit = (Target unit of ability being cast)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Target unit of ability being cast) has buff Blaster Aura -level 1) Equal to True
-
Then - 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 20
-
Then - Actions
- -------- --------
- -------- The condition over here, is the one that creates the chance (lower or equal to 20 is 20 % since 20 of 100) --------
- -------- --------
- -------- Down here, we check if the variableis below 20 (which will be 20 % chance that this action trigger), in that case we create a special effect on the targeted unit and damages it --------
- -------- --------
- -------- Nevermind the floating text actions, its nothing neccessary if you dont edit the spell, otherwise read the trigger comment --------
- -------- --------
- Floating Text - Create floating text that reads 100 above SparkyUnit with Z offset 0.00, using font size 10.00, color (0.00%, 0.00%, 75.00%), and 0.00% transparency
- Floating Text - Change (Last created floating text): Disable permanence
- Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
- Floating Text - Change the fading age of (Last created floating text) to 3.00 seconds
- Floating Text - Change the lifespan of (Last created floating text) to 5.00 seconds
- -------- --------
- -------- Edit the damage to "your damage" here --------
- -------- --------
- Unit - Cause (Casting unit) to damage SparkyUnit, dealing 100.00 damage of attack type Spells and damage type Lightning
- Special Effect - Create a special effect attached to the overhead of SparkyUnit using Abilities\Spells\Other\Monsoon\MonsoonBoltTarget.mdl
- Special Effect - Destroy (Last created special effect)
- -------- --------
- -------- And here we set SparkyUnit as no unit, so we can use this spell on a new target next time --------
- -------- --------
- Set SparkyUnit = No unit
- Else - Actions
-
If - Conditions
- Set SparkyUnit = (Target unit of ability being cast)
-
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 10
-
Then - Actions
- -------- --------
- -------- This is just the same as the first one, but this checks if the random integer is lower than 10, (which will be 10 % chance instead) and then deal 150 instead of 100 damage --------
- -------- --------
- -------- Nevermind the floating text actions, its nothing neccessary if you dont edit the spell, otherwise read the trigger comment --------
- -------- --------
- Floating Text - Create floating text that reads 150 above SparkyUnit with Z offset 0.00, using font size 10.00, color (0.00%, 0.00%, 75.00%), and 0.00% transparency
- Floating Text - Change (Last created floating text): Disable permanence
- Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
- Floating Text - Change the fading age of (Last created floating text) to 3.00 seconds
- Floating Text - Change the lifespan of (Last created floating text) to 5.00 seconds
- Unit - Cause (Casting unit) to damage SparkyUnit, dealing 150.00 damage of attack type Spells and damage type Lightning
- Special Effect - Create a special effect attached to the overhead of SparkyUnit using war3mapImported\Lightnings Long.mdx
- Special Effect - Destroy (Last created special effect)
- Set SparkyUnit = No unit
- Else - Actions
-
If - Conditions
- Set SparkyUnit = (Target unit of ability being cast)
-
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 5
-
Then - Actions
- -------- --------
- -------- This is just the same as the first one, but this checks if the random integer is lower than 5, (which will be 5 % chance instead) and then deal 200 instead of 100 damage --------
- -------- --------
- -------- Nevermind the floating text actions, its nothing neccessary if you dont edit the spell, otherwise read the trigger comment --------
- -------- --------
- Floating Text - Create floating text that reads 200 above SparkyUnit with Z offset 0.00, using font size 10.00, color (0.00%, 0.00%, 75.00%), and 0.00% transparency
- Floating Text - Change (Last created floating text): Disable permanence
- Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
- Floating Text - Change the fading age of (Last created floating text) to 3.00 seconds
- Floating Text - Change the lifespan of (Last created floating text) to 5.00 seconds
- Unit - Cause (Casting unit) to damage SparkyUnit, dealing 200.00 damage of attack type Spells and damage type Lightning
- Special Effect - Create a special effect attached to the overhead of SparkyUnit using war3mapImported\DarkLightning.mdx
- Special Effect - Destroy (Last created special effect)
- Set SparkyUnit = No unit
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Target unit of ability being cast) has buff Blaster Aura -level 2) Equal to True
-
Then - 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
- -------- --------
- -------- Down here we check if the random integer gets below 25 (which will be 25 % chance that this trigger, as said before) and then create a special effect and damage the target. --------
- -------- --------
- -------- Nevermind the floating text actions, its nothing neccessary if you dont edit the spell, otherwise read the trigger comment --------
- -------- --------
- Floating Text - Create floating text that reads 100 above SparkyUnit with Z offset 0.00, using font size 10.00, color (0.00%, 0.00%, 75.00%), and 0.00% transparency
- Floating Text - Change (Last created floating text): Disable permanence
- Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
- Floating Text - Change the fading age of (Last created floating text) to 3.00 seconds
- Floating Text - Change the lifespan of (Last created floating text) to 5.00 seconds
- -------- --------
- -------- Edit the damage to "your damage" here --------
- -------- --------
- Unit - Cause (Casting unit) to damage SparkyUnit, dealing 100.00 damage of attack type Spells and damage type Lightning
- Special Effect - Create a special effect attached to the overhead of SparkyUnit using Abilities\Spells\Other\Monsoon\MonsoonBoltTarget.mdl
- Special Effect - Destroy (Last created special effect)
- -------- --------
- -------- And here we set SparkyUnit as no unit, so we can use this spell on a new target next time --------
- -------- --------
- Set SparkyUnit = No unit
- Else - Actions
-
If - Conditions
- Set SparkyUnit = (Target unit of ability being cast)
-
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 15
-
Then - Actions
- -------- --------
- -------- This is just the same as the first one, but this checks if the random integer number is lower than 15, (which will be 15 % chance instead) and then deal 150 instead of 100 damage --------
- -------- --------
- -------- Nevermind the floating text actions, its nothing neccessary if you dont edit the spell, otherwise read the trigger comment --------
- -------- --------
- Floating Text - Create floating text that reads 150 above SparkyUnit with Z offset 0.00, using font size 10.00, color (0.00%, 0.00%, 75.00%), and 0.00% transparency
- Floating Text - Change (Last created floating text): Disable permanence
- Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
- Floating Text - Change the fading age of (Last created floating text) to 3.00 seconds
- Floating Text - Change the lifespan of (Last created floating text) to 5.00 seconds
- Unit - Cause (Casting unit) to damage SparkyUnit, dealing 150.00 damage of attack type Spells and damage type Lightning
- Special Effect - Create a special effect attached to the overhead of SparkyUnit using war3mapImported\Lightnings Long.mdx
- Special Effect - Destroy (Last created special effect)
- Set SparkyUnit = No unit
- Else - Actions
-
If - Conditions
- Set SparkyUnit = (Target unit of ability being cast)
-
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 10
-
Then - Actions
- -------- --------
- -------- This is just the same as the first one, but this checks if the random integer number is lower than 10, (which will be 10 % chance instead) and then deal 200 instead of 100 damage --------
- -------- --------
- -------- Nevermind the floating text actions, its nothing neccessary if you dont edit the spell, otherwise read the trigger comment --------
- -------- --------
- Floating Text - Create floating text that reads 200 above SparkyUnit with Z offset 0.00, using font size 10.00, color (0.00%, 0.00%, 75.00%), and 0.00% transparency
- Floating Text - Change (Last created floating text): Disable permanence
- Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
- Floating Text - Change the fading age of (Last created floating text) to 3.00 seconds
- Floating Text - Change the lifespan of (Last created floating text) to 5.00 seconds
- Unit - Cause (Casting unit) to damage SparkyUnit, dealing 200.00 damage of attack type Spells and damage type Lightning
- Special Effect - Create a special effect attached to the overhead of SparkyUnit using war3mapImported\DarkLightning.mdx
- Special Effect - Destroy (Last created special effect)
- Set SparkyUnit = No unit
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Target unit of ability being cast) has buff Blaster Aura -level 3) Equal to True
-
Then - 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 30
-
Then - Actions
- -------- --------
- -------- Down here, we check if the random integer number is below 30 (which will be 30 % chance that this action trigger), in that case we create a special effect on the targeted unit and damages it --------
- -------- --------
- -------- Nevermind the floating text actions, its nothing neccessary if you dont edit the spell, otherwise read the trigger comment --------
- -------- --------
- Floating Text - Create floating text that reads 100 above SparkyUnit with Z offset 0.00, using font size 10.00, color (0.00%, 0.00%, 75.00%), and 0.00% transparency
- Floating Text - Change (Last created floating text): Disable permanence
- Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
- Floating Text - Change the fading age of (Last created floating text) to 3.00 seconds
- Floating Text - Change the lifespan of (Last created floating text) to 5.00 seconds
- -------- --------
- -------- Edit the damage to "your damage" here --------
- -------- --------
- Unit - Cause (Casting unit) to damage SparkyUnit, dealing 100.00 damage of attack type Spells and damage type Lightning
- Special Effect - Create a special effect attached to the overhead of SparkyUnit using Abilities\Spells\Other\Monsoon\MonsoonBoltTarget.mdl
- Special Effect - Destroy (Last created special effect)
- -------- --------
- -------- And here we set SparkyUnit as no unit, so we can use this spell on a new target next time --------
- -------- --------
- Set SparkyUnit = No unit
- Else - Actions
-
If - Conditions
- Set SparkyUnit = (Target unit of ability being cast)
-
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 20
-
Then - Actions
- -------- --------
- -------- This is just the same as the first one, but this checks if the random integer number is lower than 20, (which will be 20 % chance instead) and then deal 150 instead of 100 damage --------
- -------- --------
- -------- Nevermind the floating text actions, its nothing neccessary if you dont edit the spell, otherwise read the trigger comment --------
- -------- --------
- Floating Text - Create floating text that reads 150 above SparkyUnit with Z offset 0.00, using font size 10.00, color (0.00%, 0.00%, 75.00%), and 0.00% transparency
- Floating Text - Change (Last created floating text): Disable permanence
- Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
- Floating Text - Change the fading age of (Last created floating text) to 3.00 seconds
- Floating Text - Change the lifespan of (Last created floating text) to 5.00 seconds
- Unit - Cause (Casting unit) to damage SparkyUnit, dealing 150.00 damage of attack type Spells and damage type Lightning
- Special Effect - Create a special effect attached to the overhead of SparkyUnit using war3mapImported\Lightnings Long.mdx
- Special Effect - Destroy (Last created special effect)
- Set SparkyUnit = No unit
- Else - Actions
-
If - Conditions
- Set SparkyUnit = (Target unit of ability being cast)
-
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 15
-
Then - Actions
- -------- --------
- -------- This is just the same as the first one, but this checks if the random integer number is lower than 15, (which will be 15 % chance instead) and then deal 200 instead of 100 damage --------
- -------- --------
- -------- Nevermind the floating text actions, its nothing neccessary if you dont edit the spell, otherwise read the trigger comment --------
- -------- --------
- Floating Text - Create floating text that reads 200 above SparkyUnit with Z offset 0.00, using font size 10.00, color (0.00%, 0.00%, 75.00%), and 0.00% transparency
- Floating Text - Change (Last created floating text): Disable permanence
- Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
- Floating Text - Change the fading age of (Last created floating text) to 3.00 seconds
- Floating Text - Change the lifespan of (Last created floating text) to 5.00 seconds
- Unit - Cause (Casting unit) to damage SparkyUnit, dealing 200.00 damage of attack type Spells and damage type Lightning
- Special Effect - Create a special effect attached to the overhead of SparkyUnit using war3mapImported\DarkLightning.mdx
- Special Effect - Destroy (Last created special effect)
- Set SparkyUnit = No unit
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Else - Actions
-
If - Conditions
-
Events