- Joined
- May 26, 2012
- Messages
- 2
Edit 1: I think I've found a solution. I'll just make a dummy unit with a 0.1 damage ranged attack that can hit as many targets as possible while applying slow poison to that attack. Gonna edit the map and mark as solved if this works out.
Edit 2: Eh... didn't work... back to the drawing board... might just resort to the static aoe thing.
Hey guys, I've been searching the forums and I can't find anything similar to the problem I'm having with my trigger. Basically I want a spell that creates a cloud (of poison) that periodically applies a 10 second slow poison to any enemy unit in the cloud. I can get it to apply the slow poison on the first "wave," but my dummy caster refuses to recast the slow poison after the first "wave."
This is going to be a generic item ability btw, so I need something that can be multiple times within the same durating. Here's my trigger and thanks in advanced to anyone who can help. Also can anyone give this a look over for any leaks?
Edit 2: Eh... didn't work... back to the drawing board... might just resort to the static aoe thing.
Hey guys, I've been searching the forums and I can't find anything similar to the problem I'm having with my trigger. Basically I want a spell that creates a cloud (of poison) that periodically applies a 10 second slow poison to any enemy unit in the cloud. I can get it to apply the slow poison on the first "wave," but my dummy caster refuses to recast the slow poison after the first "wave."
This is going to be a generic item ability btw, so I need something that can be multiple times within the same durating. Here's my trigger and thanks in advanced to anyone who can help. Also can anyone give this a look over for any leaks?
-
ToxicSprayEffects
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Toxic Spray (Dummy)
-
-
Actions
-
Set FlameStrikeLocation = (Target point of ability being cast)
-
Unit - Create 1 DummyCaster for (Triggering player) at FlameStrikeLocation facing Default building facing degrees
-
Unit - Add Toxic Spray (CloudMaker) to (Last created unit)
-
Unit - Kill (Last created unit)
-
Unit - Create 1 DummyCaster for (Triggering player) at FlameStrikeLocation facing Default building facing degrees
-
Unit - Add Toxic Spray (Effect) to (Last created unit)
-
Unit - Add a 11.00 second Generic expiration timer to (Last created unit)
-
Custom script: call RemoveLocation (udg_FlameStrikeLocation)
-
For each (Integer A) from 1 to 40, do (Actions)
-
Loop - Actions
-
Set ToxicSprayTargets = (Units within 150.00 of (Position of (Last created unit)))
-
Unit Group - Pick every unit in ToxicSprayTargets and do (Unit - Order (Last created unit) to Neutral Fire Lord - Soul Burn (Picked unit))
-
Custom script: call DestroyGroup (udg_ToxicSprayTargets)
-
Wait 0.25 seconds
-
-
-
-
Last edited: