mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-02-16 17:27:41 +00:00
Attempt to fix merge conflicts
This commit is contained in:
parent
77c9fb0daa
commit
c2293716b5
@ -1410,7 +1410,7 @@ export class RecoilAttr extends MoveEffectAttr {
|
||||
}
|
||||
|
||||
// Chloroblast and Struggle should not deal recoil damage if the move was not successful
|
||||
if (this.useHp && [ MoveResult.FAIL, MoveResult.MISS ].includes(user.getLastXMoves(1)[0]?.result)) {
|
||||
if (this.useHp && [ MoveResult.FAIL, MoveResult.MISS ].includes(user.getLastXMoves(1)[0]?.result ?? MoveResult.FAIL)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user