Merge branch 'main' into design/action-selector-dialog

This commit is contained in:
Dapoolp 2025-07-25 16:13:00 +02:00
commit 0d4d3bde9d
9 changed files with 19 additions and 23 deletions

View file

@ -568,13 +568,7 @@ export default class DhpActor extends Actor {
}
convertDamageToThreshold(damage) {
return damage >= this.system.damageThresholds.severe
? 3
: damage >= this.system.damageThresholds.major
? 2
: damage >= this.system.damageThresholds.minor
? 1
: 0;
return damage >= this.system.damageThresholds.severe ? 3 : damage >= this.system.damageThresholds.major ? 2 : 1;
}
convertStressDamageToHP(resources) {