Aschbourne_PRC8/_module/nss/spawn_dead.nss

14 lines
286 B
Plaintext
Raw Permalink Normal View History

2024-06-14 10:48:20 -04:00
/**
spawn_dead
OnSpawn: This creature will immediately die and leave a permanent body
J.D. Robertson, 2002
*/
void main()
{
SetIsDestroyable(FALSE, FALSE, FALSE);
SetCommandable(FALSE);
ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectDeath(), OBJECT_SELF);
}