[Bug] Mystical Rock Crashing on Selection (#5562)

This commit is contained in:
Amani H. 2025-03-27 00:05:38 -04:00 committed by GitHub
parent 5fdc133955
commit d955051730
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2000,7 +2000,7 @@ export const modifierTypes = {
}), }),
MYSTICAL_ROCK: () => MYSTICAL_ROCK: () =>
new ModifierType( new PokemonHeldItemModifierType(
"modifierType:ModifierType.MYSTICAL_ROCK", "modifierType:ModifierType.MYSTICAL_ROCK",
"mystical_rock", "mystical_rock",
(type, args) => new FieldEffectModifier(type, (args[0] as Pokemon).id), (type, args) => new FieldEffectModifier(type, (args[0] as Pokemon).id),