• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Give Item to Hero Not Working

Status
Not open for further replies.
Level 8
Joined
Feb 17, 2007
Messages
368
  • Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • Difficulty Equal to Very Easy
      • Then - Actions
        • Hero - Create Essence of Life VE and give it to (Triggering unit)
        • Unit - Set life of (Triggering unit) to 100.00%
        • Unit - Set mana of (Triggering unit) to 100.00%
        • Unit - Reset ability cooldowns for (Triggering unit)
      • Else - Actions
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • Difficulty Equal to Easy
          • Then - Actions
            • Hero - Create Essence of Life E and give it to (Triggering unit)
            • Unit - Set life of (Triggering unit) to 100.00%
            • Unit - Set mana of (Triggering unit) to 100.00%
            • Unit - Reset ability cooldowns for (Triggering unit)
          • Else - Actions
            • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              • If - Conditions
                • Difficulty Equal to Normal
              • Then - Actions
                • Unit - Set life of (Triggering unit) to 100.00%
                • Unit - Set mana of (Triggering unit) to 100.00%
                • Unit - Reset ability cooldowns for (Triggering unit)
              • Else - Actions
                • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  • If - Conditions
                    • Difficulty Equal to Hard
                  • Then - Actions
                    • Unit - Set life of (Triggering unit) to 100.00%
                    • Unit - Set mana of (Triggering unit) to 100.00%
                    • Unit - Reset ability cooldowns for (Triggering unit)
                  • Else - Actions
The set life, set mana, and reset ability cooldown triggers all work, but for some reason the give item to hero is not working. Any ideas as to why?

EDIT: Hmmm, it seems like it may be a problem with the item because I tried giving other items and it worked, I'm not sure exactly what though is wrong with this:

 
curious, since the actions are the same (for hard and normal) why don't you just do,
  • Conditions
    • Difficulty Equal to Normal
    • Difficulty equal to Hard
  • Then - Actions
    • Unit - Set life of (Triggering unit) to 100.00%
    • Unit - Set mana of (Triggering unit) to 100.00%
    • Unit - Reset ability cooldowns for (Triggering unit)
    • Else - Actions
 
Status
Not open for further replies.
Back
Top