17 lines
621 B
Plaintext
17 lines
621 B
Plaintext
|
// 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;
|
||
|
}
|