From dc04def97e4903af7a8c22e6ddfdb436c0abaa45 Mon Sep 17 00:00:00 2001 From: aeauseth Date: Fri, 1 Mar 2024 20:59:16 -0800 Subject: [PATCH 1/2] 5e STR table #709 --- module/actor/actor.js | 52 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/module/actor/actor.js b/module/actor/actor.js index af1e7054..b158b0b2 100644 --- a/module/actor/actor.js +++ b/module/actor/actor.js @@ -640,6 +640,58 @@ export class HeroSystem6eActor extends Actor { } if (this.system.is5e) { + if (value < -25) { + strLiftText = "0"; + strRunningThrow = 0; + } + if (value >= -25 && value < -23) { + strLiftText = "0.8kg"; + strRunningThrow = 1; + } + if (value >= -23 && value < -20) { + strLiftText = "1kg"; + strRunningThrow = 1; + } + if (value >= -20 && value < -18) { + strLiftText = "1.6kg"; + strRunningThrow = 1; + } + if (value >= -18 && value < -15) { + strLiftText = "2kg"; + strRunningThrow = 1; + } + if (value >= -15 && value < -13) { + strLiftText = "3.2kg"; + strRunningThrow = 1; + } + if (value >= -13 && value < -10) { + strLiftText = "4kg"; + strRunningThrow = 1; + } + if (value >= -10 && value < -8) { + strLiftText = "6.4kg"; + strRunningThrow = 1; + } + if (value >= -8 && value < -5) { + strLiftText = "8kg"; + strRunningThrow = 2; + } + if (value >= -5 && value < -3) { + strLiftText = "12.5kg"; + strRunningThrow = 2; + } + if (value >= -3 && value < 0) { + strLiftText = "16kg"; + strRunningThrow = 3; + } + if (value >= 0 && value < 3) { + strLiftText = "25kg"; + strRunningThrow = 4; + } + if (value >= 3 && value < 5) { + strLiftText = "37kg"; + strRunningThrow = 6; + } strRunningThrow /= 2; } From e5ae71c6ccf5d9bddb081e62d0de32d2cf27d9f4 Mon Sep 17 00:00:00 2001 From: aeauseth Date: Fri, 1 Mar 2024 21:02:59 -0800 Subject: [PATCH 2/2] changelog update --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 17aaf4d8..898b298c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - Fixes for TELEKINESIS (TK punch/strike). [#780](https://github.com/dmdorman/hero6e-foundryvtt/issues/780) - Effective STR specified as part of the attack is no longer ignored. Allows for attacks at less than full power, thus conserving END. - Fixes for ENDURANCERESERVE. [#783](https://github.com/dmdorman/hero6e-foundryvtt/issues/783) +- 5e STR updates lift notes for STR values under 5. [#709](https://github.com/dmdorman/hero6e-foundryvtt/issues/709) ## Version 3.0.59