When beatmap() or beatmap_attributes() is called, whenever a Beatmap or BeatmapDifficultyAttributes instance has integral values for some of its variables (CS, AR, OD, HP, BPM) (e.g. CS 4/AR 9/OD 8/HP 5/180 BPM), those values get returned as int instead of float, despite the annotation saying that the return type should always be float.
I believe this might also apply to all of the _difficulty variables for beatmap_attributes() whenever the actual value is 0, such as flashlight_difficulty when FL isn't actually passed as a mod.
When
beatmap()
orbeatmap_attributes()
is called, whenever aBeatmap
orBeatmapDifficultyAttributes
instance has integral values for some of its variables (CS, AR, OD, HP, BPM) (e.g.CS 4
/AR 9
/OD 8
/HP 5
/180 BPM
), those values get returned asint
instead offloat
, despite the annotation saying that the return type should always befloat
.I believe this might also apply to all of the
_difficulty
variables forbeatmap_attributes()
whenever the actual value is 0, such asflashlight_difficulty
whenFL
isn't actually passed as a mod.