54 lines
1.6 KiB
Plaintext
54 lines
1.6 KiB
Plaintext
#include "rank"
|
|
#include "eradicate"
|
|
|
|
void main()
|
|
{
|
|
object oMod = GetModule();
|
|
object oPC = GetItemActivator();
|
|
|
|
int iKilled = GetLocalInt (oPC,"iKilled");
|
|
SetLocalInt(oMod, "d1", 0);
|
|
SetLocalInt(oMod, "d2", 0);
|
|
SetLocalInt(oMod, "d2a", 0);
|
|
SetLocalInt(oMod, "d3", 0);
|
|
SetLocalInt(oMod, "d4", 0);
|
|
SetLocalInt(oMod, "d5", 0);
|
|
SetLocalInt(oMod, "sw_hw", 0);
|
|
SetLocalInt(oMod, "sw_dr", 0);
|
|
SetLocalInt(oMod, "sw_bl", 0);
|
|
SetLocalInt(oMod, "sw_pf", 0);
|
|
SetLocalInt(oMod, "sw_df", 0);
|
|
SetLocalInt(oMod, "sw_pm", 0);
|
|
SetLocalInt(oMod, "sw_bm", 0);
|
|
SetLocalInt(oMod, "sw_lm", 0);
|
|
SetLocalInt(oMod, "sw_ll", 0);
|
|
SetLocalInt(oMod, "sw_xx", 0);
|
|
SetLocalInt(oMod, "ch_hw", 0);
|
|
SetLocalInt(oMod, "ch_dr", 0);
|
|
SetLocalInt(oMod, "ch_bl", 0);
|
|
SetLocalInt(oMod, "ch_pf", 0);
|
|
SetLocalInt(oMod, "ch_df", 0);
|
|
SetLocalInt(oMod, "ch_pm", 0);
|
|
SetLocalInt(oMod, "ch_bm", 0);
|
|
SetLocalInt(oMod, "ch_lm", 0);
|
|
SetLocalInt(oMod, "ch_ll", 0);
|
|
SetLocalInt(oMod, "ch_xx", 0);
|
|
SetLocalInt(oMod, "gr_xx", 0);
|
|
SetLocalInt(oMod, "challenge", 0);
|
|
AssignCommand(oPC, PlaySound("sps_darkness"));
|
|
SetLocalInt(oPC, "doppledead", 1);
|
|
SetLocalInt(oPC, "pitfienddead", 1);
|
|
SetLocalInt(oPC, "wurmdead", 1);
|
|
SetLocalInt(oPC, "lorddead", 1);
|
|
SetLocalInt(oPC, "paledead", 1);
|
|
SetLocalInt(oPC, "luciferdead", 1);
|
|
SetLocalInt(oPC, "balrogdead", 1);
|
|
SetLocalInt(oPC, "hdfienddead", 1);
|
|
SetLocalInt(oPC, "bossdead", 1);
|
|
SetLocalInt(oPC, "marilithdead", 1);
|
|
//++iKilled;
|
|
//SetLocalInt (oPC,"iKilled", iKilled);
|
|
Eradicate(oPC);
|
|
//DelayCommand(3.0, GetRank(oPC));
|
|
}
|