• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Solved] Item Charges

Status
Not open for further replies.
Level 17
Joined
Nov 13, 2006
Messages
1,814
Is there a condition or action that has this.
Is a unit uses an item and charges of the item = 0
then remove item from unit and replace it with a different item.

maybe this work

  • Untitled Trigger 001
    • Events
      • Unit - A unit Uses an item
    • Conditions
      • (Item-class of (Item being manipulated)) Equal to Charged
      • (Charges remaining in (Item being manipulated)) Equal to 1
    • Actions
      • Hero - Create Ring of Protection +5 and give it to (Triggering unit)
if no then use wait 0.5 sec and check the charge after wait
 
Status
Not open for further replies.
Top