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();
@@ -415,7 +416,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);
@@ -467,7 +468,7 @@ int nFoundchair=0;
{
if (GetHasEffect(EFFECT_TYPE_SLEEP))
if (PRCGetHasEffect(EFFECT_TYPE_SLEEP))
{
effect eSleep = GetFirstEffect(OBJECT_SELF);
// scroll through my current effects
@@ -829,7 +830,7 @@ void jw_forcewake()
object oTarget;
// if I am asleep
if (GetHasEffect(EFFECT_TYPE_SLEEP))
if (PRCGetHasEffect(EFFECT_TYPE_SLEEP))
{
effect eSleep = GetFirstEffect(OBJECT_SELF);