Skip to content

Commit

Permalink
Fix and buff Dilated Luck Perk
Browse files Browse the repository at this point in the history
  • Loading branch information
Pseudonian committed Jun 19, 2024
1 parent f9d9931 commit 5b2e46a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Calculate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3271,9 +3271,9 @@ export const calculateEXALTBonusMult = () => {
}

export const calculateDilatedFiveLeafBonus = () => {
const singThresholds = [100, 200, 250, 260, 266]
const singThresholds = [100, 150, 200, 225, 250, 255, 260, 265, 269, 272]
for (let i = 0; i < singThresholds.length; i++) {
if (player.highestSingularityCount <= singThresholds[i]) return i / 100
if (player.highestSingularityCount < singThresholds[i]) return i / 100
}

return singThresholds.length / 100
Expand Down
2 changes: 1 addition & 1 deletion src/singularity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2119,7 +2119,7 @@ export const singularityPerks: SingularityPerk[] = [
name: () => {
return i18next.t('singularity.perkNames.dilatedFiveLeaf')
},
levels: [100, 200, 250, 260, 266],
levels: [100, 150, 200, 225, 250, 265, 260, 265, 269, 272],
description: (n: number, levels: number[]) => {
for (let i = levels.length - 1; i >= 0; i--) {
if (n >= levels[i]) {
Expand Down

0 comments on commit 5b2e46a

Please sign in to comment.