View Single Post
Fenris447
Senior Member
 
Join Date: Sep 2017
Posts: 600

Old February 20th, 2023, 08:03 PM
Ah.

Well, this is going to be both complicated and imperfect. Imperfect because I've never found a way to change the "Max. Dex.: +2" text to say anything else. Complicated because it's got a lot going on.

The key here is going to be hero.childfound[ArmorClass].field[tACDexMod].value. Set at a timing of Post-Attributes 3000, this is where Hero Lab stores the hero's AC that it's getting from its DEX. Normally, that's going to max out at 2 with any medium armor. But you should be able to grab the DEX mod, check if it's 3 (or whatever your custom armor allows), and change it to match what you want manually. Look up Just make sure you make the timing very late in the Post-Attributes phase or later.

Try something like:

hero.childfound[ArmorClass].field[tACDexMod].value = minimum(3,hero.childfound[aDEX].field[aModBonus].value)

You might have to play with the timings, pushing it deep (10,000+) into the Final Phase, since there's plenty that could add or subtract from your DEX bonus.

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!
Fenris447 is offline   #6 Reply With Quote