mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-04-25 07:22:09 -05:00
Max Guard blocks Shadow Force
This commit is contained in:
parent
883cb02152
commit
0c898aa209
|
|
@ -10419,7 +10419,7 @@ export const Moves: {[moveid: string]: MoveData} = {
|
|||
if (move.isMax && move.breaksProtect) return;
|
||||
/** moves blocked by Max Guard but not Protect */
|
||||
const overrideBypassProtect = [
|
||||
'block', 'flowershield', 'gearup', 'magneticflux', 'phantomforce', 'psychup', 'teatime', 'transform',
|
||||
'block', 'flowershield', 'gearup', 'magneticflux', 'phantomforce', 'psychup', 'shadowforce', 'teatime', 'transform',
|
||||
];
|
||||
const blockedByMaxGuard = (this.dex.getMove(move.id).flags['protect'] ||
|
||||
move.isZ || move.isMax || overrideBypassProtect.includes(move.id));
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user