mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-12-15 06:15:20 +01:00
[P3 Bug] Fix Struggle's message not displaying properly (#6760)
This commit is contained in:
parent
e2f7cd9118
commit
a0aa25ab75
@ -9043,7 +9043,7 @@ export function initMoves() {
|
|||||||
new AttackMove(MoveId.STRUGGLE, PokemonType.NORMAL, MoveCategory.PHYSICAL, 50, -1, 1, -1, 0, 1)
|
new AttackMove(MoveId.STRUGGLE, PokemonType.NORMAL, MoveCategory.PHYSICAL, 50, -1, 1, -1, 0, 1)
|
||||||
.attr(RecoilAttr, true, 0.25, true)
|
.attr(RecoilAttr, true, 0.25, true)
|
||||||
.attr(TypelessAttr)
|
.attr(TypelessAttr)
|
||||||
.attr(PreMoveMessageAttr, (user: Pokemon) => i18next.t("moveTriggers:struggleMessage", { pokemonName: getPokemonNameWithAffix(user) }))
|
.attr(PreMoveMessageAttr, (user: Pokemon) => i18next.t("moveTriggers:struggle", { pokemonName: getPokemonNameWithAffix(user) }))
|
||||||
.target(MoveTarget.RANDOM_NEAR_ENEMY),
|
.target(MoveTarget.RANDOM_NEAR_ENEMY),
|
||||||
new StatusMove(MoveId.SKETCH, PokemonType.NORMAL, -1, 1, -1, 0, 2)
|
new StatusMove(MoveId.SKETCH, PokemonType.NORMAL, -1, 1, -1, 0, 2)
|
||||||
.ignoresSubstitute()
|
.ignoresSubstitute()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user