EN6_PRC8/_module/nss/tst_death.nss
Jaysyn904 a6f6db7303 Initial commit
Initial commit.  Updated release archive.
2024-06-13 15:08:33 -04:00

19 lines
759 B
Plaintext

void main()
{
object oHench=OBJECT_SELF;
SendMessageToPC(GetFirstPC(),"Check Hench=" + GetName(oHench) + " | Master = " + GetName(GetMaster(oHench)));
SendMessageToPC(GetFirstPC(),"Rez=" + IntToString(GetHasSpell(SPELL_RESURRECTION)) + " | Raise = " + IntToString(GetHasSpell(SPELL_RAISE_DEAD)));
ClearAllActions();
ActionCastSpellAtObject(SPELL_RESURRECTION,GetMaster(oHench),METAMAGIC_ANY,TRUE);
//nw_i0_generic
//AssignCommand(oHench, ClearAllActions());
//AssignCommand(oHench,ActionCastSpellAtObject(SPELL_RESURRECTION,GetMaster(oHench),METAMAGIC_ANY,TRUE));
//DelayCommand(0.1,AssignCommand(oHench,ActionCastSpellAtObject(SPELL_RESURRECTION,oPlayer)));
//DelayCommand(0.1,AssignCommand(oHench,ActionCastSpellAtObject(SPELL_RAISE_DEAD,oPlayer)));
}