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

12 lines
332 B
Plaintext

#include "x0_i0_partywide"
void main()
{
object oPC = GetLastOpenedBy();
effect eEffect = EffectVisualEffect(VFX_FNF_IMPLOSION, FALSE);
location lLoc = GetLocation(OBJECT_SELF);
GiveXPToAll(oPC, 1000);
ApplyEffectAtLocation(DURATION_TYPE_PERMANENT, eEffect, lLoc, 0.0f);
DestroyObject(OBJECT_SELF, 0.0f);
}