Warcraft III resources & community, 2003–2006 · archived

Jewel Shard Trouble

1 posts
#1

Jewel Shard Trouble

Start
Events
Unit - A unit owned by Player 1 (Red) Acquires an item
Conditions
((Triggering unit) has an item of type Shikon Jewel 1/100) Equal to True
Actions
Trigger - Turn off (This trigger)
Trigger - Turn on Jewel 2 <gen>
========
Jewel 2 (isn't init on)
Events
Unit - A unit owned by Player 1 (Red) Acquires an item
Conditions
((Triggering unit) has an item of type Shikon Jewel 1/100) Equal to True
Actions
Item - Remove (Item carried by (Triggering unit) of type Shikon Jewel 1/100)
Trigger - Turn off (This trigger)
Trigger - Run Temp Storage <gen> (ignoring conditions)
=======
Temp Storage (isn't init on)
Events
Conditions
Actions
Hero - Create Shikon Jewel 2/100 and give it to (Triggering unit)
Item - Remove (Item carried by (Triggering unit) of type Shikon Jewel 1/100)
Trigger - Turn off (This trigger)
Trigger - Turn on Jewel 3 <gen>
----------------------------

Jewel 3
Events (isn't init on)
Unit - A unit owned by Player 1 (Red) Acquires an item
Conditions
(Picked item) Equal to (Item carried by (Triggering unit) of type Shikon Jewel 1/100)
((Triggering unit) has an item of type Shikon Jewel 2/100) Equal to True
Actions
Item - Remove (Item carried by (Triggering unit) of type Shikon Jewel 1/100)
Item - Remove (Item carried by (Triggering unit) of type Shikon Jewel 2/100)
Hero - Create Shikon Jewel 3/100 and give it to (Triggering unit)
----------------------------------------------
Ok The problem is that when I pick up my next shard to upgrade it to shard two, it upgrades it to shard 3 instead.

How do I make it to where I have one shard, then I pick up another to make it count as shard two and not shard 3.