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

11 lines
381 B
Plaintext

void main()
{
object oPC = GetPCSpeaker();
effect eVis = EffectVisualEffect(VFX_DUR_IOUNSTONE_RED);
float fDuration = IntToFloat(75 + Random(46));
TakeGoldFromCreature(10000, oPC, TRUE);
SetLocalString(oPC, "FV_SHOP_ACCESS", "FV_VIRGINBLOOD");
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eVis, oPC, fDuration);
DelayCommand(fDuration, DeleteLocalString(oPC, "FV_SHOP_ACCESS"));
}