Updated scripts to use MyPRCGetRacialType
Updated scripts to use MyPRCGetRacialType. Full compile.
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
//:://////////////////////////////////////////////
|
||||
#include "69_hench_lib"
|
||||
#include "NW_I0_SPELLS"
|
||||
#include "prc_inc_racial"
|
||||
void main()
|
||||
{
|
||||
//Declare major variables
|
||||
@@ -39,7 +40,7 @@ void main()
|
||||
object oArea = GetArea(oTarget);
|
||||
int nCHP = GetLocalInt(oArea, "nCHP" +sTag);
|
||||
//Check if the target is an undead
|
||||
if(GetRacialType(oTarget) == RACIAL_TYPE_UNDEAD)
|
||||
if(MyPRCGetRacialType(oTarget) == RACIAL_TYPE_UNDEAD)
|
||||
{
|
||||
//Fire cast spell at event for the specified target
|
||||
SignalEvent(oTarget, EventSpellCastAt(OBJECT_SELF, SPELLABILITY_LAY_ON_HANDS));
|
||||
|
||||
Reference in New Issue
Block a user