If setting the number of charges to 0 gives you unlimited charges, I'd suspect a bug in the code, it checks for PI_Count == 255 for an inifintely charged item.
As for what to set the PI_Count to, it can be -1 or 255, they both come out the same due to the type of variable used to store the number. The item editor does indeed set PI_Count back to -1 as I've got the type set as signed rather than unsigned by mistake. I'll update the item editor to fix it, but it won't make any functional difference to the item.
K.
|