My trigger doesn't work :
to make Item C u need 2 Item A and 1 Item B,
but my trigger work like this :
I can just take 1 Item A and B then C is formed...
How should the trigger make?
What if you have 3 of item A?try this:
Trigger:
- trigger
- events
- unit acquires an item
- conditions
- actions
- set count = 0
- for each (Integer A) from 1 to 6 do actions
- loop
- if item-type in item-slot Integer A equal to A then
- set count = count + 1
- if <unit> has an item of type B then
- set count = count + 1
- if count greater than or equal to 3 then
- item - remove A
- item - remove A
- item - remove B
- item - give C to <unit>
What if you have 3 of item A?