Merge pull request #10682 from Villain1nGlasses/master

[HeroSystem6eHeroic] Minor bug fix
This commit is contained in:
Nic Bradley
2022-06-14 10:25:31 -07:00
committed by GitHub
+2 -1
View File
@@ -4503,7 +4503,7 @@
</div>
<!-- Hidden variables to protect characteristics during option changes -->
<input type="hidden" name="attr_hiddenSTUN" value="20"/>
<input type="hidden" name="attr_hiddenSTUN" value="20"/>
<!-- Some hidden variables to help simplify skill point calculations -->
<input type="hidden" name="attr_hiddenSet1SkillsCost" value="0"/>
@@ -5797,6 +5797,7 @@
const takesNoSTUN = values.optionTakesNoSTUN;
let statValue = values.stun;
let savedStatValue = values.hiddenSTUN;
// Store STUN in hiddenSTUN and then set it to zero.
if (takesNoSTUN != 0) {