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

@@ -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))