PokéRogue
    Preparing search index...

    Module src/data/balance/moves/moveset-generation

    Balance: Moveset Generation Configuration

    This module contains configuration constants and functions that control the limitations and rules around moveset generation for generated Pokémon.

    The various move weight constants in this module control how likely certain categories of moves are to appear in a generated Pokémon's moveset. Higher weights make a move more likely to be chosen. The constants here specify the base weight for a move when first computed. These weights are post-processed (and then scaled up such that weights have a larger impact, for instance, on boss Pokémon) before being used in the actual moveset generation.

    Post Processing of weights includes, but is not limited to:

    • Adjusting weights of status moves
    • Adjusting weights based on the move's power relative to the highest power available
    • Adjusting weights based on the stat the move uses to calculate damage relative to the higher stat

    All weights go through additional post-processing based on their expected power (accuracy * damage * expected number of hits)

    BASE_LEVEL_WEIGHT_OFFSET
    BASE_WEIGHT_MULTIPLIER
    BOSS_EXTRA_WEIGHT_MULTIPLIER
    COMMON_TIER_TM_LEVEL_REQUIREMENT
    COMMON_TM_MOVESET_WEIGHT
    EGG_MOVE_LEVEL_REQUIREMENT
    EGG_MOVE_TO_LEVEL_WEIGHT
    EGG_MOVE_WEIGHT_MAX
    EVO_MOVE_BP_THRESHOLD
    EVOLUTION_MOVE_WEIGHT
    FORCED_SIGNATURE_MOVE_CHANCE
    GREAT_TIER_TM_LEVEL_REQUIREMENT
    GREAT_TM_MOVESET_WEIGHT
    LEVEL_BASED_DENYLIST_THRESHOLD
    MOVE_POWER_CEILING
    PRIORITY_STAB_LEVEL_CUTOFF
    RARE_EGG_MOVE_LEVEL_REQUIREMENT
    RELEARN_LEVEL_REQUIREMENT
    RELEARN_MOVE_WEIGHT
    STAB_BLACKLIST
    ULTRA_TIER_TM_LEVEL_REQUIREMENT
    ULTRA_TM_MOVESET_WEIGHT
    getMaxEggMoveCount
    getMaxTmCount