From 212bffd87fedb72df3014000a00a5a1a86ef737f Mon Sep 17 00:00:00 2001 From: Jacob McLemore Date: Sun, 21 Jul 2019 07:30:31 -0400 Subject: [PATCH] Fix messages for Queenly Majesty, Dazzling, and Damp (#1332) --- src/battle-text-parser.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/battle-text-parser.ts b/src/battle-text-parser.ts index c9faf3cc3..c5eac46c2 100644 --- a/src/battle-text-parser.ts +++ b/src/battle-text-parser.ts @@ -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; }