- Joined
- Jun 16, 2006
- Messages
- 8
Hi im wondering how to make this trigger?
clicks on item (has upgrade skill)
trigger checks item n resource
if meets requirement then removes item n gives upgraded item
i made this trigger but tested it doesnt work
upgrade 1
Events
Unit - A unit Uses an item
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Item-type of (Item being manipulated)) Equal to Claws of Attack +3) and (((Owner of (Hero manipulating item)) Current lumber) Greater than or equal to 30)
Then - Actions
Wait 1.00 seconds
Item - Remove (Item carried by (Hero manipulating item) of type Claws of Attack +3)
Hero - Create Claws of Attack +6 and give it to (Hero manipulating item)
Player - Add -30 to (Owner of (Hero manipulating item)) Current lumber
Else - Actions
Do nothing
clicks on item (has upgrade skill)
trigger checks item n resource
if meets requirement then removes item n gives upgraded item
i made this trigger but tested it doesnt work
upgrade 1
Events
Unit - A unit Uses an item
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Item-type of (Item being manipulated)) Equal to Claws of Attack +3) and (((Owner of (Hero manipulating item)) Current lumber) Greater than or equal to 30)
Then - Actions
Wait 1.00 seconds
Item - Remove (Item carried by (Hero manipulating item) of type Claws of Attack +3)
Hero - Create Claws of Attack +6 and give it to (Hero manipulating item)
Player - Add -30 to (Owner of (Hero manipulating item)) Current lumber
Else - Actions
Do nothing