Triggered AoE Spell not working...

Razed

New Member
Reaction score
44
Hi, I got this spell that's supposed to slow enemy units' movement speed by x% of their default.

I based it off Flamestrike (but removed the damage and replaced the animation).

Here's the trigger:
Code:
Blindfold Reflection
    Events
        Unit - A unit Begins casting an ability
    Conditions
        (Ability being cast) Equal to Blindfold Reflection 
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Level of Blindfold Reflection  for (Casting unit)) Equal to 1
            Then - Actions
                Unit - Set (Target unit of ability being cast) movement speed to ((Default movement speed of (Triggering unit)) x 0.60)
                Wait 12.00 seconds
                Unit - Set (Target unit of ability being cast) movement speed to (Default movement speed of (Triggering unit))
            Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Level of Blindfold Reflection  for (Casting unit)) Equal to 2
            Then - Actions
                Unit - Set (Target unit of ability being cast) movement speed to ((Default movement speed of (Triggering unit)) x 0.45)
                Wait 12.00 seconds
                Unit - Set (Target unit of ability being cast) movement speed to (Default movement speed of (Triggering unit))
            Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Level of Blindfold Reflection  for (Casting unit)) Equal to 3
            Then - Actions
                Unit - Set (Target unit of ability being cast) movement speed to ((Default movement speed of (Triggering unit)) x 0.30)
                Wait 12.00 seconds
                Unit - Set (Target unit of ability being cast) movement speed to (Default movement speed of (Triggering unit))
            Else - Actions

But it isn't working at all. Some help would be neat =)
 

lindenkron

You can change this now in User CP
Reaction score
102
But it isn't working at all. Some help would be neat =)

I just made this spell, based it on "Stormbolt" instead.

Worked fine for me, maybe it's not your trigger? (Made it after your spell, just about same.
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
> Default movement speed of (Triggering unit)

That's the caster...

It would also be shorter if you used
Speed * (0.75 - 0.15 * level)

"Target unit" also has problems with "wait"s.
Store it in a variable.

And use "starts the effect of" as event.

You sure Flamestrike actually has a target unit? Isn't that point cast?
If you need all units it hits, you need some "pick every unit in (Units within <some range> of (Target point of (Ability being cast)))".
Preferably without the point and group leak.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top