Sklore / HL_DD_5e_Colab

This is a community effort to add many options that the community felt were missing from the D&D 5e SRD Hero Labs release.
54 stars 31 forks source link

Serpent Scale Armor not calculating AC correctly #1014

Closed BlackRose-XIII closed 3 years ago

BlackRose-XIII commented 3 years ago

Serpent Scale Armor magic item from Candlekeep Mysteries still uses the max +2 Dex bonus rather than the unlimited as it should.

Dragon5e commented 3 years ago

Medium armor seem to have maxdex hardcoded even when you change the armor to light armor. I set mine to light armor and specify the maxdex = dex bonus now.

  ~ If we're disabled, do nothing & 
  doneif (tagis[Helper.Disable] = 1)

perform delete[ArmorClass.Medium] perform delete[Helper.StealthDis] perform assign[ArmorClass.Light] hero.childfound[ArmorClass].field[tACDexMod].value = maximum(hero.childfound[ArmorClass].field[tACDexMod].value , hero.childfound[aDEX].field[aModBonus].value)

Fenris447 commented 3 years ago

Sorry, I don't know how I missed this. There was definitely code there to make it work, and I would have sworn it passed muster when it released. But Dragon5e's solution #1016 works great and will be in release 3.3.