Finished PRC8 integration

Finished PRC8 integration.  Moved creature abilities to top hak.  Setup tooling.  Created release archive
This commit is contained in:
Jaysyn904
2024-03-12 21:27:23 -04:00
parent 7b9e44ebbb
commit e5b3f6ad61
958 changed files with 1491 additions and 630 deletions

View File

@@ -16,6 +16,7 @@
#include "NW_I0_GENERIC"
//#include "array_api"
#include "rpo_inc"
#include "prc_inc_spells"
void main()
{
@@ -54,7 +55,7 @@ void main()
else if(GetIsEnemy(GetLastPerceived()) &&
GetLocalInt(GetLastPerceived(),"State") != PWS_PLAYER_STATE_PRISON)
{
if(!GetHasEffect(EFFECT_TYPE_SLEEP) && GetLocalInt(GetLastPerceived(),"PlayerState") != PWS_PLAYER_STATE_PRISON)
if(!PRCGetHasEffect(EFFECT_TYPE_SLEEP) && GetLocalInt(GetLastPerceived(),"PlayerState") != PWS_PLAYER_STATE_PRISON)
{
PrintString(GetName(OBJECT_SELF) + " perceived hostile creature " + GetName(GetLastPerceived()));
SetFacingPoint(GetPosition(GetLastPerceived()));