• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[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