- Joined
- Oct 25, 2009
- Messages
- 995
[Unsolved]Spell doesn't work
Here is the trigger,object editor of dark wave original spell is Channel.
IT DOESN'T WORK!!! anyone can help ?
Here is the trigger,object editor of dark wave original spell is Channel.
IT DOESN'T WORK!!! anyone can help ?
-
Dark Wave
-
Events
-
Unit - A unit starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Dark Wave
-
-
Actions
-
Set Dark_Wave_U1 = (Triggering unit)
-
Set Dark_Wave_Group = (Units within 175.00 of (Position of Dark_Wave_U1) matching (((Matching unit) belongs to an enemy of (Owner of Dark_Wave_U1)) Equal to True))
-
Unit Group - Pick every unit in Dark_Wave_Group and do (Actions)
-
Loop - Actions
-
Unit - Create 1 DW_Dummy for (Owner of Dark_Wave_U1) at ((Position of Dark_Wave_U1) offset by 150.00 towards (Facing of Dark_Wave_U1) degrees) facing Default building facing degrees
-
Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
-
Unit - Cause Dark_Wave_U1 to damage (Picked unit), dealing (50.00 x (Real((Level of Dark Wave for Dark_Wave_U1)))) damage of attack type Spells and damage type Normal
-
Wait 0.50 seconds
-
Unit - Create 1 DW_Dummy for (Owner of Dark_Wave_U1) at ((Position of Dark_Wave_U1) offset by 300.00 towards (Facing of Dark_Wave_U1) degrees) facing Default building facing degrees
-
Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
-
Unit - Cause Dark_Wave_U1 to damage (Picked unit), dealing (100.00 + (50.00 x (Real((Level of Dark Wave for Dark_Wave_U1))))) damage of attack type Spells and damage type Normal
-
Wait 0.50 seconds
-
Unit - Create 1 DW_Dummy for (Owner of Dark_Wave_U1) at ((Position of Dark_Wave_U1) offset by 450.00 towards (Facing of Dark_Wave_U1) degrees) facing Default building facing degrees
-
Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
-
Unit - Cause Dark_Wave_U1 to damage (Picked unit), dealing (150.00 + (50.00 x (Real((Level of Dark Wave for Dark_Wave_U1))))) damage of attack type Spells and damage type Normal
-
-
-
Custom script: call DestroyGroup(udg_Dark_Wave_Group)
-
-
Last edited: