Eu tava vendo um pedido bem antigo aquii e eu acho que talvez isso sirva? (acho que e o que você falo Query).
local hp,mana = (getVocationInfo(voc_ID).healthGain*getPlayerLevel(cid)),(getVocationInfo(voc_ID).manaGain*getPlayerLevel(cid)) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `manamax` = "..mana..",`health` = "..hp..", `healthmax` = "..hp..",`mana` = "..mana.." WHERE `id` = "..pid)
Sera que da pra fazer pra que so aumente o HP no lugar da mana