Fixed test

This commit is contained in:
Bertie690 2025-06-17 16:22:51 -04:00
parent 201488682d
commit 484131aeab

View File

@ -11318,8 +11318,7 @@ export function initMoves() {
new SelfStatusMove(MoveId.CHILLY_RECEPTION, PokemonType.ICE, -1, 10, -1, 0, 9) new SelfStatusMove(MoveId.CHILLY_RECEPTION, PokemonType.ICE, -1, 10, -1, 0, 9)
.attr(PreMoveMessageAttr, (user, _target, _move) => .attr(PreMoveMessageAttr, (user, _target, _move) =>
// Don't display text if current move phase is follow up (ie move called indirectly) // Don't display text if current move phase is follow up (ie move called indirectly)
// TODO: Change in move-use-type PR to use the move phase's current use type (thankfully public) isVirtual((globalScene.phaseManager.getCurrentPhase() as MovePhase).useMode)
(globalScene.phaseManager.getCurrentPhase() as MovePhase)['followUp']
? "" ? ""
: i18next.t("moveTriggers:chillyReception", { pokemonName: getPokemonNameWithAffix(user) })) : i18next.t("moveTriggers:chillyReception", { pokemonName: getPokemonNameWithAffix(user) }))
.attr(ChillyReceptionAttr, true), .attr(ChillyReceptionAttr, true),