This commit is contained in:
WBHarry 2026-01-24 18:55:04 +01:00
parent d5621d20ec
commit 5c63a35850
2 changed files with 21 additions and 14 deletions

View file

@ -115,7 +115,7 @@ export default class DhRollTableSheet extends foundry.applications.sheets.RollTa
{ altFormula: {} }
);
return foundry.utils.mergeObject(this.daggerheartFlag.toObject(), deleteUpdate);
return { ['flags.daggerheart']: foundry.utils.mergeObject(this.daggerheartFlag.toObject(), deleteUpdate) };
}
static async #addFormula() {

View file

@ -12,7 +12,7 @@
],
"_id": "LDuVbmdvhJiEOe7U",
"name": "",
"img": "icons/svg/d20-black.svg",
"img": "icons/svg/d12-grey.svg",
"description": "<p>Acquire (obtain or steal) an important item or items.</p>",
"drawn": false,
"flags": {},
@ -37,7 +37,7 @@
],
"_id": "FxYpST4nQUTBp1mN",
"name": "",
"img": "icons/svg/d20-black.svg",
"img": "icons/svg/d12-grey.svg",
"description": "<p>Capture one or more of the opponents.</p>",
"drawn": false,
"flags": {},
@ -62,7 +62,7 @@
],
"_id": "bTkZgxqEr4lNxzeK",
"name": "",
"img": "icons/svg/d20-black.svg",
"img": "icons/svg/d12-grey.svg",
"description": "<p>Activate a magical device.</p>",
"drawn": false,
"flags": {},
@ -87,7 +87,7 @@
],
"_id": "T39LgOL1cw5AIY59",
"name": "",
"img": "icons/svg/d20-black.svg",
"img": "icons/svg/d12-grey.svg",
"description": "<p>Frame a character or tarnish their reputation.</p>",
"drawn": false,
"flags": {},
@ -112,7 +112,7 @@
],
"_id": "MHgv8dlrwA3ZmBKq",
"name": "",
"img": "icons/svg/d20-black.svg",
"img": "icons/svg/d12-grey.svg",
"description": "<p>Drive the opponent into a corner or ambush point.</p>",
"drawn": false,
"flags": {},
@ -137,7 +137,7 @@
],
"_id": "4USCNNavzVvBqldn",
"name": "",
"img": "icons/svg/d20-black.svg",
"img": "icons/svg/d12-grey.svg",
"description": "<p>Stop a magical ritual, legal ceremony, or time-sensitive spell.</p>",
"drawn": false,
"flags": {},
@ -162,7 +162,7 @@
],
"_id": "gwZnWTauHsbb6rsr",
"name": "",
"img": "icons/svg/d20-black.svg",
"img": "icons/svg/d12-grey.svg",
"description": "<p>Hold the line—keep the enemy from reaching a specific area or group.</p>",
"drawn": false,
"flags": {},
@ -187,7 +187,7 @@
],
"_id": "beDIxxPyCCVa8nlE",
"name": "",
"img": "icons/svg/d20-black.svg",
"img": "icons/svg/d12-grey.svg",
"description": "<p>Plant evidence or a tracking device on a target.</p>",
"drawn": false,
"flags": {},
@ -212,7 +212,7 @@
],
"_id": "C70V6prVmZd5VRV8",
"name": "",
"img": "icons/svg/d20-black.svg",
"img": "icons/svg/d12-grey.svg",
"description": "<p>Secure a specific location ahead of another groups arrival.</p>",
"drawn": false,
"flags": {},
@ -237,7 +237,7 @@
],
"_id": "i02rh05CvhHlKJCN",
"name": "",
"img": "icons/svg/d20-black.svg",
"img": "icons/svg/d12-grey.svg",
"description": "<p>Harass the opponent to deplete their resources or keep them occupied.</p>",
"drawn": false,
"flags": {},
@ -262,7 +262,7 @@
],
"_id": "AbNgD5GCbWuui9oP",
"name": "",
"img": "icons/svg/d20-black.svg",
"img": "icons/svg/d12-grey.svg",
"description": "<p>Destroy a piece of architecture, a statue, a shrine, or a weapon.</p>",
"drawn": false,
"flags": {},
@ -287,7 +287,7 @@
],
"_id": "TCrdyh3qhl2vtQxO",
"name": "",
"img": "icons/svg/d20-black.svg",
"img": "icons/svg/d12-grey.svg",
"description": "<p>Investigate a situation to confirm or deny existing information.</p>",
"drawn": false,
"flags": {},
@ -315,7 +315,14 @@
"daggerheart": {
"formulaName": "Roll Formula",
"altFormula": {},
"activeAltFormula": null
"activeAltFormula": null,
"flags": {
"daggerheart": {
"formulaName": "Roll Formula",
"altFormula": {},
"activeAltFormula": null
}
}
}
},
"formula": "1d12",