Ensabahnur
New Member
- Reaction score
- 4
[Trigger] Spell - Need Help
I'd like some help creating this spell in either GUI or JASS, should be MUI.
Spell: Wildfire
Description: Ignites the target in flames dealing 1 damage per second for 10 seconds. After the duration or if the target dies the spell should bounce to a random nearby enemy unit and should start the spell over again. The spell ends immediately if there are no nearby enemy units.
Level 1 - Bounces a maximum of 2 times (ignites 3 targets total)
Level 2 - Bounces a maximum of 3 times (ignites 4 targets total)
Level 3 - Bounces a maximum of 4 times (ignites 5 targets total)
Any help would be appreciated.
Basically this is what I have so far.. When you cast the spell the wait never happens, I think maybe because it happens before the target is effected by the spell? Also sometimes the dummy unit casts the spell on another target in range and sometimes it doesn't..?
I'd like some help creating this spell in either GUI or JASS, should be MUI.
Spell: Wildfire
Description: Ignites the target in flames dealing 1 damage per second for 10 seconds. After the duration or if the target dies the spell should bounce to a random nearby enemy unit and should start the spell over again. The spell ends immediately if there are no nearby enemy units.
Level 1 - Bounces a maximum of 2 times (ignites 3 targets total)
Level 2 - Bounces a maximum of 3 times (ignites 4 targets total)
Level 3 - Bounces a maximum of 4 times (ignites 5 targets total)
Any help would be appreciated.
Trigger:
- Wild Fire
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to test
- Actions
- Wait until (((Triggering unit) has buff Parasite) Equal to False), checking every 1.00 seconds
- Unit - Create 1 Dummy for (Owner of (Casting unit)) at (Position of (Target unit of ability being cast)) facing (Position of (Target unit of ability being cast))
- Unit - Order (Last created unit) to Neutral - Parasite (Random unit from (Units within 700.00 of (Position of (Target unit of ability being cast))))
- Events
Basically this is what I have so far.. When you cast the spell the wait never happens, I think maybe because it happens before the target is effected by the spell? Also sometimes the dummy unit casts the spell on another target in range and sometimes it doesn't..?