Added several new undead models & facelifted overrides for other models. Added dozens of new undead creatures from Libris Mortis & the monster manuals. Added CODI Core AI. Added NESS spawner system. Added randomized respawning trap system. Added undead feeding system. Greatly revamped Catacombs & Halls of the Dead. Updated nimtools. Full compile. Updated release archive.
39 lines
1009 B
Plaintext
39 lines
1009 B
Plaintext
//::////////////////////////////////////////////////////////////////////////////
|
|
/*//
|
|
|
|
Labyrinth of Undeath
|
|
onExit script
|
|
labyrinth_onexit.nss
|
|
|
|
Wandering Monsters: Check once per 30 minutes on 1d20.
|
|
|
|
Detections: Strong evil from the whole place.
|
|
|
|
Continuous Effects: The evil energy of the labyrinth makes all PC's
|
|
require a Will save or be cursed. This check occurs every half
|
|
hour and the curse vanishes if the PC leaves the area.
|
|
|
|
*///
|
|
//::////////////////////////////////////////////////////////////////////////////
|
|
|
|
#include "spawn_functions"
|
|
|
|
void main()
|
|
{
|
|
//:: Declare major variables
|
|
object oPC = GetExitingObject();
|
|
object oArea = OBJECT_SELF;
|
|
|
|
effect eEffect = GetFirstEffect(oPC);
|
|
|
|
//:: Removes Labyrinth's Curse
|
|
while(GetIsEffectValid(eEffect))
|
|
{
|
|
if(GetEffectTag(eEffect) == "LabyrinthCurse")
|
|
RemoveEffect(oPC, eEffect);
|
|
eEffect = GetNextEffect(oPC);
|
|
}
|
|
|
|
//:: Run NESS clean-up
|
|
Spawn_OnAreaExit();
|
|
} |