Changed folder name.
Changed folder name.
This commit is contained in:
18
_module/nss/darkdeath.nss
Normal file
18
_module/nss/darkdeath.nss
Normal file
@@ -0,0 +1,18 @@
|
||||
#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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user