Page 1 of 1

Soul Fragment

Posted: 28 Jun 2018, 21:57
by viggi
Hallo and first off all thank you for the work on maxdps, i love your addon.

I tried to get the right spell count for Soul Fragments:
http://www.wowhead.com/spell=204256/soul-fragment

I used your code snipeds from the api faq
  1. local _Souls = 203981;
  2. local hasAura, stackCount, timeLeft = MaxDps:Aura(_Souls, timeShift, filter)
  3. or
  4. local hasAura2, stackCount2 = MaxDps:UnitAura(_Souls, timeShift, 'player')
Both don't detect Soul Fragments.
I tried different ids and doubel check the ids with weakaura. Other auras work well only Soul Fragments make problems :(

I hope you can help me out.

Re: Soul Fragment

Posted: 30 Jun 2018, 20:18
by Kaminaris
If everything fails you can use default WoW api:
UnitAura
https://wow.gamepedia.com/API_UnitAura

You are not bound to MaxDps functions, might as well use blizzard ones.

And I am pretty sure your ID is wrong because BUFF is not a SPELL. So their ID is different for sure.