Trigger:
- Poisoned Ground
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Poisoned Ground
- Actions
- Set U_Poisoned_Ground = (Casting unit)
- Set L_Poisoned_Ground = (Position of (Casting unit))
- <b>For each (Integer A) from 1 to 6, do (Actions)
- Loop - Actions
- Special Effect - Create a special effect at (L_Poisoned_Ground offset by 100.00 towards ((Real((Integer A))) x 45.00) degrees) using Environment\BlightDoodad\BlightDoodad.mdl
- Set E[(Integer A)] = (Last created special effect)
- Special Effect - Create a special effect at (L_Poisoned_Ground offset by 175.00 towards ((Real((Integer A))) x 60.00) degrees) using Environment\BlightDoodad\BlightDoodad.mdl
- Set E2[(Integer A)] = (Last created special effect)
- Special Effect - Create a special effect at (L_Poisoned_Ground offset by 250.00 towards ((Real((Integer A))) x 75.00) degrees) using Environment\BlightDoodad\BlightDoodad.mdl
- Set E3[(Integer A)] = (Last created special effect)
- Special Effect - Create a special effect at (L_Poisoned_Ground offset by 325.00 towards ((Real((Integer A))) x 90.00) degrees) using Environment\BlightDoodad\BlightDoodad.mdl
- Set E4[(Integer A)] = (Last created special effect)</b>
- Loop - Actions
- Unit - Create 1 Poisoned Ground Aura Dummy for (Owner of (Casting unit)) at L_Poisoned_Ground facing Default building facing degrees
- Unit - Set level of Poisoned Ground -move speed for (Last created unit) to (Level of Poisoned Ground for U_Poisoned_Ground)
- Unit - Set level of Posioned Ground -armor for (Last created unit) to (Level of Poisoned Ground for U_Poisoned_Ground)
- Unit - Set level of Poisoned Ground -hp for (Last created unit) to 1
- Unit - Order (Last created unit) to Undead Lich - Death And Decay L_Poisoned_Ground
- Unit - Add a 12.00 second Generic expiration timer to (Last created unit)
- Custom script: call RemoveLocation(udg_L_Poisoned_Ground)
- Events
Creating a special effect to a point with offset is another location right? So does it leaks? And how do i fix it if it does?