Zurtrogx
Active Member
- Reaction score
- 24
Problem status: SOLVED
______________________________________________________________
Some of you may have experienced (or may have not) that now and again you purchase an item that you didn't required and, because of the way the map is designed, your only option (other than using it) is to sell it back to the shop, usually at 50% of the initially cost.
Now, in my map, I want to have a function so that if something like this does happen, you can type a special command that sells the last item for 100% of the initially cost.
My question is, how do you determine how much the item sells for?
Because I cannot seem to find an "Item - Gold Cost" or anything like that in the triggering interface. Is there a JASS way to determine the item cost?
______________________________________________________________
Some of you may have experienced (or may have not) that now and again you purchase an item that you didn't required and, because of the way the map is designed, your only option (other than using it) is to sell it back to the shop, usually at 50% of the initially cost.
Now, in my map, I want to have a function so that if something like this does happen, you can type a special command that sells the last item for 100% of the initially cost.
My question is, how do you determine how much the item sells for?
Because I cannot seem to find an "Item - Gold Cost" or anything like that in the triggering interface. Is there a JASS way to determine the item cost?