AI update

Minor AI update.  Chicken infestation removal.  Full compile.
This commit is contained in:
Jaysyn904
2023-04-06 22:59:52 -04:00
parent 3c55cd5681
commit 4ee27814df
1669 changed files with 177 additions and 21 deletions

View File

@@ -21,11 +21,11 @@
void main()
{
//ExecuteScript("prc_npc_hb", OBJECT_SELF); Disabled because of chickens.
// * if not runnning normal or better Ai then exit for performance reasons
if (GetAILevel() == AI_LEVEL_VERY_LOW) return;
ExecuteScript("prc_npc_hb", OBJECT_SELF);
// Buff ourselves up right away if we should
if(GetSpawnInCondition(NW_FLAG_FAST_BUFF_ENEMY))
{

View File

@@ -12,11 +12,10 @@
void main()
{
ExecuteScript("prc_npc_percep", OBJECT_SELF);
// * if not runnning normal or better Ai then exit for performance reasons
// * if not runnning normal or better Ai then exit for performance reasons
if (GetAILevel() == AI_LEVEL_VERY_LOW) return;
ExecuteScript("prc_npc_percep", OBJECT_SELF);
object oPercep = GetLastPerceived();
int bSeen = GetLastPerceptionSeen();