generated from Jaysyn/ModuleTemplate
Initial Commit
Initial Commit
This commit is contained in:
24
_module/nss/ondeath_shiva.nss
Normal file
24
_module/nss/ondeath_shiva.nss
Normal file
@@ -0,0 +1,24 @@
|
||||
#include "spawner"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oMod = GetModule();
|
||||
object oPC = GetLastKiller();
|
||||
int od1 = GetLocalInt(oMod, "d1");
|
||||
int od2 = GetLocalInt(oMod, "d2");
|
||||
int od3 = GetLocalInt(oMod, "d2a");
|
||||
int od4 = GetLocalInt(oMod, "d3");
|
||||
int od5 = GetLocalInt(oMod, "d4");
|
||||
int od6 = GetLocalInt(oMod, "d5");
|
||||
|
||||
|
||||
if ((od1==1)||(od2==1)||(od3==1)||(od4==1)||(od5==1)||
|
||||
(od6==1))
|
||||
{
|
||||
ExecuteScript("b_balordeth1", OBJECT_SELF);
|
||||
}
|
||||
else
|
||||
{
|
||||
ExecuteScript("balordeth1", OBJECT_SELF);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user