I'm trying to make a spell similar to the shield Lord of avernus uses in dota.
For those who dont no, the sheild takes some damage, then explodes dealing damage.
But mine is a lightning shield, that does the normal stuff that lightning shield does with the immolation effect thing.
But after 20 seconds, i want the shield to explode, dealing damage to nearby units.
Heres the trigger i had, but it didnt work...
For those who dont no, the sheild takes some damage, then explodes dealing damage.
But mine is a lightning shield, that does the normal stuff that lightning shield does with the immolation effect thing.
But after 20 seconds, i want the shield to explode, dealing damage to nearby units.
Heres the trigger i had, but it didnt work...
Code:
Lightning Shield
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Lightning Shield
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Target unit of ability being cast) is alive) Equal to True
Then - Actions
Special Effect - Create a special effect attached to the overhead of (Target unit of ability being cast) using Abilities\Spells\Undead\ReplenishMana\ReplenishManaCasterOverhead.mdl
Unit - Create 1 Dummy unit for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
Unit - Add Slam (Neutral Hostile) to (Last created unit)
Unit - Order (Last created unit) to Neutral - Slam
Else - Actions
Do nothing