Use SPELL_RANGE_CHECK_UPDATE for thresholds
Twintop opened this issue ยท 0 comments
Currently, on every refresh of the bar (~20Hz), all offensive threshold lines do a range check to see if the ability is usable against the current target. For some classes (Rogues, Hunters) this can theoretically mean upwards of 400 API calls per second just to check ability range.
11.1.5 adds the SPELL_RANGE_CHECK_UPDATE. Explore whether or not this can be leveraged to only update a spell's in/out of range status when fired via caching.