Removed JAI

Removed JAI, added CODI AI.  Fixed encounters & NPCs in Forest of Hope Central.  Fixed Outcast store not opening.  Added Druid Grove & associated NPCS.
This commit is contained in:
Jaysyn904
2022-12-04 01:43:33 -05:00
parent 9a3a98bf52
commit f143ccfc24
353 changed files with 136542 additions and 85666 deletions

View File

@@ -1,37 +0,0 @@
/*/////////////////////// [On Combat Round End] ////////////////////////////////
Filename: nw_c2_default3 or J_AI_OnCombatrou
///////////////////////// [On Combat Round End] ////////////////////////////////
This is run every 3 or 6 seconds, if the creature is in combat. It is
executed only in combat automatically.
It runs what the AI should do, bascially.
///////////////////////// [History] ////////////////////////////////////////////
1.3 - Executes same script as the other parts of the AI to cuase a new action
1.4 -
///////////////////////// [Workings] ///////////////////////////////////////////
Calls the combat AI file using the J_INC_OTHER_AI include function,
DetermineCombatRound.
///////////////////////// [Arguments] //////////////////////////////////////////
Arguments: GetAttackTarget, GetLastHostileActor, GetAttemptedAttackTarget,
GetAttemptedSpellTarget (Or these are useful at least!)
///////////////////////// [On Combat Round End] //////////////////////////////*/
#include "J_INC_OTHER_AI"
void main()
{
// Pre-combat-round-event. Returns TRUE if we interrupt this script call.
if(FirePreUserEvent(AI_FLAG_UDE_END_COMBAT_ROUND_PRE_EVENT, EVENT_END_COMBAT_ROUND_PRE_EVENT)) return;
// AI status check. Is the AI on?
if(GetAIOff()) return;
// It is our normal call (every 3 or 6 seconds, when we can change actions)
// so no need to delete, and we fire the UDE's.
// Determine combat round against an invalid target (as default)
DetermineCombatRound();
// Fire End of end combat round event
FireUserEvent(AI_FLAG_UDE_END_COMBAT_ROUND_EVENT, EVENT_END_COMBAT_ROUND_EVENT);
}