Fixed IncludeBaseDamage to be an override

This commit is contained in:
WBHarry 2026-04-20 15:20:35 +02:00
parent 03110377e1
commit c683bc4352
4 changed files with 44 additions and 38 deletions

View file

@ -13,7 +13,7 @@ export default class DHAttackAction extends DHDamageAction {
if (!!this.item?.system?.attack) {
if (this.damage.includeBase) {
const baseDamage = this.getParentDamage();
this.damage.parts.unshift(new DHDamageData(baseDamage));
this.damage.parts.hitPoints = new DHDamageData(baseDamage);
}
if (this.roll.useDefault) {
this.roll.trait = this.item.system.attack.roll.trait;