generated from Jaysyn/ModuleTemplate
Initial Commit
Initial Commit
This commit is contained in:
23
_module/nss/ondeath_tyriel.nss
Normal file
23
_module/nss/ondeath_tyriel.nss
Normal file
@@ -0,0 +1,23 @@
|
||||
#include "spawner"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oMod = GetModule();
|
||||
object oPC = GetLastKiller();
|
||||
int oDss1 = GetLocalInt(oMod, "d1");
|
||||
int oDss2 = GetLocalInt(oMod, "d2");
|
||||
int oDss3 = GetLocalInt(oMod, "d2a");
|
||||
int oDss4 = GetLocalInt(oMod, "d3");
|
||||
int oDss5 = GetLocalInt(oMod, "d4");
|
||||
int oDss6 = GetLocalInt(oMod, "d5");
|
||||
|
||||
if ((oDss1==1)||(oDss2==1)||(oDss3==1)||(oDss4==1)||(oDss5==1)||
|
||||
(oDss6==1))
|
||||
{
|
||||
ExecuteScript("tyrieldeath", OBJECT_SELF);
|
||||
}
|
||||
else
|
||||
{
|
||||
ExecuteScript("tyrieldeath2", OBJECT_SELF);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user