Skip to contents

Calculates number of attempts/hrs to encounter/hatch a shiny

Usage

shiny_hunt(
  gen,
  masuda = FALSE,
  shiny_charm = FALSE,
  encounter_rate = 100,
  attempt_time = 15,
  hatch_time = 0
)

Arguments

gen

Integer denoting generation of pokemon

masuda

Is the player using masuda method. Default is FALSE

shiny_charm

Does the player have a shiny charm. Default is FALSE

encounter_rate

Rate of encounter of the pokemon (only for wild encounters). Default is 100%

hatch_time

Time (in seconds) to hatch a single pokemon egg. Default value is 0

attempt_time

Time (in seconds) representing average time taken to encounter a pokemon, or soft reset. Default value is 15 seconds per encounter

Value

Tibble containing probabilities, number of attempts, and hours

Examples

gen = 8
e_rate = 75
att = 20
shiny_hunt(gen = gen, encounter_rate = e_rate, attempt_time = att, shiny_charm = TRUE)
#> # A tibble: 5 × 3
#>   perc_chance attempts hours
#>   <chr>          <dbl> <dbl>
#> 1 25%              653  3.63
#> 2 50%             1573  8.74
#> 3 75%             3145 17.5 
#> 4 90%             5221 29.0 
#> 5 99%            10441 58.0