hi guys, its me again. This time I wanna know the proper form of a channeling spell. I know I should've searched for it there are a lot of examples in spells sections and I did, just could'nt get anything and I know everything becomes more clear if I can get that over it by myself so here's the thing:
I wanna do the exact same spell of this: http://www.wowhead.com/spell=68981
instant spell, hero starts to channeling, dealing damage every second, lasts for some time.So I've come up with this, it seemed logical when developing....
I wanna do the exact same spell of this: http://www.wowhead.com/spell=68981
instant spell, hero starts to channeling, dealing damage every second, lasts for some time.So I've come up with this, it seemed logical when developing....
-
remorseless winter
-

Events
-


Unit - A unit Begins channeling an ability
-
-

Conditions
-


(Ability being cast) Equal to Remorseless Winter
-
-

Actions
-


Set RW_Caster = (Casting unit)
-


Set RS_Point = (Position of RW_Caster)
-


Set RW_Group = (Units within 900.00 of RS_Point matching ((((Matching unit) is alive) Equal to True) and ((((Matching unit) belongs to an enemy of (Owner of RW_Caster)) Equal to True) and ((((Matching unit) is Magic Immune) Equal to False) and (((Matching unit) is A ground
-


Set FS = 0
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




FS Equal to 0
-
-



Then - Actions
-




Trigger - Turn on remorseless winter loop <gen>
-
-



Else - Actions
-
-
-
-
remorseless winter loop
-

Events
-


Time - Every 1.00 seconds of game time
-
-

Conditions
-

Actions
-


Special Effect - Create a special effect attached to the origin of RW_Caster using war3mapImported\FrostNova.mdx
-


Special Effect - Destroy (Last created special effect)
-


Unit Group - Pick every unit in RW_Group and do (Actions)
-



Loop - Actions
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






FS Less than 8
-
-





Then - Actions
-






Set RW_Target = (Picked unit)
-






Unit - Cause RW_Caster to damage RW_Target, dealing 100.00 damage of attack type Spells and damage type Cold
-






Set FS = (FS + 1)
-
-





Else - Actions
-






Custom script: call RemoveLocation(udg_RS_Point)
-






Custom script: call DestroyGroup(udg_RW_Group)
-






Trigger - Turn off (This trigger)
-
-
-
-
-
-
