Area Changes and other fixes

added areas and ccoh,
fixed some areas to work with crafting
fixed some on death issues
added server entry/ooc
This commit is contained in:
2024-08-30 10:38:04 -04:00
parent d39928374d
commit 8622e5ce08
17234 changed files with 0 additions and 4253346 deletions

View File

@@ -1,30 +0,0 @@
// Modification of NW_C2_DEFAULT3
// NPC will stay close to a waypoint named DefensePoint
#include "NW_I0_GENERIC"
#include "i_battle"
void main()
{
// Ignore everything and return to the waypoint once we get away from it
if (InBattle() &&
TooFarFrom("DefensePoint"))
{
return;
}
// Otherwise do default behavior
if(GetBehaviorState(NW_FLAG_BEHAVIOR_SPECIAL))
{
DetermineSpecialBehavior();
}
else if(!GetSpawnInCondition(NW_FLAG_SET_WARNINGS))
{
DetermineCombatRound();
}
if(GetSpawnInCondition(NW_FLAG_END_COMBAT_ROUND_EVENT))
{
SignalEvent(OBJECT_SELF, EventUserDefined(1003));
}
}