mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-23 16:03:39 +02:00
Compare commits
3 commits
ad8caabf71
...
d5244eedbf
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d5244eedbf | ||
|
|
263c05c307 | ||
|
|
83146d842d |
2 changed files with 1 additions and 1 deletions
|
|
@ -757,7 +757,6 @@ export default class DhCharacter extends DhCreature {
|
|||
|
||||
static migrateData(source) {
|
||||
if (typeof source.scars === 'object') source.scars = 0;
|
||||
if (source.resources?.hope?.max) source.scars = Math.max(6 - source.resources.hope.max, 0);
|
||||
|
||||
return super.migrateData(source);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -143,6 +143,7 @@ export default class DHRoll extends Roll {
|
|||
return foundry.applications.handlebars.renderTemplate(template, {
|
||||
...chatData,
|
||||
parent: chatData.parent,
|
||||
targetMode: chatData.targetMode,
|
||||
metagamingSettings
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue