Item fusion help?

iMephiles

New Member
Reaction score
0
Here's what I have:
Boots 2 Copy
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to Boots of Speed 1
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 1
Then - Actions
Set Boots2 = (Boots2 + 1)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Boots2 Greater than or equal to 2
Then - Actions
Item - Remove (Item carried by (Triggering unit) of type Boots of Speed 1)
Item - Remove (Item carried by (Triggering unit) of type Boots of Speed 1)
Hero - Create Boots of Speed 2 and give it to (Triggering unit)
Set Boots2 = 0
Else - Actions
Do nothing

Once again, I ask for help, get wrong info, tell them thanks before I check it, and people stopped replying to the thread... xP
 

cleeezzz

The Undead Ranger.
Reaction score
268
whats wrong with it
nvm i see it, you didn;t copy my trigger exactly. move boots2 to the top

oh and dont use Do Nothing, just leave it blank

Trigger:
  • Boots 2 Copy
    • Events
      • Unit - A unit Acquires an item
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to Boots of Speed 1
    • Actions
      • Set Boots2 = 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 1
            • Then - Actions
              • Set Boots2 = (Boots2 + 1)
            • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Boots2 Greater than or equal to 2
        • Then - Actions
          • Item - Remove (Item carried by (Triggering unit) of type Boots of Speed 1)
          • Item - Remove (Item carried by (Triggering unit) of type Boots of Speed 1)
          • Hero - Create Boots of Speed 2 and give it to (Triggering unit)
        • Else - Actions
 

skyangel1234

Member
Reaction score
5
You want is Item recipe?? Example : Here is my trigger of item recipe

Trigger:
  • Recipe
    • Events
      • A unit acquires an item
    • Conditions
      • ((Triggering Unit) is A Ground Unit) equal to True
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • And - All (Conditions) are True
            • Conditions
              • ((Hero manipulating item) has an item of type Boots of Speed 1) equal to True
              • ((Hero manipulating item) has an item of type Boots of Speed 1) equal to True
        • Then - Actions
          • Special Effect - Create a special effect attached to the origin of (Triggering Unit) using Abilities\Spells\Items\AIem\AIemTarget.mdl
          • Item - Remove (Item carried by (Triggering Unit) of type Boots of Speed 1
          • Item - Remove (Item carried by (Triggering Unit) of type Boots of Speed 1
          • Hero - Create Boots 2 Copy and give it to (Triggering Unit)
          • Special Effect - Destroy Last Created Special Effect
        • Else - Actions


I english no good so don't know what problem you are so i just do a simple trigger with item recipe if this no work you may create 2 diff boots with same effect , ability , and stats sorry for my english no good
 

HeX.16

Isn't Trollin You Right Now
Reaction score
131
Ooooo +rep to skyangel i am using that trigger for my new project. But it leaks a lot.
 

iMephiles

New Member
Reaction score
0
they both work, and it doesn't leak

yes, theres three threads on the same question

>Once again, I ask for help, get wrong info,

you didn't get wrong info, you just didn't copy it right >_>

see here http://www.thehelper.net/forums/showthread.php?t=147080

No, I tested yours, it didn't work, I fiddled with it until I got this, and It worked for a while, but it keeps going as you buy more boots, so it can't get past level 3.

Edit: I figured it out.
skyangel, the condition doesn't work, it's making the item even if the hero only has one
 

cleeezzz

The Undead Ranger.
Reaction score
268
>No, I tested yours, it didn't work, I fiddled with it until I got this, and It worked for a while, but it keeps going as you buy more boots, so it can't get past level 3.

you never specified that you wanted the boots to be upgradeable multiple times, you made it sound like you only wanted to combine two boots and thats it

be more clear
 

iMephiles

New Member
Reaction score
0
Hmmkay, The reason I didn't ask Is because I thought I could figure it out from there.

But I figured out how to do it by kinda mixing both the ideas you gave me with skyangle's, than un-leaking it.
 

skyangel1234

Member
Reaction score
5
How about the buyer?? the buyer is a hero or what?? if is a hero you just change your conditions to Triggering unit is a hero equal to true. then try it again maybe work?? because me use this trigger on my map issuccessful work
 
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