• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Max AC Help

Frodie

Well-known member
I am trying to get this feat to max out the AC bonus to a +4

You gain an augmentation to your Dexterity bonus to Armor Class. This bonus is equal to half your base attack bonus, to a maximum of +4.

This augmentation does not stack with any bonus to AC that does not work in medium or heavy armor (including class- or feat-based abilities).


field[abValue].value = hero.child[Attack].field[tAtkBase].value
#applybonus[tACDeflect, hero.child[ArmorClass], field[abValue].value /2 += maximum(#applybonus, 4)]
 
Code:
field[abValue].value = maximum(hero.child[Attack].field[tAtkBase].value,4)
#applybonus[tACDeflect, hero.child[ArmorClass], field[abValue].value]
I think that is what your looking for. Applybonus here will also only apply this bonus if field[abValue].value is larger than what is already stored in tACDeflect.

This augmentation does not stack with any bonus to AC that does not work in medium or heavy armor (including class- or feat-based abilities).
My issues is I don't really understand this line as all AC bonuses work in all types of armor in Pathfinder. But I know you guys have this Modern thing which is probably why I don't get it. :p
 
Thank you, very cool, but still missing the max out put on the AC.

Thank you for your help though!
 
Last edited:
Thank you, very cool, but still missing the max out put on the AC.
Oh duh! I meant to change maximum to minimum. This way you get either the value of the BAB or 4 which ever is smaller. So once BAB goes to +5 we still get a answer of 4. While the BAB is +1 we get 1.

Copy and Paste is not always ones friend. :p

Try this:
Code:
field[abValue].value = minimum(hero.child[Attack].field[tAtkBase].value,4)
#applybonus[tACDeflect, hero.child[ArmorClass], field[abValue].value]
 
Back
Top