I'm betting the qglobal flag in npc_types was set to 0 for the npc you wrote the quest for. I tested this a few minutes ago and noticed an NPC with qglobals disabled cannot get values, which would set it your value back each time as you experienced.
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.