-
Spell Init
-
Events
- Unit - A unit Begins casting an ability
-
Conditions
- (Ability being cast) Equal to Deep Chill
-
Actions
- Set SPELL_ANGLE = (Facing of UNIT_CASTER)
- Set SPELL_SPEED = 5.00
- Set UNIT_CASTER = (Triggering unit)
- Set SPELL_DURATION = 10.00
- Set SPELL_CASTER_POS = (Position of (Triggering unit))
- Set SPELL_TARGET = (Target point of ability being cast)
- Unit - Create 1 Dummy for (Owner of (Triggering unit)) at (Center of (Playable map area)) facing (Angle from SPELL_CASTER_POS to SPELL_TARGET) degrees
- Set SPELL_MISSILE = (Last created unit)
- Unit - Turn collision for SPELL_MISSILE Off
- Unit - Move SPELL_MISSILE instantly to SPELL_CASTER_POS
- Trigger - Turn on Spell Move <gen>
-
Events
-
Spell Move
-
Events
- Time - Every 0.03 seconds of game time
- Conditions
-
Actions
- Set SPELL_DURATION = (SPELL_DURATION - 0.03)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- SPELL_DURATION Greater than 0.00
-
Then - Actions
- Set SPELL_CASTER_POS = (Position of SPELL_MISSILE)
- Set SPELL_TARGET = (SPELL_CASTER_POS offset by SPELL_SPEED towards SPELL_ANGLE degrees)
- Unit - Move SPELL_MISSILE instantly to SPELL_TARGET, facing SPELL_ANGLE degrees
-
Else - Actions
- Unit - Kill SPELL_MISSILE
-
If - Conditions
-
Unit Group - Pick every unit in (Units within 200.00 of SPELL_TARGET matching ((Owner of (Picked unit)) Equal to Neutral Hostile)) and do (Actions)
-
Loop - Actions
- Unit - Cause UNIT_CASTER to damage (Picked unit), dealing 100.00 damage of attack type Spells and damage type Normal
- Set SPELL_DURATION = 0.00
-
Loop - Actions
-
Events