diff --git a/dist/habitrpg-shared.js b/dist/habitrpg-shared.js index 4261a59155..699851b1ce 100644 --- a/dist/habitrpg-shared.js +++ b/dist/habitrpg-shared.js @@ -11585,6 +11585,9 @@ var process=require("__browserify_process");(function() { subtractPoints = function() { var conMod, hpMod; conMod = 1 - (user._statsComputed.con / 100); + if (conMod < .1) { + conMod = 0.1; + } hpMod = delta * conMod * task.priority; return stats.hp += Math.round(hpMod * 10) / 10; }; diff --git a/script/index.coffee b/script/index.coffee index 5b321c8655..cc3c125fbd 100644 --- a/script/index.coffee +++ b/script/index.coffee @@ -709,6 +709,7 @@ api.wrap = (user) -> # ===== CONSTITUTION ===== # TODO Decreases HP loss from bad habits / missed dailies by 0.5% per point. conMod = 1 - (user._statsComputed.con / 100) + conMod = 0.1 if conMod < .1 hpMod = delta * conMod * task.priority stats.hp += Math.round(hpMod * 10) / 10 # round to 1dp