• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Spell] How do I do this ability? [SOLVED]

Status
Not open for further replies.
Level 4
Joined
Jan 18, 2016
Messages
30
Screenshot 2020-10-20 15.51.16.png

My concept is a passive ability where everytime he is attacked, he gains 1 Strength for 5 seconds. So like a warrior - the more people attacking him, the more strength he gets. So I want him to get this skill when he learns the spell: in this case as a test, its the devotion aura.

But it's not working. Which condition should I be using because it's not working here.
 
Level 4
Joined
Jan 18, 2016
Messages
30
(Learned Hero Skill) only works if your trigger's event is "a hero learns skill", not "unit is attacked".
Use "Integer - Level of (ability) for (unit) > 0" instead to check if your unit has the ability.

Okay it worked now. Thanks so much. I know this was probably easy but I was struggling so much. I guess the issue is searching through all the options and not knowing what does what.
Thanks again
 
Status
Not open for further replies.
Top