Fix #330 - fix charge and use to correctly decrement in inventory and/or remove item. Should never call RemoveItem or DeleteItem in LUA use of an Item. Items with a charge count (not a physical stack of items) will now count down their charges to 0 and display 'This item is out of charges.' Items with an actual stack amount (eg. stack count is larger than 1) will remove an item with each 'use' down to 0 which removes the final item in the stack. display_charges is no longer required for the "use" function to be called (before we were decrementing display charges when the "use" function was called, which was always after 1). Now rely on the item->details.count Fix #328 - broker display issues (some not all) tier 0 items do not display 2h item types do not work Max charges when you buy an item with a charge count Additional missing items seen on broker: Gust of insight... min_skill and max_skill is a range of 0-6 from client->server, all the way back to classic. Classic UI has it, obselete is 0, 6 goes to unusable (red) for the player. The items skill items to not match this range, they are actual skill values. 1h item types show both 1h/2h weapons (now 1h and 2h are separated) |
||
---|---|---|
.. | ||
devtools | ||
docs | ||
source | ||
utils | ||
win |