kungfuturte0
New Member
- Reaction score
- 2
Hi there,
Basically I created a new ability called Drunken Rage. It increases the unit's attack damage while giving him less accuracy. Now I got the attack damage done but can't seem to find an ability that I could do this for. I have tried using a trigger that gives all enemies evasion then removes it after the ability stops. Only thing is it doesn't remove it, otherwise it would have been perfect. Here's the trigger:
Basically I created a new ability called Drunken Rage. It increases the unit's attack damage while giving him less accuracy. Now I got the attack damage done but can't seem to find an ability that I could do this for. I have tried using a trigger that gives all enemies evasion then removes it after the ability stops. Only thing is it doesn't remove it, otherwise it would have been perfect. Here's the trigger:
Trigger:
- Evasion 1
- Events
- Unit - A unit Begins casting an ability
- Conditions
- (Ability being cast) Equal to Drunken Rage
- Actions
- Unit Group - Pick every unit in (Units owned by Neutral Hostile) and do (Actions)
- Loop - Actions
- If ((Level of Drunken Rage for (Casting unit)) Equal to 1) then do (Unit - Add Evasion 1 (For Drunken Rage) to (Picked unit)) else do (Do nothing)
- Wait 9.70 seconds
- Unit - Remove Evasion 1 (For Drunken Rage) from (Picked unit)
- Loop - Actions
- Unit Group - Pick every unit in (Units owned by Neutral Hostile) and do (Actions)
- Events