LoD_PRC8/_module/nss/jailer_death.nss
Jaysyn904 94990edc60 Initial Upload
Initial Upload
2023-09-21 21:20:34 -04:00

19 lines
308 B
Plaintext

void main()
{
object oDrop;
object oTarget= OBJECT_SELF;
location lTarget= GetLocation(OBJECT_SELF);
ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_HARM ), oTarget);
oDrop= CreateObject(OBJECT_TYPE_PLACEABLE,"JailersReward",lTarget);
CreateItemOnObject("JailersKey",oDrop);
}