Hunter spell MarkedShot API problem

Questions about addon itself.
5 posts Page 1 of 1
LdB
Posts: 3
Joined: 09 Feb 2018, 05:42


I have been trying to customize the hunter rotation and there is a funky thing with the API that I guess is a bug

local _MarkedShot = 185901;
local msa, ms_cd = MaxDps:SpellAvailable(_MarkedShot, timeShift);

Always returns that the spell "MarkedShot" is available when clearly it is not on the UI bar.
Kaminaris
Site Admin
Posts: 291
Joined: 25 Jun 2017, 03:45


You might be right. Try checking for Vulnerable debuff on target, should be more accurate
LdB
Posts: 3
Joined: 09 Feb 2018, 05:42


Yes that worked.

I am assuming blizzard don't let us track the actual keypress.

What I was going to do was up up the opening sequence by making a state machine.
By looking at current spell I can advance the state machine but in a couple of places I need the same key twice and current spell would just read the same :-).
Kaminaris
Site Admin
Posts: 291
Joined: 25 Jun 2017, 03:45


Glad it worked, if you dont mind share what you have fixed so i can push it to official
LdB
Posts: 3
Joined: 09 Feb 2018, 05:42


Will do soon as I have verified everything is working correctly.

I am giving my maxdps a bit of a facelift merging some icehud code as a programmer I couldn't help it :-)

https://github.com/LdB-ECM/Docs_and_Ima ... hunter.jpg

I wanted my health and focus on left, the target health and stats on right and the spell flash somewhere under my image.
Still working last bits out.
5 posts Page 1 of 1
drogie łóżka stolik kawowy stół dębowy rozkładany