PiCkstix
New Member
- Reaction score
- 18
Earth Smash:
Sucks in enemy and friendly units around the Tauren within a range of 250. If the unit is friendly, it acts as a protection spell and makes the unit invulnerable, but it if it is an enemy it will deal damage to all enemies in an AOE of 250.
Level 1: Deals 125 damage.
Level 2: Deals 250 damage.
Level 3: Deals 375 damage.
This is, as I said, a very simple spell which you can use at your own will...
If you use it in your map... Credits will be good
Awe,
PiCk
End of Casting Earth Smash:
Sucks in enemy and friendly units around the Tauren within a range of 250. If the unit is friendly, it acts as a protection spell and makes the unit invulnerable, but it if it is an enemy it will deal damage to all enemies in an AOE of 250.
Level 1: Deals 125 damage.
Level 2: Deals 250 damage.
Level 3: Deals 375 damage.
This is, as I said, a very simple spell which you can use at your own will...
If you use it in your map... Credits will be good
Awe,
PiCk
End of Casting Earth Smash:
Code:
Smash
Events
Unit - A unit Finishes casting an ability
Conditions
(Ability being cast) Equal to Earth Smash
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Earth Smash for (Triggering unit)) Equal to 1
Then - Actions
Set Smasher = (Triggering unit)
Set SmashPoint = (Position of (Triggering unit))
Unit - Make (Triggering unit) Invulnerable
Unit Group - Pick every unit in (Units within 250.00 of (Position of (Triggering unit))) and do (Actions)
Loop - Actions
If ((Owner of (Picked unit)) Equal to (Owner of (Triggering unit))) then do (Unit - Make (Picked unit) Invulnerable) else do (Do nothing)
Unit - Pause (Picked unit)
Unit - Move (Picked unit) instantly to SmashPoint
Unit - Move (Triggering unit) instantly to (SmashPoint offset by 200.00 towards 0.00 degrees)
Wait 0.25 seconds
Unit - Move (Triggering unit) instantly to SmashPoint
Wait 0.25 seconds
Unit - Move (Triggering unit) instantly to (SmashPoint offset by 200.00 towards 90.00 degrees)
Wait 0.25 seconds
Unit - Move (Triggering unit) instantly to SmashPoint
Wait 0.25 seconds
Unit - Move (Triggering unit) instantly to (SmashPoint offset by 200.00 towards 180.00 degrees)
Wait 0.25 seconds
Unit - Move (Triggering unit) instantly to SmashPoint
Wait 0.25 seconds
Unit - Move (Triggering unit) instantly to (SmashPoint offset by 200.00 towards 270.00 degrees)
Wait 0.25 seconds
Unit - Move (Triggering unit) instantly to SmashPoint
Special Effect - Create a special effect at (Position of (Triggering unit)) using Abilities\Spells\Human\Thunderclap\ThunderClapCaster.mdl
Special Effect - Create a special effect at (Position of (Triggering unit)) using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
Special Effect - Create a special effect at ((Position of (Triggering unit)) offset by 0.00 towards 0.00 degrees) using Abilities\Spells\Other\Levelup\LevelupCaster.mdl
Special Effect - Create a special effect at ((Position of (Triggering unit)) offset by 200.00 towards 0.00 degrees) using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
Special Effect - Create a special effect at ((Position of (Triggering unit)) offset by 200.00 towards 90.00 degrees) using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
Special Effect - Create a special effect at ((Position of (Triggering unit)) offset by 200.00 towards 180.00 degrees) using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
Special Effect - Create a special effect at ((Position of (Triggering unit)) offset by 200.00 towards 270.00 degrees) using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
Unit - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 250.00 at SmashPoint, dealing 125.00 damage of attack type Spells and damage type Normal
Wait 0.25 seconds
Unit - Unpause all units
Unit Group - Pick every unit in (Units in (Playable map area) owned by (Owner of (Triggering unit))) and do (Actions)
Loop - Actions
Unit - Make (Picked unit) Vulnerable
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Earth Smash for (Triggering unit)) Equal to 2
Then - Actions
Set Smasher = (Triggering unit)
Set SmashPoint = (Position of (Triggering unit))
Unit - Make (Triggering unit) Invulnerable
Unit Group - Pick every unit in (Units within 250.00 of (Position of (Triggering unit))) and do (Actions)
Loop - Actions
If ((Owner of (Picked unit)) Equal to (Owner of (Triggering unit))) then do (Unit - Make (Picked unit) Invulnerable) else do (Do nothing)
Unit - Pause (Picked unit)
Unit - Move (Picked unit) instantly to SmashPoint
Unit - Move (Triggering unit) instantly to (SmashPoint offset by 200.00 towards 0.00 degrees)
Wait 0.25 seconds
Unit - Move (Triggering unit) instantly to SmashPoint
Wait 0.25 seconds
Unit - Move (Triggering unit) instantly to (SmashPoint offset by 200.00 towards 90.00 degrees)
Wait 0.25 seconds
Unit - Move (Triggering unit) instantly to SmashPoint
Wait 0.25 seconds
Unit - Move (Triggering unit) instantly to (SmashPoint offset by 200.00 towards 180.00 degrees)
Wait 0.25 seconds
Unit - Move (Triggering unit) instantly to SmashPoint
Wait 0.25 seconds
Unit - Move (Triggering unit) instantly to (SmashPoint offset by 200.00 towards 270.00 degrees)
Wait 0.25 seconds
Unit - Move (Triggering unit) instantly to SmashPoint
Special Effect - Create a special effect at (Position of (Triggering unit)) using Abilities\Spells\Human\Thunderclap\ThunderClapCaster.mdl
Special Effect - Create a special effect at (Position of (Triggering unit)) using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
Special Effect - Create a special effect at ((Position of (Triggering unit)) offset by 0.00 towards 0.00 degrees) using Abilities\Spells\Other\Levelup\LevelupCaster.mdl
Special Effect - Create a special effect at ((Position of (Triggering unit)) offset by 200.00 towards 0.00 degrees) using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
Special Effect - Create a special effect at ((Position of (Triggering unit)) offset by 200.00 towards 90.00 degrees) using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
Special Effect - Create a special effect at ((Position of (Triggering unit)) offset by 200.00 towards 180.00 degrees) using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
Special Effect - Create a special effect at ((Position of (Triggering unit)) offset by 200.00 towards 270.00 degrees) using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
Unit - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 250.00 at SmashPoint, dealing 250.00 damage of attack type Spells and damage type Normal
Wait 0.25 seconds
Unit - Unpause all units
Unit Group - Pick every unit in (Units in (Playable map area) owned by (Owner of (Triggering unit))) and do (Actions)
Loop - Actions
Unit - Make (Picked unit) Vulnerable
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Earth Smash for (Triggering unit)) Equal to 3
Then - Actions
Set Smasher = (Triggering unit)
Set SmashPoint = (Position of (Triggering unit))
Unit - Make (Triggering unit) Invulnerable
Unit Group - Pick every unit in (Units within 250.00 of (Position of (Triggering unit))) and do (Actions)
Loop - Actions
If ((Owner of (Picked unit)) Equal to (Owner of (Triggering unit))) then do (Unit - Make (Picked unit) Invulnerable) else do (Do nothing)
Unit - Pause (Picked unit)
Unit - Move (Picked unit) instantly to SmashPoint
Unit - Move (Triggering unit) instantly to (SmashPoint offset by 200.00 towards 0.00 degrees)
Wait 0.25 seconds
Unit - Move (Triggering unit) instantly to SmashPoint
Wait 0.25 seconds
Unit - Move (Triggering unit) instantly to (SmashPoint offset by 200.00 towards 90.00 degrees)
Wait 0.25 seconds
Unit - Move (Triggering unit) instantly to SmashPoint
Wait 0.25 seconds
Unit - Move (Triggering unit) instantly to (SmashPoint offset by 200.00 towards 180.00 degrees)
Wait 0.25 seconds
Unit - Move (Triggering unit) instantly to SmashPoint
Wait 0.25 seconds
Unit - Move (Triggering unit) instantly to (SmashPoint offset by 200.00 towards 270.00 degrees)
Wait 0.25 seconds
Unit - Move (Triggering unit) instantly to SmashPoint
Special Effect - Create a special effect at (Position of (Triggering unit)) using Abilities\Spells\Human\Thunderclap\ThunderClapCaster.mdl
Special Effect - Create a special effect at (Position of (Triggering unit)) using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
Special Effect - Create a special effect at ((Position of (Triggering unit)) offset by 0.00 towards 0.00 degrees) using Abilities\Spells\Other\Levelup\LevelupCaster.mdl
Special Effect - Create a special effect at ((Position of (Triggering unit)) offset by 200.00 towards 0.00 degrees) using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
Special Effect - Create a special effect at ((Position of (Triggering unit)) offset by 200.00 towards 90.00 degrees) using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
Special Effect - Create a special effect at ((Position of (Triggering unit)) offset by 200.00 towards 180.00 degrees) using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
Special Effect - Create a special effect at ((Position of (Triggering unit)) offset by 200.00 towards 270.00 degrees) using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
Unit - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 250.00 at SmashPoint, dealing 375.00 damage of attack type Spells and damage type Normal
Wait 0.25 seconds
Unit - Unpause all units
Unit Group - Pick every unit in (Units in (Playable map area) owned by (Owner of (Triggering unit))) and do (Actions)
Loop - Actions
Unit - Make (Picked unit) Vulnerable
Else - Actions