Updated scripts to use MyPRCGetRacialType
Updated scripts to use MyPRCGetRacialType. Full compile.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user