From 6e15ffbd7e2dcabe559570c38663cf23d0b49fb4 Mon Sep 17 00:00:00 2001 From: Jonathan Yaeger Date: Sun, 13 Oct 2024 12:38:05 -0400 Subject: [PATCH] Fix Efaritay's aid melee accuracy bug --- src/lib/PlayerVsNPCCalc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/PlayerVsNPCCalc.ts b/src/lib/PlayerVsNPCCalc.ts index 51cc5cb3..32a2baef 100644 --- a/src/lib/PlayerVsNPCCalc.ts +++ b/src/lib/PlayerVsNPCCalc.ts @@ -248,7 +248,7 @@ export default class PlayerVsNPCCalc extends BaseCalc { if (this.wearing(['Blisterwood flail', 'Blisterwood sickle']) && isVampyre(mattrs)) { attackRoll = this.trackFactor(DetailKey.PLAYER_ACCURACY_VAMPYREBANE, attackRoll, [21, 20]); } - if (this.isWearingSilverWeapon() && isVampyre(mattrs)) { + if (this.isWearingSilverWeapon() && this.wearing("Efaritay's aid") && isVampyre(mattrs)) { attackRoll = this.trackFactor(DetailKey.PLAYER_ACCURACY_EFARITAY, attackRoll, [23, 20]); // todo ordering? does this stack multiplicatively with vampyrebane? }