12 lines
332 B
Plaintext
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);
|
|
}
|