mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 14:36:13 +01:00
.
This commit is contained in:
parent
9f1d53239e
commit
a757bde66e
1 changed files with 1 additions and 1 deletions
|
|
@ -111,7 +111,7 @@ export default class DamageField extends fields.SchemaField {
|
||||||
const hpDamageTakenMultiplier = actor.system.rules.attack.damage.hpDamageTakenMultiplier;
|
const hpDamageTakenMultiplier = actor.system.rules.attack.damage.hpDamageTakenMultiplier;
|
||||||
if (configDamage.hitPoints) {
|
if (configDamage.hitPoints) {
|
||||||
for (const part of configDamage.hitPoints.parts) {
|
for (const part of configDamage.hitPoints.parts) {
|
||||||
part.total = part.total * hpDamageMultiplier * hpDamageTakenMultiplier;
|
part.total = Math.ceil(part.total * hpDamageMultiplier * hpDamageTakenMultiplier);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue