- Joined
- Dec 21, 2008
- Messages
- 766
I just wanna know if I finnly know how to make stuff MuI... and leakfreeeeee
-
Frost Status
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Frost Status
-
Actions
- Set FS_Unit = (Triggering unit)
- Set FS_Point = (Target point of ability being cast)
- Set FS_Real[1] = 400.00
- Set FS_Real[2] = 100.00
- Set FS_Real[3] = (Real((Level of (Ability being cast) for FS_Unit)))
- Set FS_Real[4] = (FS_Real[2] x FS_Real[3])
- Set FS_Real[5] = (FS_Real[4] + FS_Real[1])
- Set FS_Group = (Units within 250.00 of FS_Point)
- Special Effect - Create a special effect at FS_Point using war3mapImported\Cyclon Explosion.mdx
- Special Effect - Destroy (Last created special effect)
-
Unit Group - Pick every unit in FS_Group and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Picked unit) belongs to an enemy of (Owner of FS_Unit)) Equal to True
- ((Picked unit) is alive) Equal to True
-
Then - Actions
- Unit - Cause FS_Unit to damage (Picked unit), dealing FS_Real[5] damage of attack type Spells and damage type Cold
- Special Effect - Create a special effect attached to the chest of (Picked unit) using war3mapImported\IceBolt.mdx
- Special Effect - Destroy (Last created special effect)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
- Custom script: call RemoveLocation(udg_FS_Point)
- Custom script: call DestroyGroup(udg_FS_Group)
-
Events