Updated for updated PRC8 functions

Updated for updated PRC8 functions.  Full compile.  Updated spell & ability haks. Updated release archive.
This commit is contained in:
Jaysyn904
2025-02-10 08:51:10 -05:00
parent ce72b8d120
commit 855e99b13b
188 changed files with 335 additions and 335 deletions

View File

@@ -56,7 +56,7 @@ void main()
int nAbilityScore = GetAbilityScoreForClass(nClassType, oPC);
int nAttackBonus = (2 + nCasterLvl + (nAbilityScore - 10)/2 );
int nTripBonus = min(20,(nCasterLvl/3));
int nTripBonus = PRCMin(20,(nCasterLvl/3));
int iAttackRoll = GetAttackRoll(oTarget, OBJECT_INVALID, OBJECT_INVALID, 0, nAttackBonus,0,nDisplayFeedback, 0.0, TOUCH_ATTACK_MELEE_SPELL);
if (iAttackRoll > 0)
@@ -67,7 +67,7 @@ void main()
//save
if(!PRCMySavingThrow(SAVING_THROW_REFLEX, oTarget, PRCGetSaveDC(oTarget, oPC), SAVING_THROW_TYPE_SPELL))
{
int nOpposing = d20() + (max(GetAbilityModifier(ABILITY_STRENGTH, oTarget), GetAbilityModifier(ABILITY_DEXTERITY, oTarget))) + EvalSizeBonus(oTarget);
int nOpposing = d20() + (PRCMax(GetAbilityModifier(ABILITY_STRENGTH, oTarget), GetAbilityModifier(ABILITY_DEXTERITY, oTarget))) + EvalSizeBonus(oTarget);
int nCheck = d20() + 2 + nTripBonus;
if(nCheck > nOpposing)