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.
This commit is contained in:
15
_module/nss/jw_undspr_usd.nss
Normal file
15
_module/nss/jw_undspr_usd.nss
Normal file
@@ -0,0 +1,15 @@
|
||||
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);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user