mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-22 18:39:55 +02:00
Moved DamageTypes to roll.options
This commit is contained in:
parent
124c4749db
commit
fbcb9e4572
6 changed files with 72 additions and 76 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue