You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, first of all thanks for sharing your WA, really appreciated. I fixed some of the issues caused by the latest WoW API changes and wanted to share with you so that you can update if you wish. I cant open a PR so intead Im posting it here.
With 11.0.2, some of the WoW APIs are deprecated(here). UnitBuff function which was deprecated and replaced by C_UnitAuras.GetBuffDataByIndex function. This is used by the all of the mage barriers weak auras to show how many absorb left. (I find it super cool)
I replaced that function with the new one according to this doc
The main diference is: C_UnitAuras.GetBuffDataByIndex function returns a AuraData object. The points field is an array and consist the absorb amount as the first element.
The text was updated successfully, but these errors were encountered:
Hey, first of all thanks for sharing your WA, really appreciated. I fixed some of the issues caused by the latest WoW API changes and wanted to share with you so that you can update if you wish. I cant open a PR so intead Im posting it here.
With 11.0.2, some of the WoW APIs are deprecated(here).
UnitBuff
function which was deprecated and replaced byC_UnitAuras.GetBuffDataByIndex
function. This is used by the all of the mage barriers weak auras to show how many absorb left. (I find it super cool)I replaced that function with the new one according to this doc
Sharing the new custom text function below
The main diference is:
C_UnitAuras.GetBuffDataByIndex
function returns aAuraData
object. Thepoints
field is an array and consist the absorb amount as the first element.The text was updated successfully, but these errors were encountered: