Massive Damage incoming. Over 9000.

This commit is contained in:
Nikhil Nagarajan 2025-12-12 10:16:54 -05:00
parent f4dd9dc5c1
commit c37fb9b049
5 changed files with 26 additions and 2 deletions

View file

@ -761,6 +761,10 @@ export default class DhpActor extends Actor {
}
convertDamageToThreshold(damage) {
const massiveDamageEnabled=game.settings.get(CONFIG.DH.id, CONFIG.DH.SETTINGS.gameSettings.variantRules).massiveDamage.enabled;
if (massiveDamageEnabled && damage >= (this.system.damageThresholds.severe * 2)) {
return 4;
}
return damage >= this.system.damageThresholds.severe ? 3 : damage >= this.system.damageThresholds.major ? 2 : 1;
}