Husky
Local Lurker
- Reaction score
- 120
I haven't mapped in years and I was playing around with the editor a bit for the first time, so bear with me.
What I want is; "If a unit has item X in slot 1, and item Y in slot 2 and then USES item X (in slot 1) it adds item Z to the hero's inventory"
That was what I had, but it didn't work. Re-familiarise me!
What I want is; "If a unit has item X in slot 1, and item Y in slot 2 and then USES item X (in slot 1) it adds item Z to the hero's inventory"
Code:
Events
Unit - A unit Uses an item
Conditions
(Item being manipulated) Equal to (Item carried by (Hero manipulating item) of type |cffffcc00Bundle of Sticks|r)
|cffffcc00Bundle of Sticks|r 0000 <gen> Equal to (Item carried by (Hero manipulating item) in slot 1)
|cffffcc00Tinder|r 0004 <gen> Equal to (Item carried by (Hero manipulating item) in slot 2)
Actions
Hero - Give (Item carried by (Hero manipulating item) of type Fireplace) to (Hero manipulating item)
That was what I had, but it didn't work. Re-familiarise me!