• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Solved] Item Recipe x 2 mantle's of int

Status
Not open for further replies.
Level 6
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
      • Hero - Create Ring and give it to (Hero manipulating item)
Can anyone help me add what i need to this trigger to make it requires 2 mantles instead of 1. Plz and Thx in advance.
 
Level 6
Joined
Oct 4, 2011
Messages
226
Took me a while but i fixed it thanks to your test map. had to keep opening both of them up lol. +Rep and thanks.
 
Status
Not open for further replies.
Top