Junior Member
Join Date: Apr 2015
Posts: 4
|
I'm trying to figure out an Eval Script to get the Armor class to include the dexterity and charisma modifiers with no luck. Any assistance would be appreciated.
|
#1 |
Senior Member
Join Date: May 2016
Posts: 608
|
You can try something like:
Code:
field[abValue].value = #attrmod[aCHA] hero.childfound[ArmorClass].field[Bonus].value += field[abValue].value This would add the charisma modifier as an additional bonus to the AC. By default AC automatically uses DEX for the AC calculation on a PC unless you have something unusual going on or are wearing heavy/medium armor. |
#2 |
Senior Member
Join Date: Sep 2017
Posts: 600
|
Pretty much the same thing, just a little simpler:
Code:
hero.childfound[ArmorClass].field[Bonus].value += #attrmod[aCHA] Code:
field[abValue].value = #attrmod[aCHA] field[abValue].value += #attrmod[aDEX] hero.childfound[ArmorClass].field[Bonus].value += field[abValue].value Found an issue with or have a suggestion for the 5e Community Pack? Please post it here at our GitHub. Feel free to stop by the Lone Wolf Development Subreddit, for discussion of any and all LWD products and community efforts! |
#3 |
|
|