Editing Module:Buildup/docGive feedback
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 34: | Line 34: | ||
== Internal Logic == | == Internal Logic == | ||
The module uses the following formula derived from the game's mechanics: | The module uses the following formula derived from the game's mechanics: | ||
<math>BPS = \frac{100}{BaseBuildup \times ( | <math>BPS = \frac{100}{BaseBuildup \times (RPS + 1)}</math> | ||
* '''Spin-Up Heroes:''' For heroes like McGinnis, the calculation uses their ''Max Spin'' RPS to ensure accurate representation of their intended buildup rate. | |||
* '''Shots to Proc:''' When generating tables, the module uses a Ceiling function (rounding up) to determine shots required. This accounts for cases like Kelvin where the math results in 19.99%, requiring 6 shots rather than the mathematically rounded 5. | |||
* '''Spin-Up Heroes:''' For heroes like | |||
* ''' | |||