mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-12 19:32:17 +02:00
Issue #523 Facade should now ignore the attack reduction of beeing burned
This commit is contained in:
parent
d5681a6e03
commit
f1d869beea
@ -1394,7 +1394,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
|
||||
if (isPhysical && source.status && source.status.effect === StatusEffect.BURN) {
|
||||
const burnDamageReductionCancelled = new Utils.BooleanHolder(false);
|
||||
applyAbAttrs(BypassBurnDamageReductionAbAttr, source, burnDamageReductionCancelled);
|
||||
if (!burnDamageReductionCancelled.value)
|
||||
if (!burnDamageReductionCancelled.value && !(battlerMove.getMove().id !== Moves.FACADE))
|
||||
damage.value = Math.floor(damage.value / 2);
|
||||
}
|
||||
move.getAttrs(HitsTagAttr).map(hta => hta as HitsTagAttr).filter(hta => hta.doubleDamage).forEach(hta => {
|
||||
|
Loading…
Reference in New Issue
Block a user