• 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

Question about Feats: about adding Cha to Dex Bonus

Holt

Member
I'm trying to build this feat from Swashbuckling Adventures in Pathfinder

Dashing and Daring
{b}Prerequisites{/b}: Base Attack Bonus +4+, DEX 13+, and CHA 13+

{b}Benefit{/b}: You recieve your Charisma modifier to your armor class in addition to your Dexterity modifier while wearing no armor. Furthermore, any members of the opposite sex who see you fight are predisposed to like you. Any Charism based Skills or Checks made recieve a +2 bonus, but only against those who have seen you in action.

How do I go about making the Cha bonus to AC work?
 
Okay tried it using this script:



hero.child[ArmorClass].field[tACDexMod].value += minimum(#attrmod[aCHA], herofield[tMaxDex].value)

And it worked... mostly, giving a +3 to AC when the test character's CHA mod is +4. What did I goof?
 
As written, it is possible you may have hit the maximum Dex bonus allowed by your armor, as the script stacks your CHA mod on your DEX bonus to AC. Try to unequip the armor and see whether you get a higher bonus.
 
No armor equiped. I was wondering if it's maybe coded so that the cha bonus is set to be maxed out by the dex? Cha is 18, Dex 16, so maybe thats th problem?
 
The script is straight from the oracle ability, which replaces the DEX bonus with the CHA bonus, instead of stacking them. Remove the "minimum" part of the script, just keep the #attrmod on the right side.

And look for a "doneif" to get out prior to that if the character has any kind of armor. Many abilities and feats in the game have similar restrictions on armor.
 
Okay got it to work, thanks everyone for all your help!

For those interested:

Dashing and Daring

{b}Prerequisites{/b}: Base Attack Bonus +4, DEX 13+, and CHA 13+

{b}Benefit{/b}: You recieve your Charisma modifier to your armor class in addition to your Dexterity modifier while wearing no armor.

Phase: Post Attributes Priority: 20100 Index 1

hero.child[ArmorClass].field[tACDexMod].value += #attrmod[aCHA]

Timing: After Calc tCMB
 
Last edited:
Back
Top