diff --git a/module/EstimationProvider.js b/module/EstimationProvider.js index 7b700c5..2c7c83f 100644 --- a/module/EstimationProvider.js +++ b/module/EstimationProvider.js @@ -158,15 +158,8 @@ export class GenericEstimationProvider extends EstimationProvider { }, }, ...addTemp, - ...breakOnZeroMaxHP, }; } - - get breakCondition() { - const hpPath = sGet("core.custom.FractionHP"); - let hp = getNestedData(token, hpPath) || token.actor.system.attributes?.hp || token.actor.system.hp; - return `|| (game.settings.get('healthEstimate', 'core.breakOnZeroMaxHP') && ${hp.max} === 0)`; - } } export class ageSystemEstimationProvider extends EstimationProvider {