diff --git a/api/shapes/loadouts.ts b/api/shapes/loadouts.ts index 4931493..b97b365 100644 --- a/api/shapes/loadouts.ts +++ b/api/shapes/loadouts.ts @@ -181,6 +181,12 @@ export interface LoadoutParameters { * if this DIM loadout is saved to an in-game slot */ inGameIdentifiers?: InGameLoadoutIdentifiers; + + /** + * When calculating loadout stats, should "Font of ..." mods be assumed active + * and their runtime bonus stats be included? + */ + includeRuntimeStatBenefits?: boolean; } /** @@ -200,6 +206,7 @@ export const defaultLoadoutParameters: LoadoutParameters = { mods: [], assumeArmorMasterwork: AssumeArmorMasterwork.None, autoStatMods: true, + includeRuntimeStatBenefits: true, }; /** A constraint on the values an armor stat can take */ diff --git a/dim-api-types/package.json b/dim-api-types/package.json index a4495f6..a27ff35 100644 --- a/dim-api-types/package.json +++ b/dim-api-types/package.json @@ -1,6 +1,6 @@ { "name": "@destinyitemmanager/dim-api-types", - "version": "1.29.0", + "version": "1.30.0", "description": "TypeScript types for the DIM API", "main": "./index.cjs", "types": "./index.d.ts",