PWE_PRC8/_module/nss/galblesstoken.nss
Jaysyn904 ee1dc35889 Initial Commit
Initial Commit
2025-04-03 10:29:41 -04:00

10 lines
369 B
Plaintext

void main()
{
effect eVis2 = EffectVisualEffect(VFX_IMP_SUNSTRIKE);
ApplyEffectToObject(DURATION_TYPE_INSTANT, eVis2, GetPCSpeaker());
object oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "TokenofPossession");
if(GetIsObjectValid(oItemToTake) != 0)
DestroyObject(oItemToTake);
CreateItemOnObject("tokenofposses001", GetPCSpeaker(), 1);
}