![]() |
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.
|
![]() |
![]() |
Senior Member
Join Date: May 2016
Posts: 591
|
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. |
![]() |
![]() |
Senior Member
Join Date: Sep 2017
Posts: 357
|
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 Feel free to stop by the Lone Wolf Development Subreddit, for discussion of any and all LWD products and community efforts! |
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|