Updated for updated PRC8 functions
Updated for updated PRC8 functions. Full compile. Updated spell & ability haks. Updated release archive.
This commit is contained in:
@@ -44,7 +44,7 @@ Created: 6/28/06
|
||||
|
||||
int GetERSpellResistance(int nCasterLvl)
|
||||
{
|
||||
int nSRBonus = min(nCasterLvl, 20);
|
||||
int nSRBonus = PRCMin(nCasterLvl, 20);
|
||||
int nIPConst;
|
||||
|
||||
switch(nSRBonus)
|
||||
@@ -81,7 +81,7 @@ void main()
|
||||
object oMyArmor = IPGetTargetedOrEquippedArmor(FALSE);
|
||||
int nCasterLvl = PRCGetCasterLevel(oPC);
|
||||
int nSR = GetERSpellResistance(nCasterLvl);
|
||||
int nArmor = min(nCasterLvl / 5, 8);
|
||||
int nArmor = PRCMin(nCasterLvl / 5, 8);
|
||||
float fDur = (60.0f * nCasterLvl);
|
||||
int nMetaMagic = PRCGetMetaMagicFeat();
|
||||
|
||||
|
Reference in New Issue
Block a user