PRC integrations

PRC integrations.
This commit is contained in:
Jaysyn904 2022-09-30 13:52:31 -04:00
parent 0b86a6485c
commit e52b711402
6 changed files with 7 additions and 6 deletions

Binary file not shown.

Binary file not shown.

View File

@ -46,7 +46,7 @@ void main()
return;
}
if(!MySavingThrow(SAVING_THROW_FORT, oTarget, 16, SAVING_THROW_TYPE_NONE))
if(!PRCMySavingThrow(SAVING_THROW_FORT, oTarget, 16, SAVING_THROW_TYPE_NONE))
{
//Apply the VFX impact and effects
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eLink, oTarget, RoundsToSeconds(nDuration));

View File

@ -228,7 +228,6 @@ void main()
//Trample
case 8:
nDC = 10 + (nHD / 2) + nStrength;
// if(!MySavingThrow(SAVING_THROW_REFLEX, oTarget, nDC))
if(ReflexSave(oTarget, nDC, SAVING_THROW_TYPE_ALL, OBJECT_SELF) == 0)
{
//Determine creature appearance.

View File

@ -14,8 +14,10 @@
//:://////////////////////////////////////////////
#include "x0_i0_spells"
//#include "x2_i0_spells"
#include "x0_i0_henchman"
#include "prc_inc_racial"
#include "prc_inc_spells"
void DoBeholderPetrify(int nDuration,object oSource, object oTarget, int nSpellID);
@ -90,11 +92,11 @@ void main()
if (nSave == SAVING_THROW_WILL)
{
bSave = MySavingThrow(SAVING_THROW_WILL,oTarget, nSaveDC,SAVING_THROW_TYPE_ALL,OBJECT_SELF,fDelay) >0;
bSave = PRCMySavingThrow(SAVING_THROW_WILL,oTarget, nSaveDC,SAVING_THROW_TYPE_ALL,OBJECT_SELF,fDelay) >0;
}
else if (nSave == SAVING_THROW_FORT)
{
bSave = MySavingThrow(SAVING_THROW_FORT,oTarget, nSaveDC,SAVING_THROW_TYPE_ALL,OBJECT_SELF,fDelay) >0;
bSave = PRCMySavingThrow(SAVING_THROW_FORT,oTarget, nSaveDC,SAVING_THROW_TYPE_ALL,OBJECT_SELF,fDelay) >0;
}
if (!bSave)
@ -190,7 +192,7 @@ void DoBeholderPetrify(int nDuration,object oSource, object oTarget, int nSpellI
if(!GetIsReactionTypeFriendly(oTarget) && !GetIsDead(oTarget))
{
// * exit if creature is immune to petrification
if (spellsIsImmuneToPetrification(oTarget) == TRUE)
if (PRCIsImmuneToPetrification(oTarget) == TRUE)
{
return;
}

Binary file not shown.