- Joined
- Sep 14, 2011
- Messages
- 47
Hey guys - just wondering if you can think of what the problem might be here. I have a ROAR ability that triggers a STR stat buff in an AOE and affects any allied heroes nearby. For MY hero everything works great. But for allied heroes, the ADD part works but not the SUBTRACT part doesn't! Weird bug.
-
Treant Fervor
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Fervor of the Ents (Treant)
-
Actions
- Set ttPoint[0] = (Position of (Triggering unit))
- Set ABTreant_tSTR = ABTreant_FervorSTRBonus[(Level of (Ability being cast) for (Triggering unit))]
- Set ABTreant_FervorGroup = (Units within 500.00 of ttPoint[0] matching ((((Matching unit) belongs to an ally of Player 7 (Green)) Equal to True) and ((((Matching unit) is A Hero) Equal to True) and (((Matching unit) is alive) Equal to True))))
- Custom script: call RemoveLocation(udg_ttPoint[0])
-
Unit Group - Pick every unit in ABTreant_FervorGroup and do (Actions)
-
Loop - Actions
- Hero - Modify Strength of (Picked unit): Add ABTreant_tSTR
-
Loop - Actions
- Wait 10.00 seconds
-
Unit Group - Pick every unit in ABTreant_FervorGroup and do (Actions)
-
Loop - Actions
- Hero - Modify Strength of (Picked unit): Subtract ABTreant_tSTR
-
Loop - Actions
-
Events