Const
The relative likelihood of moves learned at different levels is determined by
the ratio of their weights,
or, the formula:
(levelB + BASE_LEVEL_WEIGHT_OFFSET) / (levelA + BASE_LEVEL_WEIGHT_OFFSET)
For example, consider move A and B that are learned at levels 1 and 60, respectively, but have no other differences (same power, accuracy, category, etc). The following table demonstrates the likelihood of move B being chosen over move A.
Offset | Likelihood |
---|---|
0 | 60x |
1 | 30x |
5 | 10.8x |
20 | 3.8x |
60 | 2x |
Note that increasing this without adjusting the other weights will decrease the likelihood of non-level moves
For a complete picture, see https://www.desmos.com/calculator/wgln4dxigl
The base weight offset for level moves