Skip to content

Commit

Permalink
Nerf non-zeah Blood runes w/ Abyssal amulet (#5421)
Browse files Browse the repository at this point in the history
  • Loading branch information
themrrobert authored Oct 10, 2023
1 parent 3f55a3b commit b56b10b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/lib/invention/inventions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ export const inventionBoosts = {
{ runes: ['Lava rune', 'Steam rune', 'Smoke rune'], boost: 20 },
{ runes: ['Death rune', 'Astral rune', 'Wrath rune', 'Law rune', 'Nature rune'], boost: 50 },
{ runes: ['Chaos rune', 'Cosmic rune'], boost: 60 },
{ runes: ['Blood rune', 'Soul rune'], boost: 95 },
{ runes: ['Blood rune', 'Soul rune'], boost: 65 },
{ runes: ['Blood rune (zeah)', 'Soul rune (zeah)'], boost: 95 },
{ runes: ['Elder rune'], boost: 65 }
]
},
Expand Down
2 changes: 1 addition & 1 deletion src/lib/minions/functions/darkAltarCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export async function darkAltarCommand({ user, channelID, name }: { user: MUser;
// Calculate Abyssal amulet boost:
if (user.hasEquippedOrInBank(['Abyssal amulet'])) {
const abyssalAmuletBoost = inventionBoosts.abyssalAmulet.boosts.find(b =>
b.runes.some(r => stringMatches(r, `${rune} rune`))
b.runes.some(r => stringMatches(r, `${rune} rune (zeah)`))
);
if (abyssalAmuletBoost) {
const res = await inventionItemBoost({
Expand Down

0 comments on commit b56b10b

Please sign in to comment.