mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-18 22:32:32 +02:00
Fix call to getAttackDamage that was reset after merge
This commit is contained in:
parent
9ddee0e73e
commit
31382eb72f
@ -4133,7 +4133,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
|
|||||||
ignoreAbility,
|
ignoreAbility,
|
||||||
ignoreSourceAbility,
|
ignoreSourceAbility,
|
||||||
ignoreAllyAbility,
|
ignoreAllyAbility,
|
||||||
ignoreSourceAbility,
|
ignoreSourceAllyAbility,
|
||||||
isCritical,
|
isCritical,
|
||||||
simulated,
|
simulated,
|
||||||
);
|
);
|
||||||
@ -4459,7 +4459,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
|
|||||||
cancelled,
|
cancelled,
|
||||||
result,
|
result,
|
||||||
damage: dmg,
|
damage: dmg,
|
||||||
} = this.getAttackDamage(source, move, false, false, isCritical, false);
|
} = this.getAttackDamage(source, move, false, false, false, false, isCritical, false);
|
||||||
|
|
||||||
const typeBoost = source.findTag(
|
const typeBoost = source.findTag(
|
||||||
t =>
|
t =>
|
||||||
@ -7147,7 +7147,6 @@ export class EnemyPokemon extends Pokemon {
|
|||||||
!p.getAlly()?.battleData.abilityRevealed,
|
!p.getAlly()?.battleData.abilityRevealed,
|
||||||
false,
|
false,
|
||||||
isCritical,
|
isCritical,
|
||||||
true
|
|
||||||
).damage >= p.hp
|
).damage >= p.hp
|
||||||
);
|
);
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user