Updated for NWNEE 37-13

Updated for NWNEE 37-13.  Updated NWNxEE scripts.  CODI Core AI tweaks.  Added Diamond Golem AI.  Full compile.  Updated release archive.
This commit is contained in:
Jaysyn904
2025-01-10 19:01:12 -05:00
parent 37c79b6d57
commit ce72b8d120
685 changed files with 6642 additions and 7699 deletions

View File

@@ -1,4 +1,5 @@
#include "no_inc_ptypes"
#include "prc_inc_racial"
//functions
void AddBehaviour( string sB, int iC, object oEnt=OBJECT_SELF )
@@ -293,7 +294,7 @@ int GetLastActionTimestamp( object oE=OBJECT_SELF )
void SetCorpseDelay( int iT=60, object oC=OBJECT_SELF )
{
if ( GetRacialType( oC ) != RACIAL_TYPE_UNDEAD && GetStringLeft( GetTag( oC ), 6 ) != "NO_AI_" &&
if ( MyPRCGetRacialType( oC ) != RACIAL_TYPE_UNDEAD && GetStringLeft( GetTag( oC ), 6 ) != "NO_AI_" &&
GetName( GetItemInSlot( INVENTORY_SLOT_CARMOUR, oC ) ) != "Gargoyle Properties" )
{
//not summoned, not undead, default decay time
@@ -304,7 +305,7 @@ void SetCorpseDelay( int iT=60, object oC=OBJECT_SELF )
void SetIsFlier( int iF=FALSE, object oF=OBJECT_SELF )
{
if ( iF == TRUE || GetRacialType( oF ) == RACIAL_TYPE_DRAGON )
if ( iF == TRUE || MyPRCGetRacialType( oF ) == RACIAL_TYPE_DRAGON )
{
SetLocalInt( oF, "FLIER", 1 );
}