Aschbourne_PRC8/_module/vamp_death2undth.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
498 B
Plaintext

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.");
}