Skip to content

Commit

Permalink
Add masterwork hashes
Browse files Browse the repository at this point in the history
  • Loading branch information
bhollis committed May 26, 2024
1 parent 91e9e6f commit 65b58b5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions api/shapes/wishlist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import { DestinyItemSubType } from 'bungie-api-ts/destiny2';

export type ItemHash = number;
export type StatHash = number;

export interface WishList {
/**
Expand Down Expand Up @@ -140,6 +141,13 @@ interface Roll {
*/
plugs: ItemHash[][];

/**
* Optionally, one or more masterwork stats can be chosen which must also be
* present for this roll to match. This is more convenient than having to
* specify 10 plug hashes per masterwork stat.
*/
masterworkStats?: StatHash[];

/**
* Tag for the current combination. This can be used to show special flair on
* the item, as a search filter, or to allow users to select which types of
Expand Down

0 comments on commit 65b58b5

Please sign in to comment.