- Joined
- Mar 17, 2012
- Messages
- 582
Hi everyone again!)
Now I have a trouble with craft "Vanguard" from dota... well it doesn't metter if anyone doesn't know what it gives...
To craft it hero needs:
2 rings of regeneration;
Poorman's shield
Recipe.
BUT
I can craft it even if I have 1 Ring of regeneration in my inventory (not two)...
here is my rtigger:
Now I have a trouble with craft "Vanguard" from dota... well it doesn't metter if anyone doesn't know what it gives...
To craft it hero needs:
2 rings of regeneration;
Poorman's shield
Recipe.
BUT
I can craft it even if I have 1 Ring of regeneration in my inventory (not two)...
here is my rtigger:
-
Vanguard
-
Events
- Unit - A unit Sells an item (from shop)
-
Conditions
- (Item-type of (Sold Item)) Equal to Recipe: Vanguard
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (((Buying unit) has an item of type Ring of Regeneration) Equal to True) and (((Buying unit) has an item of type Ring of Regeneration) Equal to True)
- ((Buying unit) has an item of type Poor Man's Shield) Equal to True
-
Then - Actions
- Item - Remove (Item carried by (Buying unit) of type Ring of Regeneration)
- Item - Remove (Item carried by (Buying unit) of type Ring of Regeneration)
- Item - Remove (Item carried by (Buying unit) of type Poor Man's Shield)
- Hero - Create Vanguard and give it to (Buying unit)
-
Else - Actions
- Hero - Create Recipe: Vanguard and give it to (Buying unit)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events