Module commit
Module commit.
This commit is contained in:
12
_module/nss/vamp_death2undth.nss
Normal file
12
_module/nss/vamp_death2undth.nss
Normal file
@@ -0,0 +1,12 @@
|
||||
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.");
|
||||
}
|
Reference in New Issue
Block a user