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: {} } { altFormula: {} }
); );
return foundry.utils.mergeObject(this.daggerheartFlag.toObject(), deleteUpdate); return { ['flags.daggerheart']: foundry.utils.mergeObject(this.daggerheartFlag.toObject(), deleteUpdate) };
} }
static async #addFormula() { static async #addFormula() {

View file

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