Rune_PRC8/_module/nss/fv_shop_conv10.nss
Jaysyn904 d1c309ae63 Initial commit
Initial commit
2024-09-13 09:10:39 -04:00

11 lines
380 B
Plaintext

void main()
{
object oPC = GetPCSpeaker();
effect eVis = EffectVisualEffect(VFX_DUR_IOUNSTONE_BLUE);
float fDuration = IntToFloat(65 + Random(56));
TakeGoldFromCreature(200, oPC, TRUE);
SetLocalString(oPC, "FV_SHOP_ACCESS", "FV_NORMALBLOOD");
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eVis, oPC, fDuration);
DelayCommand(fDuration, DeleteLocalString(oPC, "FV_SHOP_ACCESS"));
}