PRC integrations
PRC integrations.
This commit is contained in:
		| @@ -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)); | ||||
|   | ||||
| @@ -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. | ||||
|   | ||||
| @@ -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; | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user