Updated scripts to use MyPRCGetRacialType
Updated scripts to use MyPRCGetRacialType. Full compile.
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
|
||||
|
||||
#include "x0_i0_spells"
|
||||
#include "prc_inc_racial"
|
||||
|
||||
|
||||
void DoBeholderPetrify(int nDuration,object oSource, object oTarget, int nSpellID);
|
||||
@@ -75,7 +76,7 @@ void main()
|
||||
SignalEvent(oTarget,EventSpellCastAt(OBJECT_SELF,GetSpellId(),TRUE));
|
||||
fDelay = 0.0f; //old -- GetSpellEffectDelay(GetLocation(oTarget),OBJECT_SELF);
|
||||
|
||||
int iTargetRace = GetRacialType(oTarget);
|
||||
int iTargetRace = MyPRCGetRacialType(oTarget);
|
||||
|
||||
if ((nSpell == 786) && (
|
||||
((!GetIsPlayableRacialType(oTarget))
|
||||
|
Reference in New Issue
Block a user