mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-10-01 15:22:35 -05:00
Fix messages for Queenly Majesty, Dazzling, and Damp (#1332)
This commit is contained in:
committed by
Kirk Scheibelhut
parent
8ca9916bdc
commit
212bffd87f
@@ -140,10 +140,10 @@ class BattleTextParser {
|
||||
}
|
||||
|
||||
case 'cant': {
|
||||
let [, pokemon, effect] = args;
|
||||
let [, pokemon, effect, move] = args;
|
||||
if (['ability: Queenly Majesty', 'ability: Damp', 'ability: Dazzling'].includes(effect)) {
|
||||
args[0] = '-block';
|
||||
return {args: ['-block', pokemon, effect, kwArgs.of], kwArgs: {}};
|
||||
return {args: ['-block', pokemon, effect, move, kwArgs.of], kwArgs: {}};
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user