Skip to content

Commit

Permalink
fixed a bug that could cause strength to keep reseting to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
vince-roll20 committed Dec 2, 2024
1 parent bde0340 commit 6f990d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Forbidden_Lands/Forbidden_Lands.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ <h3 data-i18n="latest-announcements">Latest Announcements</h3>
<span class="footer">12/1/24</span>
<ol>
<strong>v1.9</strong>
<li>fixed a bug introduced in the last update that could cause strength to keep reseting to 0 unless set on the monster tab first.</li>
<li>Small cosmetic change to the Willpower checkboxes and Ability background image.</li>
<li>Fixed a bug where PC Strength could get switched to '7' when moving between the PC and Monster tab.</li>
<li>Push your rolls without the API! The sheet's rolls have been updated with CRP(custom roll parsing). You can now roll your dice pool and push them directly from the chat window without having to manually adjust the pool and re-rolling. (thank you Richard for letting me mangle your MYZ CRP code for this.)</li>
Expand Down Expand Up @@ -6412,7 +6413,7 @@ <h1 data-i18n="stronghold-notes-u">STRONGHOLD NOTES</h1>
// monsters(tab 3) can have a 48 max
const pc = int(values.strength_pc);
const monster = int(values.strength_monster);
max = tab !== 2 && stat === 'strength' ? Math.min(monster, 48) : Math.min(pc, 7);
max = tab === 3 && stat === 'strength' ? Math.min(monster, 48) : Math.min(pc, 7);

const settings = checkMax(stat, total, max);
if (settings) setAttrs(settings);
Expand Down

0 comments on commit 6f990d8

Please sign in to comment.