AOC_PRC8/_module/nss/nt_remove.nss
Jaysyn904 5e558169a0 Initial Commit
Initial Commit
2025-04-03 11:24:16 -04:00

36 lines
1002 B
Plaintext

#include "strip"
void main()
{
object oPC = GetPCSpeaker();
SetLocalInt(GetModule(), "nord_mode", 0);
location lLocation = GetLocation(oPC);
ApplyEffectToObject(DURATION_TYPE_INSTANT,
EffectVisualEffect(VFX_IMP_DEATH), oPC);
ApplyEffectToObject(DURATION_TYPE_INSTANT,
EffectVisualEffect(VFX_FNF_SUMMON_EPIC_UNDEAD), oPC);
DestroyObject(GetItemPossessedBy(oPC, "nordock_token"), 0.0);
//FloatingTextStringOnCreature("Australis Token Removed", oPC);
SetLocalInt(GetModule(), "nordock", 0);
SetLocalInt(oPC, "wurmdead",0);
SetLocalInt(oPC, "balrogdead",0);
SetLocalInt(oPC, "doppledead",0);
SetLocalInt(oPC, "pitfienddead",0);
SetLocalInt(oPC, "hdfienddead",0);
SetLocalInt(oPC, "paledead",0);
SetLocalInt(oPC, "marilithdead",0);
SetLocalInt(oPC, "bossdead",0);
SetLocalInt(oPC, "lorddead",0);
SetLocalInt(oPC, "luciferdead",0);
InvStrip(oPC);
GearStrip(oPC);
DelayCommand(3.0, FloatingTextStringOnCreature("** AOC Mode Initiated **", oPC));
DelayCommand(3.0, PlaySound("sce_neutral"));
}