Fix call to getAttackDamage that was reset after merge

This commit is contained in:
Sirz Benjie 2025-03-28 21:50:05 -05:00
parent 9ddee0e73e
commit 31382eb72f
No known key found for this signature in database
GPG Key ID: 4A524B4D196C759E

View File

@ -4133,7 +4133,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
ignoreAbility,
ignoreSourceAbility,
ignoreAllyAbility,
ignoreSourceAbility,
ignoreSourceAllyAbility,
isCritical,
simulated,
);
@ -4459,7 +4459,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
cancelled,
result,
damage: dmg,
} = this.getAttackDamage(source, move, false, false, isCritical, false);
} = this.getAttackDamage(source, move, false, false, false, false, isCritical, false);
const typeBoost = source.findTag(
t =>
@ -7147,7 +7147,6 @@ export class EnemyPokemon extends Pokemon {
!p.getAlly()?.battleData.abilityRevealed,
false,
isCritical,
true
).damage >= p.hp
);
})