PGCC_PRC8/_module/nss/vat_setcharges.nss
Jaysyn904 e51634d39b Initial upload
Initial upload.
2024-10-09 14:17:22 -04:00

10 lines
229 B
Plaintext

void main()
{
object oPC = GetPCSpeaker();
object oItem = GetLocalObject(oPC, "MODIFY_ITEM");
int iCost = GetLocalInt(oPC, "iModifyCost");
TakeGoldFromCreature(iCost, oPC, TRUE);
SetItemCharges(oItem, 99);
}