- Joined
- Jul 22, 2012
- Messages
- 72
Ok so I have a hero with one unit ability and 5 hero abilities. One of his Hero abilities grants this triggering effect where when he reached a %health lv he gains increased attack speed with a buff showing he is being effected. And upon healing past that % lv he looses the attack speed and buff returning to normal.
And I am sorta new to this trigger thing btw (but get the basics)
So here is my triggers
Enraged
Events
Unit - Learns a skill
Conditions
(Learned Hero Skill) Equal to Enraged
Actions
Trigger - Turn on Enrage ability gain <gen>
Trigger - Turn on Enraged off <gen>
__________________________________________________________________________
Enrage ability gain
Events
Conditions
(Percentage life of unit) Less than or equal to 40.00
Actions
Unit - Add Enraged (Hero Skill) to (Triggering unit)
If ((Level of Enraged for (Triggering unit)) Equal to 2) then do (Unit - Set level of Enraged (Hero Skill) for (Triggering unit) to 2) else do (Do nothing)
If ((Level of Enraged for (Triggering unit)) Equal to 3) then do (Unit - Set level of Enraged (Hero Skill) for (Triggering unit) to 3) else do (Do nothing)
________________________________________________________________________
Enraged off
Events
Conditions
(Percentage life of unit) Greater than 40.00
Actions
Unit - Remove Enraged (Hero Skill) from (Triggering unit)
The spells used are endurance aura for enraged. And for the buff triggered spell Gloves of speed if that matters.
And I am sorta new to this trigger thing btw (but get the basics)
So here is my triggers
Enraged
Events
Unit - Learns a skill
Conditions
(Learned Hero Skill) Equal to Enraged
Actions
Trigger - Turn on Enrage ability gain <gen>
Trigger - Turn on Enraged off <gen>
__________________________________________________________________________
Enrage ability gain
Events
Conditions
(Percentage life of unit) Less than or equal to 40.00
Actions
Unit - Add Enraged (Hero Skill) to (Triggering unit)
If ((Level of Enraged for (Triggering unit)) Equal to 2) then do (Unit - Set level of Enraged (Hero Skill) for (Triggering unit) to 2) else do (Do nothing)
If ((Level of Enraged for (Triggering unit)) Equal to 3) then do (Unit - Set level of Enraged (Hero Skill) for (Triggering unit) to 3) else do (Do nothing)
________________________________________________________________________
Enraged off
Events
Conditions
(Percentage life of unit) Greater than 40.00
Actions
Unit - Remove Enraged (Hero Skill) from (Triggering unit)
The spells used are endurance aura for enraged. And for the buff triggered spell Gloves of speed if that matters.
Last edited: