I saw the post on PEQ and put in a fix before I saw your post
I'll update it with your refinement to calculate the singleprice once (it did occur to me to do that, but I was being lazy and didn't realize it would fix the other issue you mention).
Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.