Senior Member
Join Date: May 2007
Location: Durham, NC
Posts: 1,747
|
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)] |
#1 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Code:
field[abValue].value = maximum(hero.child[Attack].field[tAtkBase].value,4) #applybonus[tACDeflect, hero.child[ArmorClass], field[abValue].value] 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. Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
#2 |
Senior Member
Join Date: May 2007
Location: Durham, NC
Posts: 1,747
|
Thank you, very cool, but still missing the max out put on the AC.
Thank you for your help though! Last edited by Frodie; February 1st, 2012 at 04:32 AM. |
#3 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
Copy and Paste is not always ones friend. Try this: Code:
field[abValue].value = minimum(hero.child[Attack].field[tAtkBase].value,4) #applybonus[tACDeflect, hero.child[ArmorClass], field[abValue].value] Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
|
#4 |
Senior Member
Join Date: May 2007
Location: Durham, NC
Posts: 1,747
|
Yep, that's it, thank you very much!!!
|
#5 |
|
|