Script for AC = DEX mod + CHA mod
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.
|
You can try something like:
Code:
field[abValue].value = #attrmod[aCHA] 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. |
Pretty much the same thing, just a little simpler:
Code:
hero.childfound[ArmorClass].field[Bonus].value += #attrmod[aCHA] Code:
field[abValue].value = #attrmod[aCHA] |
All times are GMT -8. The time now is 02:05 AM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.