Initial commit

Initial commit [v9.7]
This commit is contained in:
Jaysyn904
2025-04-03 12:54:47 -04:00
parent ff5835fcc7
commit ebc0c6a9b2
11298 changed files with 9432842 additions and 2 deletions

View File

@@ -0,0 +1,29 @@
#include "nw_i0_generic"
void main()
{
object oTarget;
object oSpawn;
// Get the creature who triggered this event.
object oPC = GetEnteringObject();
// Only fire for (real) PCs.
if ( !GetIsPC(oPC) || GetIsDMPossessed(oPC) )
return;
// Abort if the PC's total level is not at least 10.
if ( GetHitDice(oPC) < 12 )
return;
// Spawn "leviathan".
oTarget = GetWaypointByTag("WP_LEvthn_SPn");
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "leviathan", GetLocation(oTarget));
AssignCommand(oSpawn, DetermineCombatRound(oPC));
DestroyObject(OBJECT_SELF);
}