Hello, ive just created this item upgrade trigger but when i buy the Spyglass - Level 1 item, it directly upgrades to level 3.
Where did i mess up :S ?
Code:
Spyglass upgrade
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to Spyglass - [|cffffcc00Level 1|r]
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Triggering unit) has an item of type Spyglass - [|cffffcc00Level 1|r]) Equal to True
Then - Actions
Item - Remove (Item carried by (Triggering unit) of type Spyglass - [|cffffcc00Level 1|r])
Hero - Create Spyglass - [|cffffcc00Level 2|r] and give it to (Triggering unit)
Special Effect - Create a special effect attached to the origin of (Triggering unit) using Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Triggering unit) has an item of type Spyglass - [|cffffcc00Level 2|r]) Equal to True
Then - Actions
Item - Remove (Item carried by (Triggering unit) of type Spyglass - [|cffffcc00Level 2|r])
Hero - Create Spyglass - [|cffffcc00Level 3|r] and give it to (Triggering unit)
Special Effect - Create a special effect attached to the origin of (Triggering unit) using Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl
Else - Actions
Where did i mess up :S ?