Skip to content

Commit

Permalink
Fix Bad Dreams (#688)
Browse files Browse the repository at this point in the history
  • Loading branch information
shrianshChari authored Mar 2, 2025
1 parent c48e81f commit f562f4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion calc/src/desc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ function getEndOfTurn(
}
} else if (
(defender.hasStatus('slp') || defender.hasAbility('Comatose')) &&
attacker.hasAbility('isBadDreams') &&
attacker.hasAbility('Bad Dreams') &&
!defender.hasAbility('Magic Guard')
) {
damage -= Math.floor(defender.maxHP() / 8);
Expand Down

0 comments on commit f562f4f

Please sign in to comment.