Aschbourne_PRC8/_module/nss/vamp_justturned.nss

17 lines
621 B
Plaintext
Raw Permalink Normal View History

2024-06-14 10:48:20 -04:00
// this one check to see if they have just been turned...
// because HABD shouldn't be used if they are a Vampire.
int dr_ifVampireReturn (object oPC, string sStuffToPrint);
// this code prints out that a vampire inappropriately got to the habd
// death system. In part, this is normal.
int dr_ifVampireReturn (object oPC, string sStuffToPrint)
{
// DAVIDBEOULVE: if they are a vampire, this script shouldn't keep calling itself.
if ((GetSubRace(oPC))== "Vampire")
{
PrintString("habd_onpcdeath: |" + GetName(oPC) + " was a Vampire| " + sStuffToPrint);
return TRUE;
}
return FALSE;
}