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:
@@ -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 );
|
||||
}
|
||||
|
Reference in New Issue
Block a user