View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0022132 | Return of Reckoning | Abilities | public | 2024-01-18 23:29 | 2024-06-19 20:05 |
Reporter | R1CH | Assigned To | dalen | ||
Priority | normal | Severity | major | Reproducibility | random |
Status | assigned | Resolution | open | ||
Summary | 0022132: Ability random number generator may be bugged for small values | ||||
Description | Inevitable Doom is currently bugged and always applies for 4 or 6 seconds, never 8. Looking into this, it is one of the few abilities that do RNG checks with very small numbers (i.e, Random(2) = 1 for 50%), most other abilities use much bigger numbers, e.g. Random(100) <= 50. This makes me think there may be an off-by-one error in the RNG, so the first component (4 sec) chance is actually 50% and second component chance (6 sec) 100%, so the third component with the 8 sec ID can never be reached. Here is a list of all potentially affected abilities using small RNG checks: https://war-abilityviewer.dalen.io/ability/list/eyJpdGVtcyI6W3siZmllbGQiOiJyZXF1aXJlbWVudHMiLCJvcGVyYXRvciI6Imhhc09wZXJhdG9yIiwiaWQiOjEyNzkwLCJ2YWx1ZSI6eyJUeXBlIjoiMSIsIk9wZXJhdGlvbiI6IjkiLCJDb25kaXRpb24iOiIxIiwiVmFsdWUiOiIxIn19XX0?page=0 | ||||
Tags | No tags attached. | ||||