Battledale_PRC8/_module/nss/jw_undspr_usd.nss
Jaysyn904 7b9e44ebbb Initial upload
Initial upload.  PRC8 has been added.  Module compiles, PRC's default AI & treasure scripts have been integrated.  Started work on top hak for SLA / Ability / Scripting modifications.
2024-03-11 23:44:08 -04:00

16 lines
386 B
Plaintext

void main()
{
int nEvent=GetUserDefinedEventNumber();
if (nEvent==50)
{
location lLoc=GetLocation(OBJECT_SELF);
effect eVis = EffectVisualEffect(VFX_IMP_RAISE_DEAD);
object oSkelly=CreateObject(OBJECT_TYPE_CREATURE,"jw_und_spear_sk",lLoc);
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eVis, GetLocation(oSkelly));
SetPlotFlag(OBJECT_SELF,0);
DestroyObject(OBJECT_SELF);
}
}