mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-22 02:19:54 +02:00
Fixed so that party.tagTeam now uses a declared damageRollData(ChatDamageData) field. rollData.options.damage is retired.
This commit is contained in:
parent
e087b379fc
commit
ab1772264a
6 changed files with 25 additions and 68 deletions
|
|
@ -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]));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue