From 682cb33397b65ac5a6bac04d32ee91713b6deabe Mon Sep 17 00:00:00 2001 From: DayV <69717452+DayV-git@users.noreply.github.com> Date: Sun, 3 Nov 2024 04:10:12 +0000 Subject: [PATCH] Fix wildy rev weapon boost (#6168) --- .../lib/abstracted_commands/minionKill/speedBoosts.ts | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/mahoji/lib/abstracted_commands/minionKill/speedBoosts.ts b/src/mahoji/lib/abstracted_commands/minionKill/speedBoosts.ts index 56f71f9d72..96c798bebc 100644 --- a/src/mahoji/lib/abstracted_commands/minionKill/speedBoosts.ts +++ b/src/mahoji/lib/abstracted_commands/minionKill/speedBoosts.ts @@ -203,10 +203,8 @@ const dragonHunterBoost: Boost = { } }; const revWildyGearBoost: Boost = { - description: 'A boost for using a wilderness weapon for killing revenants.', + description: 'A boost for using a wilderness weapon for killing in wildy.', run: ({ monster, isInWilderness, combatMethods, primaryStyle: style, gearBank }) => { - const matchedRevenantMonster = revenantMonsters.find(m => m.id === monster.id); - if (!matchedRevenantMonster) return null; if (!isInWilderness || !monster.revsWeaponBoost) return null; if (combatMethods.includes('barrage') || combatMethods.includes('burst')) return null; @@ -214,10 +212,10 @@ const revWildyGearBoost: Boost = { const upgradedWeapon = revUpgradedWeapons[style]; let revBoost = 0; - if (gearBank.gear.wildy.hasEquipped(specialWeapon.name)) { - revBoost = 12.5; - } else if (gearBank.gear.wildy.hasEquipped(upgradedWeapon.name)) { + if (gearBank.gear.wildy.hasEquipped(upgradedWeapon.name)) { revBoost = 17.5; + } else if (gearBank.gear.wildy.hasEquipped(specialWeapon.name)) { + revBoost = 12.5; } if (revBoost > 0) {