Aschbourne_PRC8/_module/nss/vamp_death2undth.nss
GetOffMyYarn 69879d6957 Areas and Fixes
Added CCOH and missing areas
Changed some areas to be craftable,
Fixed some on death issues,
Fixed the Gaurd
2024-08-30 11:38:44 -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.");
}