only === 0

This commit is contained in:
shayebeadlingkl 2024-04-16 00:13:10 -04:00
parent 8319f8f4ac
commit 347bdc8932

View File

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