This commit is contained in:
WBHarry 2026-02-23 23:12:12 +01:00
parent 340abbc98c
commit ef128b88eb
19 changed files with 80 additions and 203 deletions

View file

@ -9,7 +9,7 @@ export default class DHDamageAction extends DHBaseAction {
*/
getDamageFormula() {
const strings = [];
for (const { value } of this.damage.parts) {
for (const { value } of Object.values(this.damage.parts)) {
strings.push(Roll.replaceFormulaData(value.getFormula(), this.actor?.getRollData() ?? {}));
}