PoA_PRC8/_module/nss/rhazhiddeath.nss
Jaysyn904 f5a98c2d22 Changed XP system over to PnP XP system
Changed XP system over to PnP XP system.  Updated NWNxEE scripts.  Full compile.  Updated public release archive.
2024-03-13 21:52:56 -04:00

20 lines
626 B
Plaintext

#include "NW_I0_GENERIC"
void main()
{
switch (d4()) {
case 1: SpeakString("I cannot truly die!"); break;
case 2: SpeakString("I will return!"); break;
case 3: SpeakString("I shall rest again for a while!"); break;
case 4: SpeakString("Peace, at last!");
}
if(GetSpawnInCondition(NW_FLAG_DEATH_EVENT))
{
SignalEvent(OBJECT_SELF, EventUserDefined(1007));
}
//ExecuteScript("sf_xp", OBJECT_SELF);
ExecuteScript("prc_npc_death", OBJECT_SELF);
ExecuteScript("prc_pwondeath", OBJECT_SELF);
}