Moved DamageTypes to roll.options

This commit is contained in:
WBHarry 2026-07-17 14:10:06 +02:00
parent 124c4749db
commit fbcb9e4572
6 changed files with 72 additions and 76 deletions

View file

@ -258,9 +258,7 @@ export default class DhpChatLog extends foundry.applications.sidebar.tabs.ChatLo
await message.system.damage.rerollDamageDie(damageType, dice, result);
await message.update({
'system.damage.types': {
[damageType]: {
roll: message.system.damage.types[damageType].roll.toJSON()
}
[damageType]: message.system.damage.types[damageType].toJSON()
}
});
} else {