[Trigger] my attribute modification not working

Status
Not open for further replies.
I want to create an ability where it modifies the attributes of a unit, unfortunately, it's not working and I can't seem to figure out why. Here is a trigger of one of the unit's moves that use this.

  • Agility of the Eagle lvl 1
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Wisdom of the Owl
      • (Level of Agility of the Eagle for (Triggering unit)) Equal to 1
    • Actions
      • Animation - Change (Triggering unit)'s vertex coloring to (0.00%, 100.00%, 0.00%) with 0.00% transparency
      • Hero - Modify Agility of (Triggering unit): Add 7
      • Hero - Modify Strength of (Triggering unit): Subtract 7
      • Wait 30.00 seconds
      • Hero - Modify Agility of (Triggering unit): Subtract 7
      • Hero - Modify Strength of (Triggering unit): Add 7
can anyone help me identify the problem?
 
Level 15
Joined
Aug 31, 2009
Messages
776
You may still want to be careful when using Wait functions.

They're very prone to causing errors and problems because a trigger can often forget who a triggering unit is for example after a long wait period.

Though it seems here to not be the case, it can happen in some other instances.
 
Status
Not open for further replies.
Top