Trigger:
- Perserverance
- Events
- Unit - A unit Acquires an item
- Conditions
- ((Triggering unit) is A Hero) Equal to True
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- ((Hero manipulating item) has an item of type Ring Of Health) Equal to True
- ((Hero manipulating item) has an item of type Void Stone) 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 Ring Of Health)
- Item - Remove (Item carried by (Triggering unit) of type Void Stone)
- Hero - Create Perseverance and give it to (Triggering unit)
- Special Effect - Destroy (Last created special effect)
- Else - Actions
- Do nothing
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
Okay, this is basically my recipe for an item called Perseverance. This item will be used in another recipe, called Fairfrozen. For some reason, when a hero creates a Perseverance with Ring Of Health and Void Stone, the created item Perseverance will not work in the Fairfrozen Recipe Trigger. :banghead: This is the trigger for my Fairfrozen Recipe :
Trigger:
- Fairfrozen
- Events
- Unit - A unit Acquires an item
- Conditions
- ((Triggering unit) is A Hero) Equal to True
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- ((Hero manipulating item) has an item of type Steel Spear) Equal to True
- ((Hero manipulating item) has an item of type Perseverance) Equal to True
- ((Hero manipulating item) has an item of type Ultimate Orb) 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 Steel Spear)
- Item - Remove (Item carried by (Triggering unit) of type Ultimate Orb)
- Item - Remove (Item carried by (Triggering unit) of type Perseverance)
- Hero - Create Fairfrozen and give it to (Triggering unit)
- Special Effect - Destroy (Last created special effect)
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
However, when I drag an already done perseverance from the item editor (with the world editor) and later pick it up (in-game) with the other two required items the recipe works... can anyone tell me how do I resolve this matter?
Here is an image summary :
Thanks in advance!