Finished PRC8 integration
Finished PRC8 integration. Moved creature abilities to top hak. Setup tooling. Created release archive
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user