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

[Trigger] Item with active ability and passive

Status
Not open for further replies.
Level 6
Joined
Apr 23, 2008
Messages
263
Lets say i create an item based of Staff of silence (a staff with an active ability that when u click it silences units in aoe). each time i use this ability the item gets that cooldown-spin thing.

but when i add the passive ability 1 armor bonus to the staff, the cooldown-spin doesnt show up anymore.

is the only way to manually in triggers add the 1 armor bonus to the carrying hero? and how would be best to do that?
 
Well, you can do this instead with triggers, since i was unaware of this issue:

  • Item
  • Events
    • A unit acquires an item
  • Conditions
    • (Item-type of (Item being manipulated)) Equal to Staff of Silence
  • Actions
    • Unit - Add (Item Armor Bonus (+1)) to (Hero Manipulating Item/Triggering unit)
  • Item drop
  • Events
    • Unit - A unit loses an item
  • Conditions
    • (Item-type of (Item being manipulated)) Equal to Staff of Silence
  • Actions
    • Unit - Remove (Item Armor Bonus (+1)) from (Hero Manipulating Item/ Triggering unit)
 
Status
Not open for further replies.
Top