Skip to content

Commit

Permalink
Merge pull request #210 from robojumper/font-stat-parameter
Browse files Browse the repository at this point in the history
Font of ... stat LoadoutParameter
  • Loading branch information
robojumper authored Nov 6, 2023
2 parents 536061e + 2b621ab commit ff19674
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions api/shapes/loadouts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/**
Expand All @@ -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 */
Expand Down
2 changes: 1 addition & 1 deletion dim-api-types/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit ff19674

Please sign in to comment.