generated from Jaysyn/ModuleTemplate
Initial Commit
Initial Commit
This commit is contained in:
25
_module/nss/ondeath_lucifer.nss
Normal file
25
_module/nss/ondeath_lucifer.nss
Normal file
@@ -0,0 +1,25 @@
|
||||
#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))
|
||||
{
|
||||
//Message(4.0, "bossdeath3", oPC);
|
||||
ExecuteScript("bossdeath3", OBJECT_SELF);
|
||||
}
|
||||
else
|
||||
{
|
||||
//Message(4.0, "luciferdeath", oPC);
|
||||
ExecuteScript("luciferdeath", OBJECT_SELF);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user