- Joined
- May 15, 2009
- Messages
- 192
Battlehound asking for help again (these posts are getting rarer!).
This time 'round, I have tried to create a sort of Strength-increasing-roar. The ability simply adds an attribute bonus ability to nearby allies when the spell is cast, and then removes the attribute bonus after 12 seconds.
However, the removal of the attribute bonus only works on the very first cast. The first time you cast the ability, it runs smooth as anything. The second time, none of the affected heroes lose the bonus. Which is quite overpowered. Any advice? Help is much appreciated.
This time 'round, I have tried to create a sort of Strength-increasing-roar. The ability simply adds an attribute bonus ability to nearby allies when the spell is cast, and then removes the attribute bonus after 12 seconds.
However, the removal of the attribute bonus only works on the very first cast. The first time you cast the ability, it runs smooth as anything. The second time, none of the affected heroes lose the bonus. Which is quite overpowered. Any advice? Help is much appreciated.
-
Invigorating Roar
-
Events
- Unit - A unit owned by Player 1 (Red) Starts the effect of an ability
- Unit - A unit owned by Player 2 (Blue) Starts the effect of an ability
- Unit - A unit owned by Player 3 (Teal) Starts the effect of an ability
- Unit - A unit owned by Player 4 (Purple) Starts the effect of an ability
- Unit - A unit owned by Player 5 (Yellow) Starts the effect of an ability
- Unit - A unit owned by Player 6 (Orange) Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Barbarian: Invigorating Roar
-
Actions
- Set BAR_IR_Tempp = (Position of (Triggering unit))
-
Unit Group - Pick every unit in (Units within 650.00 of BAR_IR_Tempp matching (((((Matching unit) is A structure) Not equal to True) and (((Matching unit) is alive) Equal to True)) and ((((Matching unit) belongs to an ally of Player 1 (Red)) Equal to True) and (((Matching unit) is A Hero) E and do (Actions)
-
Loop - Actions
- Unit Group - Add (Picked unit) to BAR_IR_Tempg
- Unit - Add Invigorating Roar Stat Bonus to (Picked unit)
- Unit - Set level of Invigorating Roar Stat Bonus for (Picked unit) to (Level of (Ability being cast) for (Triggering unit))
- Countdown Timer - Start BAR_IR_Timer as a One-shot timer that will expire in 12.00 seconds
-
Loop - Actions
- Custom script: call RemoveLocation(udg_BAR_IR_Tempp)
-
Events
-
Invigorating Roar Remove
-
Events
- Time - BAR_IR_Timer expires
- Conditions
-
Actions
-
Unit Group - Pick every unit in BAR_IR_Tempg and do (Actions)
-
Loop - Actions
- Unit - Remove Invigorating Roar Stat Bonus from (Picked unit)
-
Loop - Actions
- Custom script: call DestroyGroup(udg_BAR_IR_Tempg)
-
Unit Group - Pick every unit in BAR_IR_Tempg and do (Actions)
-
Events