- Joined
- Mar 16, 2018
- Messages
- 636
Event:
Unit gets item
And - all (conditions) are True
1.Item type of (item being manipulated) equal (insert your item)
2.Hero manipulating item has an item of type (insert your item) equal Yes
3.Item being manipulated not equal Item carried by hero manipulating item of type (insert your item)
Action:
1.Item set charges remaining in item carried by hero manipulating item of type (insert your item) to charges remaining in item carried by hero manipuilating item of type (insert your item) + charges remaining in item being manipulated
2.Item remove (item being manipulated)
3.If (all conditions are True) then do (then actions) else do (else actions)
1.Charges remaining in item carried by hero manipulating item of type (insert your item)
Then:
Item remove item carried by hero manipulating item of type (insert your item)
Hero - create (new item) and give it to Hero manipulating item
Item - make (last created item) invulnerable
Else:
Explanation:
It doesnt work. When i pick up items it gains charges, but when it becomes equal 5 it doesnt remove and doesnt give item to hero. It also may become more than 5
What I ask for:
I need when item charges remaining become 5, it is removed and adds whole new item.
Unit gets item
And - all (conditions) are True
1.Item type of (item being manipulated) equal (insert your item)
2.Hero manipulating item has an item of type (insert your item) equal Yes
3.Item being manipulated not equal Item carried by hero manipulating item of type (insert your item)
Action:
1.Item set charges remaining in item carried by hero manipulating item of type (insert your item) to charges remaining in item carried by hero manipuilating item of type (insert your item) + charges remaining in item being manipulated
2.Item remove (item being manipulated)
3.If (all conditions are True) then do (then actions) else do (else actions)
1.Charges remaining in item carried by hero manipulating item of type (insert your item)
Then:
Item remove item carried by hero manipulating item of type (insert your item)
Hero - create (new item) and give it to Hero manipulating item
Item - make (last created item) invulnerable
Else:
Explanation:
It doesnt work. When i pick up items it gains charges, but when it becomes equal 5 it doesnt remove and doesnt give item to hero. It also may become more than 5
What I ask for:
I need when item charges remaining become 5, it is removed and adds whole new item.