- Joined
- Oct 4, 2011
- Messages
- 226
Hello. Im making an item recipe with the ingrediants ring of protection +2, (2) Mantles of inteligence and Ring of nobility(Recipe)
-
RingItemRECIPE
-
Events
- Unit - A unit Acquires an item
-
Conditions
- ((Triggering unit) has an item of type Mantle of Intelligence +3) Equal to True
- ((Triggering unit) has an item of type Ring of Protection +2) Equal to True
- ((Triggering unit) has an item of type Ring Recipe) Equal to True
-
Actions
- Set RINGITEMTYPE[1] = Mantle of Intelligence +3
- Set RINGITEMTYPE[2] = Ring of Protection +2
- Set RINGITEMTYPE[3] = Ring Recipe
-
For each (Integer A) from 1 to 6, do (Actions)
-
Loop - Actions
-
For each (Integer B) from 1 to 3, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- RingItemRECIPE_INTE Equal to 2
- (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to RINGITEMTYPE[(Integer B)]
-
Then - Actions
- Item - Remove (Item carried by (Hero manipulating item) in slot (Integer A))
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
For each (Integer B) from 1 to 3, do (Actions)
-
Loop - Actions
- Hero - Create Ring and give it to (Hero manipulating item)
-
Events