• Preparing search index...
  • The search index is not available
pokemon-rogue-battle
  • pokemon-rogue-battle
  • data/pokeball
  • getCriticalCaptureChance

Function getCriticalCaptureChance

  • getCriticalCaptureChance(scene, modifiedCatchRate): number
  • Gets the critical capture chance based on number of mons registered in Dex and modified Catch rate Formula from Dragonfly Cave Gen 6 Capture Mechanics page

    Parameters

    • scene: default

      BattleScene current BattleScene

    • modifiedCatchRate: number

      the modified catch rate as calculated in AttemptCapturePhase

    Returns number

    the chance of getting a critical capture, out of 256

    • Defined in src/data/pokeball.ts:92

Settings

Member Visibility
pokemon-rogue-battle
  • Loading...

Generated using TypeDoc