• 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] Recipe disassemby

Status
Not open for further replies.
Level 1
Joined
Dec 27, 2007
Messages
1
I am trying to make an item somewhat like Perserverance from DotA in that you can click on it and it will come apart into its two original components. Here is what I have, which doesnt work. Unfortunately.

Any help to make this work would be appreciated.

Thanks!
  • Golden Amulet Undo
    • Events
      • Unit - A unit Uses an item
    • Conditions
      • ((Hero manipulating item) has an item of type Golden Amulet) Equal to True
      • (Item-type of (Item being manipulated)) Equal to Golden Amulet
    • Actions
      • Trigger - Turn off Golden Amulet <gen>
      • Item - Remove (Item carried by (Hero manipulating item) of type Golden Amulet)
      • Hero - Create Pendant of Health and give it to (Hero manipulating item)
      • Hero - Create Pendant of Mana and give it to (Hero manipulating item)
      • Trigger - Turn on Golden Amulet <gen>
 
Status
Not open for further replies.
Top