Aschbourne_PRC8/_module/nss/vamp_death2undth.nss

13 lines
498 B
Plaintext
Raw Normal View History

2024-06-14 10:48:20 -04:00
void vamp_death2undeath(object oPC, object oTarget)
{
if (GetIsObjectValid(oTarget)
&& GetSubRace(oTarget)=="Vampire"
&& GetCampaignInt("Vampire", "VampIsDead", oTarget) == TRUE )
{
SetCampaignInt("Vampire", "VampIsDead", FALSE, oTarget);
SendMessageToAllDMs(GetName(oTarget)+": DEATH to UNDEATH wand used. This Vampire is now undead again.");
}
else
SendMessageToPC(oPC,"Not a valid target of the Death to Undeath wand.");
}