Permafrost Copy
Events
Unit - A unit Finishes casting an ability
Conditions
(Ability being cast) Equal to Impaling Spear (Jeral)
Actions
Set PermaFrost_Position = (Position of (Casting unit))
Set PermaFrost_Select = (Units within 700.00 of (Position of (Casting unit)) matching (((Matching unit) has buff PermaFrost ) Equal to True))
Unit Group - Pick every unit in PermaFrost_Select and do (Actions)
Loop - Actions
Unit - Cause (Casting unit) to damage (Picked unit), dealing (75.00 x (Real((Level of PermaFrost for (Casting unit))))) damage of attack type Spells and damage type Normal
Wait 1.00 seconds
Unit - Remove PermaFrost buff from (Picked unit)
Custom script: call RemoveLocation( udg_PermaFrost_Position)