I made this very simple spell. I remember that in some version 1.3X the cold damage trough triggers actually added the "Slowed" effect from cold damage.
It's been some time since I created anything, I reinstalled my windows and forgot to save my stuff into cloud. So I could remember wrong.
See the spell below. Latest patch, HD graphics.
It's been some time since I created anything, I reinstalled my windows and forgot to save my stuff into cloud. So I could remember wrong.
See the spell below. Latest patch, HD graphics.
-
Ice Blast
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Ice Blast
-
Actions
- Set VariableSet IceBlast_Caster = (Triggering unit)
- Set VariableSet IceBlast_Owner = (Owner of IceBlast_Caster)
- Set VariableSet IceBlast_Level = (Level of Ice Blast for IceBlast_Caster)
- Set VariableSet IceBlast_Damage = (90.00 x (Real((Level of Ice Blast for IceBlast_Caster))))
- Set VariableSet IceBlast_Loc = (Target point of ability being cast)
- Special Effect - Create a special effect at IceBlast_Loc using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
- Set VariableSet IceBlast_SFX = (Last created special effect)
- Special Effect - Set Scale of IceBlast_SFX to 3.50
- Special Effect - Destroy IceBlast_SFX
- Custom script: set bj_wantDestroyGroup = true
-
Unit Group - Pick every unit in (Units within 250.00 of IceBlast_Loc matching (((Matching unit) belongs to an enemy of IceBlast_Owner.) Equal to True).) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Picked unit) is Mechanical) Equal to False
- ((Picked unit) is invulnerable) Equal to False
- ((Picked unit) is A structure) Equal to False
- ((Picked unit) is Magic Immune) Equal to False
- ((Picked unit) is alive) Equal to True
-
Then - Actions
- Set VariableSet IceBlast_Target = (Picked unit)
- Unit - Cause IceBlast_Caster to damage IceBlast_Target, dealing IceBlast_Damage damage of attack type Spells and damage type Cold
-
Else - Actions
- -------- Filter only --------
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
- Custom script: call RemoveLocation(udg_IceBlast_Loc)
-
Events