You'd think that'd be an easy fix, but actually it's not. GetUnitBuffInfo's buffType return is poorly named. It's not the BuffType, it's really just whether or not the buff is active, kind of. It's a debug return that's only used in debug code (which is the primary reason it's hard for me to just "fix it."). GetUnitBuffInfo does not currently have anything attempting to return the actual legit BuffType. I could potentially add a new return at the end that it the actual BuffType, if that's desirable, and rename the existing one to something else in the API.
|