That I knew what I was doing xP

iMephiles

New Member
Reaction score
0
Whats the trigger for if a hero has an item, boots of speed, and buys another boots of speed, for a better form of boots?

I thought I knew what I was doing, but I can't get the condition right...
 

cleeezzz

The Undead Ranger.
Reaction score
268
Trigger:
  • Combine
    • Events
      • Unit - A unit Acquires an item
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to Boots of Speed
    • Actions
      • For each (Integer A) from 1 to 6, do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Item-type of (Item carried by (Triggering unit) in slot (Integer A))) Equal to Boots of Speed
              • (Item being manipulated) Not equal to (Item carried by (Triggering unit) in slot (Integer A))
            • Then - Actions
              • Item - Remove (Item carried by (Triggering unit) of type Boots of Speed)
              • Item - Remove (Item carried by (Triggering unit) of type Boots of Speed)
              • Hero - Create Wirt's Leg and give it to (Triggering unit)
              • Skip remaining actions
            • Else - Actions


Alternative:
Trigger:
  • Combine
    • Events
      • Unit - A unit Acquires an item
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to Boots of Speed
    • Actions
      • Set Count = 0
      • For each (Integer A) from 1 to 6, do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Item-type of (Item carried by (Triggering unit) in slot (Integer A))) Equal to Boots of Speed
            • Then - Actions
              • Set Count = (Count + 1)
            • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Count Greater than or equal to 2
        • Then - Actions
          • Item - Remove (Item carried by (Triggering unit) of type Boots of Speed)
          • Item - Remove (Item carried by (Triggering unit) of type Boots of Speed)
          • Hero - Create Wirt's Leg and give it to (Triggering unit)
        • Else - Actions
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top