Skip to content

Commit

Permalink
apply perfect roll to fractured mods, closes #1184
Browse files Browse the repository at this point in the history
  • Loading branch information
SnosMe committed Dec 27, 2023
1 parent 00a8ad4 commit 2bc044e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ export function calculatedStatToFilter (
if (roll && !filter.option) {
if (
item.rarity === ItemRarity.Unique ||
calc.sources.some(({ modifier }) => modifier.info.tier === 1)
calc.sources.some(({ modifier }) => modifier.info.tier === 1 && modifier.info.type === ModifierType.Fractured)
) {
const perfectRoll = (
(calc.stat.better === StatBetter.PositiveRoll && roll.value >= roll.max) ||
Expand Down

0 comments on commit 2bc044e

Please sign in to comment.