- Joined
- Jan 31, 2011
- Messages
- 7
Hi! I tried to make a trigger that combines items of the same type. For example, if you buy or pick a "Broadsword" and you already have a "Broadsword" in your inventory it will combine into "Broadsword +1." But my trigger doesn't work properly, because when I buy or pick an item it automatically tranforms into the same item +1 even if I don't have the same item in my inventory.
This is the trigger I made:
This is the trigger I made:
-
Combine item
-
Events
-
Unit - A unit acquires an item
-
-
Conditions
-
(Item-type of (Item being manipulated)) Equal to BROADSWORD
-
((Triggering unit) has an item of type BROADSWORD) Equal to True
-
-
Actions
-
Item - Remove (Item carried by (Triggering unit) of type BROADSWORD)
-
Item - Remove (Item carried by (Triggering unit) of type BROADSWORD)
-
Hero - Create BROADSWORD+1 and give it to (Triggering unit)
-
-
Last edited by a moderator: