Quote:
Originally Posted by sorvani
i think you missed the point. a item with a maxcharges = -1 means it will never run out of charges, that is correct.
but when creating the item if the charges value passed to CreateBaseItem equals 0 then it is grabbing the amount of charges from the maxcharges of the item. This works for items with finite charges, but for an item with -1 maxcharges, the item that gets created will have -1 charges and be unusable.
|
items->maxcharges of -1 tells eqemu that there are unlimited charges
starting_items->item_charges is defined a tinyint datatype (0-255) as you said in PM
How would one go about placing an item in starting_items with unlimited charges in that case? Or impossible?
Curious, why does starting_items have anything more than itemid, gm and slot? I'm sure there is a perfectly good reason beyond my limited comprehension of the source, genuinely curious is all.