Skip to content

Commit

Permalink
Fixing Curse Accuracy (#570)
Browse files Browse the repository at this point in the history
Currently, all curse spells will get the 20% damage bonus in the calc even if you don't have the Tome of Water equipped.
  • Loading branch information
Linguz authored Nov 25, 2024
1 parent 2023f47 commit 69b699c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/PlayerVsNPCCalc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,7 @@ export default class PlayerVsNPCCalc extends BaseCalc {
if (this.isRevWeaponBuffApplicable()) {
attackRoll = this.trackFactor(DetailKey.PLAYER_ACCURACY_REV_WEAPON, attackRoll, [3, 2]);
}
if (this.wearing('Tome of water') && this.player.spell?.element === 'water' || isBindSpell(this.player.spell)) { // todo does this go here?
if (this.wearing('Tome of water') && (this.player.spell?.element === 'water' || isBindSpell(this.player.spell))) { // todo does this go here?
attackRoll = this.trackFactor(DetailKey.PLAYER_ACCURACY_TOME, attackRoll, [6, 5]);
}

Expand Down

0 comments on commit 69b699c

Please sign in to comment.