only === 0

pull/152/head
shayebeadlingkl 2024-04-16 00:13:10 -04:00
parent 8319f8f4ac
commit 347bdc8932
1 changed files with 1 additions and 1 deletions

View File

@ -1299,7 +1299,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
applyMoveAttrs(ModifiedDamageAttr, source, this, move, damage); applyMoveAttrs(ModifiedDamageAttr, source, this, move, damage);
if (power.value <= 0) { if (power.value === 0) {
damage.value = 0; damage.value = 0;
} }