• 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.

PLZ! Help me! (making permanent invisibility icon show up as passive ability)

Status
Not open for further replies.
Level 2
Joined
Apr 13, 2008
Messages
7
Hello guys. Ok, I'm trying to create an ability that will make my hero become invisible permanently, except when attacking. I based it on the draenei's ability. It's a hero ability now, and it works but, I have a problem. When the hero learns the ability, the icon disappears and I dont know how to make it appear has a passive ability. Can someone help? :confused:
 
Level 15
Joined
Sep 3, 2006
Messages
1,738
Make a passive ability that has the same icon but no effect. Then run a trigger so that when a hero learns that ability, they get the icon. Make sure to add in that when they level up the ability the dummy ability gets leveled up as well.

Although Chief-Oblivion has the right idea, that won't work for hero abilities. And what you'd be looking for is the "Art Icon - Visible?" box, not the "Art Icon - Normal" box.
 
Level 16
Joined
Jul 21, 2008
Messages
1,121
Ok, first make ability based on some aura (eg. brilliance aura). Set all values of mana regen (or other aura bonuses) to 0, targets allowed only to self and remove buff. Make that aura have levels like your original spell and write all tooltips on it.

Then, make trigger like this:
  • Invisibility Skill
    • Events
      • Unit - A unit Learns a skill
    • Conditions
      • (Learned Hero Skill) Equal to Invisibility
    • Actions
      • -------- In conditions above I use hero skill comparison --------
      • -------- In conditions below I use integer comparison, unit - level of ability for unit --------
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of Invisibility for (Triggering unit)) Equal to 1
        • Then - Actions
          • -------- If your invisibility spell is just learned we must add aura --------
          • Unit - Add Aura to (Triggering unit)
          • Unit - Set level of Aura for (Triggering unit) to 1
        • Else - Actions
          • -------- if your hero increases level of invisibility, we must increase level of aura too --------
          • Unit - Increase level of Aura for (Triggering unit)
 
Status
Not open for further replies.
Top