mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-20 14:29:28 +02:00
add fix for multi hit move
This commit is contained in:
parent
747108f5ef
commit
699dbff763
@ -4942,6 +4942,10 @@ export class PostDamageForceSwitchAbAttr extends PostDamageAbAttr {
|
||||
} else if (opponent.turnData.hitsLeft > 1) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (allMoves[enemyLastMoveUsed.move].hasAttr(MultiHitAttr)) {
|
||||
damage = pokemon.turnData.damageTaken;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user