mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 06:26:13 +01:00
.
This commit is contained in:
parent
83e281665d
commit
82e7786d22
1 changed files with 1 additions and 1 deletions
|
|
@ -738,7 +738,7 @@ export default class DhCharacter extends BaseDataActor {
|
|||
|
||||
static migrateData(source) {
|
||||
if (typeof source.scars === 'object') source.scars = 0;
|
||||
if (source.resources.hope.max) source.scars = 6 - source.resources.hope.max;
|
||||
if (source.resources.hope.max) source.scars = Math.max(6 - source.resources.hope.max, 0);
|
||||
|
||||
return super.migrateData(source);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue