PoA_PRC8/_module/nss/darkdeath.nss

21 lines
517 B
Plaintext
Raw Normal View History

2022-10-07 14:20:31 -04:00
#include "NW_I0_GENERIC"
void main()
{
object oDoor = GetObjectByTag("vaultdoor1");
AssignCommand(oDoor, ActionOpenDoor(oDoor));
object oKiller = GetLastKiller();
int noleech = 0;
int nClass = GetLevelByClass(CLASS_TYPE_COMMONER);
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);
2022-10-07 14:20:31 -04:00
}