Skip to content

Commit

Permalink
Gen56: Fix 0 BP status moves doing damage
Browse files Browse the repository at this point in the history
  • Loading branch information
thejetou committed Mar 4, 2024
1 parent 2556074 commit cdc2dc1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions calc/src/mechanics/gen56.ts
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,10 @@ export function calculateBasePowerBWXY(
basePower = move.bp;
}

if (basePower === 0) {
return 0;
}

const bpMods = calculateBPModsBWXY(
gen,
attacker,
Expand Down

0 comments on commit cdc2dc1

Please sign in to comment.