- Joined
- Mar 26, 2005
- Messages
- 790
When hero uses an item, I need to replace it with another item in the same inventory slot
like
E:unit cast an ability X
C:abilit is ITEM_X
A:remove item ITEM_X from hero
create item ITEM_Z for hero
issue hero to place ITEM_Z to inventory slot x (x=inventory slot, where the item_x originally was)
but the last line is not as an option in gui.
like
E:unit cast an ability X
C:abilit is ITEM_X
A:remove item ITEM_X from hero
create item ITEM_Z for hero
issue hero to place ITEM_Z to inventory slot x (x=inventory slot, where the item_x originally was)
but the last line is not as an option in gui.