Skip to content

Commit

Permalink
fix merge issue
Browse files Browse the repository at this point in the history
  • Loading branch information
frzyc committed Jan 24, 2024
1 parent e2cb6fe commit 0f8d40a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libs/gi-util/src/artifact/artifact.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ const substatCache = new Map<string, number>()
export function getSubstatValue(
substatKey: SubstatKey,
rarity: ArtifactRarity = 5,
type: 'max' | 'min' | 'mid' = 'max'
type: 'max' | 'min' | 'mid' = 'max',
percent = true
): number {
const cacheKey = `${substatKey},${rarity},${type}`
let value = substatCache.get(cacheKey)
Expand Down

0 comments on commit 0f8d40a

Please sign in to comment.