Vylatin
New Member
- Reaction score
- 32
Hey
Could anyone show me how to through GUI triggers; check if unit has 2 items of artifact/powerup/miscellaneous class? My trigger below failed, probably cus the hero already got the item when it runs. Thats why I need help. Or do you got a better solution? Any help is great! +rep
Pick up
Events
Unit - A unit Acquires an item
Conditions
Or - Any (Conditions) are true
Conditions
(Item-class of (Item being manipulated)) Equal to Artifact
(Item-class of (Item being manipulated)) Equal to Powerup
(Item-class of (Item being manipulated)) Equal to Miscellaneous
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
((Triggering unit) has an item of type |cffffcc00Iron Bow|r) Equal to True
((Triggering unit) has an item of type |cffffcc00Steel Bow|r) Equal to True
Then - Actions
Hero - Drop (Item being manipulated) from (Triggering unit)
Else - Actions
Could anyone show me how to through GUI triggers; check if unit has 2 items of artifact/powerup/miscellaneous class? My trigger below failed, probably cus the hero already got the item when it runs. Thats why I need help. Or do you got a better solution? Any help is great! +rep
Pick up
Events
Unit - A unit Acquires an item
Conditions
Or - Any (Conditions) are true
Conditions
(Item-class of (Item being manipulated)) Equal to Artifact
(Item-class of (Item being manipulated)) Equal to Powerup
(Item-class of (Item being manipulated)) Equal to Miscellaneous
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
((Triggering unit) has an item of type |cffffcc00Iron Bow|r) Equal to True
((Triggering unit) has an item of type |cffffcc00Steel Bow|r) Equal to True
Then - Actions
Hero - Drop (Item being manipulated) from (Triggering unit)
Else - Actions