• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

Pick up an Item and it applies to hero {deleting the item but giving the bonus}

Status
Not open for further replies.
Level 4
Joined
Jan 13, 2008
Messages
107
I'm sure this isn't so difficult, but:

I want my hero to pick up/receive an item, which is a sword. When he picks it up/receives it, I would like it to equip onto him and the item be deleted from inventory without losing the weapon.

Thanks to anyone who helps!
 
Last edited:
Level 4
Joined
Jul 14, 2007
Messages
59
Just do this

Event
Unit acquires item
Condition
Item being manipulated = <sword>
Action
Remove Item of type <sword>
Unit add ability <sword damage>


For the <sword damage> ability, use "Item Damage Bonus" as your base ability. It will not have an icon and won't show up on your hero, but you'll still get the bonus.
 
Status
Not open for further replies.
Top