Aschbourne_PRC8/_module/vamp_dying.nss
GetOffMyYarn 8622e5ce08 Area Changes and other fixes
added areas and ccoh,
fixed some areas to work with crafting
fixed some on death issues
added server entry/ooc
2024-08-30 10:38:04 -04:00

13 lines
315 B
Plaintext

#include "vamp_subrace"
void main()
{
object oPC = GetLastPlayerDying();
if ((GetSubRace(oPC))== "Vampire")
{
PrintString("vamp_dying: " + GetName(oPC) + " is a vampire.");
//vamp_dead(GetLastPlayerDying());
ApplyEffectToObject(DURATION_TYPE_INSTANT,EffectDeath(),oPC);
}
}