Update for PRC8 parity

Update for PRC8 parity.  Full compile.
This commit is contained in:
Jaysyn904
2025-02-08 14:10:00 -05:00
parent 445bed95fa
commit 00d2c183e8
25 changed files with 25 additions and 25 deletions

View File

@@ -238,9 +238,9 @@ void main()
AddItemEnhancementEffect(oOffHand, fDuration, 1);
break;
case SPELL_GREATER_MAGIC_WEAPON:
AddItemEnhancementEffect(oWeapon, fDuration, min(nCasterLvl/3, 3));
AddItemEnhancementEffect(oWeapon, fDuration, PRCMin(nCasterLvl/3, 3));
if (nApplyToOffHand)
AddItemEnhancementEffect(oOffHand, fDuration, min(nCasterLvl/3, 3));
AddItemEnhancementEffect(oOffHand, fDuration, PRCMin(nCasterLvl/3, 3));
break;
case SPELL_KEEN_EDGE:
AddKeenEffectToWeapon(oWeapon, fDuration);