Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
Frodie
Senior Member
 
Join Date: May 2007
Location: Durham, NC
Posts: 1,747

Old January 31st, 2012, 08:23 PM
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)]
Frodie is offline   #1 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old January 31st, 2012, 09:29 PM
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.

Quote:
Originally Posted by Frodie View Post
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.

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.
ShadowChemosh is offline   #2 Reply With Quote
Frodie
Senior Member
 
Join Date: May 2007
Location: Durham, NC
Posts: 1,747

Old February 1st, 2012, 04:21 AM
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.
Frodie is offline   #3 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old February 1st, 2012, 09:14 AM
Quote:
Originally Posted by Frodie View Post
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.

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.
ShadowChemosh is offline   #4 Reply With Quote
Frodie
Senior Member
 
Join Date: May 2007
Location: Durham, NC
Posts: 1,747

Old February 1st, 2012, 09:25 AM
Yep, that's it, thank you very much!!!
Frodie is offline   #5 Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 04:57 AM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.