• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

level 10 to equip an item

Status
Not open for further replies.
Level 5
Joined
Jan 13, 2008
Messages
96
hi...what can i do for level require for an item...i mean i want to put an item to sell at shop...when i buy it is in my inventory if i`m under level 10...i want an exactly trigger about this...if anyone can help me please :)
 

Vunjo

Hosted Project: SC
Level 14
Joined
Jul 1, 2010
Messages
1,340
I didn't get what you mean, but here is what you need to do.
[trigger=My Trigger]MyTrigger
Events
Unit - A unit Acquires an item
Conditions
And - All (Conditions) are true
Conditions
(Hero level of (Hero manipulating item)) Greater than 10
(Item-type of (Item being manipulated)) Equal to Claws of Attack +15
Actions
Hero - Drop (Item being manipulated) from (Hero manipulating item)[/trigger]

This will drop the item if the item is Claws of Attack, and if hero is greater level than 10.
Hope that helped.
 
Level 5
Joined
Jan 13, 2008
Messages
96
it doen`t work Maker...i did exactly how you said...when i buy the item from shop at level 1 it doen`t drop...it`s going in my inventory :(
 
Level 6
Joined
Jan 29, 2010
Messages
213
  • MyTrigger
  • Events
  • Unit - A unit Acquires an item
  • Conditions
  • (Hero level of (Hero manipulating item)) less than or equal to 9
  • (Item-type of (Item being manipulated)) Equal to Claws of Attack +15
  • Actions
  • Hero - Drop (Item being manipulated) from (Hero manipulating item)
...
 
Status
Not open for further replies.
Top