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

@@ -1,4 +1,5 @@
#include "NW_I0_GENERIC"
#include "prc_inc_spells"
////
void jw_woken();
@@ -203,7 +204,7 @@ object oTarget;
if ((!IsInConversation(OBJECT_SELF))&&(!GetIsInCombat(OBJECT_SELF)))
{
// if I am asleep
if (GetHasEffect(EFFECT_TYPE_SLEEP))
if (PRCGetHasEffect(EFFECT_TYPE_SLEEP))
{
// get the nearest enemy creature to me
oTarget = GetNearestCreature(CREATURE_TYPE_PLAYER_CHAR,PLAYER_CHAR_IS_PC);
@@ -254,7 +255,7 @@ object oObject;
{ClearAllActions();}
if (GetHasEffect(EFFECT_TYPE_SLEEP))
if (PRCGetHasEffect(EFFECT_TYPE_SLEEP))
{
effect eSleep = GetFirstEffect(OBJECT_SELF);
// scroll through my current effects