Skip to content

Fix Wonder Guard not blocking 0 base power moves

Lexio requested to merge Lexiooo/pokemonsdk:fix_wonder_guard into development

MR Description

  • This MR fixes a bug that let offensive moves having 0 bp in Studio through Wonder Guard, re-guard-less of the type chart.

Before testing

  • Pick a few moves from this list and send these against a Wonder Guard Pokémon (Shedinja or anything else).

Tests to realize

  • Make sure the move is blocked by WG if its type isn't Super Effective against the target having WG.
  • Make sure the move is not blocked by WG if its type is Super Effective against the target having WG.

Sources related to this MR

Edited by Zøzo

Merge request reports