how to restrict items?

Status
Not open for further replies.

perez94

P

perez94

Hello:
how can i made that a hero needs to be at some specific level to buy a item, if the hero isn't at that level, it cant buy that item. Like diablo maps, they restrict from clases (paladin,barbarian,etc), i wanna restrict from level of the hero.

Thanks.

PD: sorry for my english, i am argentinian.
:D
 
Untitled Trigger 001
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Sold Item)) Equal to Claws of Attack +15
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Hero level of (Buying unit)) Greater than or equal to 5
Then - Actions
Do nothing
Else - Actions
Item - Remove (Sold Item)
 
perez, triggering is 1 of the most important things in a map. If you can't make triggers, then go look for a triggerer who will do it for the entire map. This mean he/she is part of your team, so don't treat it like a single request.
 
perez, triggering is 1 of the most important things in a map. If you can't make triggers, then go look for a triggerer who will do it for the entire map. This mean he/she is part of your team, so don't treat it like a single request.

ok I'll search for somebody

Untitled Trigger 001
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Sold Item)) Equal to Claws of Attack +15
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Hero level of (Buying unit)) Greater than or equal to 5
Then - Actions
Do nothing
Else - Actions
Item - Remove (Sold Item)

, thanks a lot :)

You answer very fast! :)
 
Status
Not open for further replies.
Back
Top