From 5c63a35850ef15826c866440fef8875d735d5e8d Mon Sep 17 00:00:00 2001 From: WBHarry Date: Sat, 24 Jan 2026 18:55:04 +0100 Subject: [PATCH] . --- .../sheets/rollTables/rollTable.mjs | 2 +- ...es_Random_Objectives_I5L1dlgxXTNrCCkL.json | 33 +++++++++++-------- 2 files changed, 21 insertions(+), 14 deletions(-) diff --git a/module/applications/sheets/rollTables/rollTable.mjs b/module/applications/sheets/rollTables/rollTable.mjs index f7031461..9ead6814 100644 --- a/module/applications/sheets/rollTables/rollTable.mjs +++ b/module/applications/sheets/rollTables/rollTable.mjs @@ -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() { diff --git a/src/packs/rolltables/tables_Random_Objectives_I5L1dlgxXTNrCCkL.json b/src/packs/rolltables/tables_Random_Objectives_I5L1dlgxXTNrCCkL.json index ea116624..9165f9d7 100644 --- a/src/packs/rolltables/tables_Random_Objectives_I5L1dlgxXTNrCCkL.json +++ b/src/packs/rolltables/tables_Random_Objectives_I5L1dlgxXTNrCCkL.json @@ -12,7 +12,7 @@ ], "_id": "LDuVbmdvhJiEOe7U", "name": "", - "img": "icons/svg/d20-black.svg", + "img": "icons/svg/d12-grey.svg", "description": "

Acquire (obtain or steal) an important item or items.

", "drawn": false, "flags": {}, @@ -37,7 +37,7 @@ ], "_id": "FxYpST4nQUTBp1mN", "name": "", - "img": "icons/svg/d20-black.svg", + "img": "icons/svg/d12-grey.svg", "description": "

Capture one or more of the opponents.

", "drawn": false, "flags": {}, @@ -62,7 +62,7 @@ ], "_id": "bTkZgxqEr4lNxzeK", "name": "", - "img": "icons/svg/d20-black.svg", + "img": "icons/svg/d12-grey.svg", "description": "

Activate a magical device.

", "drawn": false, "flags": {}, @@ -87,7 +87,7 @@ ], "_id": "T39LgOL1cw5AIY59", "name": "", - "img": "icons/svg/d20-black.svg", + "img": "icons/svg/d12-grey.svg", "description": "

Frame a character or tarnish their reputation.

", "drawn": false, "flags": {}, @@ -112,7 +112,7 @@ ], "_id": "MHgv8dlrwA3ZmBKq", "name": "", - "img": "icons/svg/d20-black.svg", + "img": "icons/svg/d12-grey.svg", "description": "

Drive the opponent into a corner or ambush point.

", "drawn": false, "flags": {}, @@ -137,7 +137,7 @@ ], "_id": "4USCNNavzVvBqldn", "name": "", - "img": "icons/svg/d20-black.svg", + "img": "icons/svg/d12-grey.svg", "description": "

Stop a magical ritual, legal ceremony, or time-sensitive spell.

", "drawn": false, "flags": {}, @@ -162,7 +162,7 @@ ], "_id": "gwZnWTauHsbb6rsr", "name": "", - "img": "icons/svg/d20-black.svg", + "img": "icons/svg/d12-grey.svg", "description": "

Hold the line—keep the enemy from reaching a specific area or group.

", "drawn": false, "flags": {}, @@ -187,7 +187,7 @@ ], "_id": "beDIxxPyCCVa8nlE", "name": "", - "img": "icons/svg/d20-black.svg", + "img": "icons/svg/d12-grey.svg", "description": "

Plant evidence or a tracking device on a target.

", "drawn": false, "flags": {}, @@ -212,7 +212,7 @@ ], "_id": "C70V6prVmZd5VRV8", "name": "", - "img": "icons/svg/d20-black.svg", + "img": "icons/svg/d12-grey.svg", "description": "

Secure a specific location ahead of another group’s arrival.

", "drawn": false, "flags": {}, @@ -237,7 +237,7 @@ ], "_id": "i02rh05CvhHlKJCN", "name": "", - "img": "icons/svg/d20-black.svg", + "img": "icons/svg/d12-grey.svg", "description": "

Harass the opponent to deplete their resources or keep them occupied.

", "drawn": false, "flags": {}, @@ -262,7 +262,7 @@ ], "_id": "AbNgD5GCbWuui9oP", "name": "", - "img": "icons/svg/d20-black.svg", + "img": "icons/svg/d12-grey.svg", "description": "

Destroy a piece of architecture, a statue, a shrine, or a weapon.

", "drawn": false, "flags": {}, @@ -287,7 +287,7 @@ ], "_id": "TCrdyh3qhl2vtQxO", "name": "", - "img": "icons/svg/d20-black.svg", + "img": "icons/svg/d12-grey.svg", "description": "

Investigate a situation to confirm or deny existing information.

", "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",