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!
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>
-
-