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 :)
 
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.
 
[trigger=My Trigger]MyTrigger
Events
Unit - A unit Acquires an item
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]

Don't use the extra AND there :)
 
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 :(
 
  • 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.
Back
Top