2026/02/09 Update

Added and activated PRCX.
Updated PEPS.
Full compile.
This commit is contained in:
Jaysyn904
2026-02-09 00:54:31 -05:00
parent f8ba24ab71
commit e297540d10
1926 changed files with 54655 additions and 49859 deletions

View File

@@ -17,13 +17,12 @@
void main()
{
object oCreature = OBJECT_SELF;
//:: Disabled for World of Amon
//ExecuteScript("prc_npc_combat", oCreature);
ExecuteScript("prc_npc_combat", oCreature);
if(AI_DEBUG) ai_Debug("nw_c2_default3", "20", GetName(oCreature) + " ends combat round." +
" Current action: " + IntToString(GetCurrentAction(oCreature)));
if(GetSpawnInCondition(NW_FLAG_END_COMBAT_ROUND_EVENT))
{
SignalEvent(OBJECT_SELF, EventUserDefined(1003));
SignalEvent(OBJECT_SELF, EventUserDefined(EVENT_END_COMBAT_ROUND));
}
if(ai_Disabled(oCreature)) return;
// Action modes get cleared prior to each OnCombatRoundEnd!
@@ -60,7 +59,7 @@ void main()
}
if(ai_GetIsInCombat(oCreature))
{
ai_DoAssociateCombatRound (oCreature);
ai_DoMonsterCombatRound (oCreature);
return;
}
if(ai_GetBehaviorState(NW_FLAG_BEHAVIOR_SPECIAL)) ai_DetermineSpecialBehavior(oCreature);