diff --git a/COM_3PPPack_PathOfWar - Classes.user b/COM_3PPPack_PathOfWar - Classes.user index ee87cc8..9601d26 100644 --- a/COM_3PPPack_PathOfWar - Classes.user +++ b/COM_3PPPack_PathOfWar - Classes.user @@ -1356,25 +1356,26 @@ - - 0) - -~ Combat Reflexes: Use INT instead of DEX -hero.child[fComRef].field[abValue].value = 1 + maximum(hero.child[aINT].field[aModBonus].value, 0) + + + + + 0) -~ Threatened area while in Defensive Focus: 5ft + 5ft per 5 IL -var IL as number -var extraArea as number -IL = hero.child[mHelpPW3].field[cIL].value -extraArea = 5 * round(IL/5,0,-1) -field[abValue].value = 5 + maximum(5, extraArea) + ~ Allow Combat Reflexes uses to be tracked in the In-Play tab + hero.childfound[fComRef].field[trkMax].value += #value[fComRef] + ~ Threatened area while in Defensive Focus: 5ft + 5ft per 5 IL + var extraArea as number + extraArea = 5 * round(hero.child[mHelpPW3].field[cIL].value/5,0,-1) + field[abValue].value += 5 + maximum(5, extraArea) -~ CMD bonus vs. enemy Acro to avoid AoO: INT + Warder level -field[abValue2].value = #attrmod[aINT] + field[xAllLev].value -#situational[hero.childfound[ManeuvDef],signed(field[abValue2].value) & " vs. enemy Acrobatics checks to avoid provoking AoO",field[thingname].text]]]> + ~ CMD bonus vs. enemy Acrobatics to avoid AoO: INT + Warder level + field[abValue2].value += #attrmod[aINT] + field[xAllLev].value + #situational[hero.childfound[ManeuvDef],signed(field[abValue2].value) & " vs. enemy Acrobatics checks to avoid provoking AoO",field[thingname].text]]]> - 0)]]> @@ -1398,38 +1396,35 @@ doneif (tagis[Helper.SpcDisable] <> 0)]]> - 1) -~ if we've been disabled, get out now -doneif (tagis[Helper.SpcDisable] <> 0) + ~only perform the calculations for the first copy + doneif (tagis[Helper.FirstCopy] = 0) -~ AC/save bonus increases by +1 for each copy of this ability -field[abValue].value += field[xCount].value -hero.child[xPWAegis].field[abValue].value = field[abValue].value + ~ If we're not shown, just get out now + doneif (tagis[Helper.ShowSpec] <> 1) + ~ if we've been disabled, get out now + doneif (tagis[Helper.SpcDisable] <> 0) -~ Base radius is 10', but Improved and Greater Aegis each increase that by 10' -~ We store the initial range in abValue2 so that Improved and Greater can refer to it for display purposes -field[abRange].value = field[abValue2].value -if (hero.childfound[cPW3ImpAeg].tagis[Helper.ShowSpec] <> 0) then - field[abRange].value += hero.child[cPW3ImpAeg].field[abValue].value -endif -if (hero.childfound[cPW3GrtAeg].tagis[Helper.ShowSpec] <> 0) then - field[abRange].value += hero.child[cPW3GrtAeg].field[abValue].value -endif + ~ AC/save bonus increases by +1 for each copy of this ability + field[abValue].value += field[xCount].value + hero.child[xPWAegis].field[abValue].value = field[abValue].value -~notify "Has Improved Aegis: " & #hasfeat[cPW3ImpAeg] -~notify "Has Greater Aegis: " & hero.tagis[HasAbility.cPW3GrtAeg] -~notify "Light Armor: " & hero.tagis[Hero.ProfLight] -~notify "Aegis range is " & field[abRange].value]]> - + ~ Base radius is 10', but Improved and Greater Aegis each increase that by 10' + ~ We store the initial range in abValue2 so that Improved and Greater can refer to it for display purposes + field[abRange].value = field[abValue2].value + if (hero.childfound[cPW3ImpAeg].tagis[Helper.ShowSpec] <> 0) then + field[abRange].value += hero.child[cPW3ImpAeg].field[abValue].value + endif + if (hero.childfound[cPW3GrtAeg].tagis[Helper.ShowSpec] <> 0) then + field[abRange].value += hero.child[cPW3GrtAeg].field[abValue].value + endif]]> +