PokéRogue
    Preparing search index...
    • Handles applying hp changes to a player pokemon. Takes care of not going below 0, above max-hp, adding FNT status correctly and updating the pokemon info. TODO: should we handle special cases like wonder-guard/shedinja?

      Parameters

      • pokemon: PlayerPokemon

        the player pokemon to apply the hp change to

      • value: number

        the hp change amount. Positive for heal. Negative for damage

      Returns void