Fixed so that party.tagTeam now uses a declared damageRollData(ChatDamageData) field. rollData.options.damage is retired.

This commit is contained in:
WBHarry 2026-07-17 17:41:32 +02:00
parent e087b379fc
commit ab1772264a
6 changed files with 25 additions and 68 deletions

View file

@ -37,7 +37,7 @@ export default class DamageRoll extends DHRoll {
if (game.modules.get('dice-so-nice')?.active) {
config.mute = true;
const pool = foundry.dice.terms.PoolTerm.fromRolls(
Object.values(config.damage.types).map(x => x.roll)
Object.values(config.damage.types)
);
diceRolls.push(Roll.fromTerms([pool]));
}