Helper to handle overrides in tests

Hierarchy (view full)

Constructors

Properties

game: default

Methods

  • Override the enemy (Pokemon) to have the given amount of health segments

    Parameters

    • healthSegments: number

      the number of segments to give default: 0, the health segments will be handled like in the game based on wave, level and species 1: the Pokemon will not be a boss 2+: the Pokemon will be a boss with the given number of health segments

    Returns OverridesHelper

    this