Updated scripts to use MyPRCGetRacialType

Updated scripts to use MyPRCGetRacialType.  Full compile.
This commit is contained in:
Jaysyn904
2022-09-28 21:36:29 -04:00
parent 8994c41256
commit 0b86a6485c
81 changed files with 142 additions and 74 deletions

View File

@@ -32,6 +32,7 @@ Of course you don't have to use this method - its optional.
//:://////////////////////////////////////////////
#include "x2_inc_switches"
#include "x2_inc_spellhook"
#include "prc_inc_racial"
//Belker
void SmokeClaw(object oTarget, int nDC, int nRounds);
@@ -607,8 +608,8 @@ int GetIsLiving(object oTarget)
int bAlive;
//Constructs & Undead
if(GetRacialType(oTarget) == RACIAL_TYPE_CONSTRUCT ||
GetRacialType(oTarget) == RACIAL_TYPE_UNDEAD)
if(MyPRCGetRacialType(oTarget) == RACIAL_TYPE_CONSTRUCT ||
MyPRCGetRacialType(oTarget) == RACIAL_TYPE_UNDEAD)
{
return bAlive = FALSE;
}