- Joined
- Jul 19, 2014
- Messages
- 38
Hello everyone, I have been trying to simulate a progressive fusion of items, just like the Key of the Three Moons from the campaings of warcraft 3 reign of chaos. I know how to combinate different items to get 1, but my problem is to combinate 5 of the SAME item to create 1. Here is my trigger:
-
Anillo 1
-
Events
-
Unit - A unit Acquires an item
-
-
Conditions
-
((Hero manipulating item) has an item of type Anillo Purificado) Equal to True
-
-
Actions
-
Set Heroitem = (Hero manipulating item)
-
Set Numeroanillo = 1
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Item-type of (Item being manipulated)) Equal to Anillo Purificado
-
-
Then - Actions
-
Set Numeroanillo = (Numeroanillo + 1)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Numeroanillo Equal to 2
-
-
Then - Actions
-
Item - Remove (Item being manipulated)
-
Item - Remove (Item carried by Heroitem of type Anillo Purificado)
-
Hero - Create Anillo Maestro and give it to Heroitem
-
-
Else - Actions
-
-
-
Else - Actions
-
-
-