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

@@ -13,9 +13,12 @@
#include "jw_custom_spells"
#include "NW_I0_GENERIC"
#include "jw_privates_inc"
#include "prc_inc_racial"
void main()
{
ExecuteScript("prc_npc_userdef", OBJECT_SELF);
int nUser = GetUserDefinedEventNumber();
if(nUser == 1001) //HEARTBEAT
@@ -86,7 +89,7 @@ void main()
else if(nUser == 1002) // PERCEIVE
{
object oPC=GetLastPerceived();
if ((GetIsPC(oPC))&&(GetRacialType(oPC)!=RACIAL_TYPE_HALFLING))
if ((GetIsPC(oPC))&&(MyPRCGetRacialType(oPC)!=RACIAL_TYPE_HALFLING))
{
SetIsTemporaryEnemy(oPC,OBJECT_SELF,TRUE,600.0);
if (!GetIsFighting(OBJECT_SELF))