Hekili Priority Helper

Hekili Priority Helper

44M Downloads

[REC] MM Hunter Rapid Fire Trick Shots buff

Lipstopica opened this issue ยท 3 comments

commented

Before You Begin

  • I confirm that I have downloaded the latest version of the addon.
  • I am not playing on a private server.
  • I checked for an existing, open ticket for this issue and was not able to find one.
  • I edited the title of this issue (above) so that it describes the issue I am reporting.
  • I am reporting an issue with the default priority included with the specialization (imported or edited priorities are not supported).

Describe the Issue

During the channel of Rapid Fire, the buff of Trick Shots remains until the channel is over. I believe this is what is causing Hekili to suggest Aimed Shot after Rapid Fire in AoE without refreshing the buff first because it believes the buff will still be active at the end of the channel of Rapid Fire.

How to Reproduce

Go to AoE dummies
Press Multi-Shot
Press Rapid Fire (The buff of Trick Shots remains until the end of the channel)
Check Hekili, it keeps suggesting Aimed Shot until the end of the channel (which is when the Trick Shots buff ends)

Snapshot (Link)

https://pastebin.com/NZVx3mSq

Raidbots Sim Report (Link)

No response

Additional Information

No response

Contact Information

Smudgie#2425

commented

Here is what I will test, but since you're downloading changes (says you have a dev build), you may consider trying this yourself and reporting back.

In Classes/HunterMarksmanship.lua, scroll down to the entry for the rapid_fire ability. It should be ~line 827. Replace the ability with this:

        rapid_fire = {
            id = 257044,
            cast = function () return ( 2 * haste ) end,
            channeled = true,
            cooldown = function () return ( buff.trueshot.up and 8 or 20 ) * haste end,
            gcd = "spell",

            spend = 0,
            spendType = "focus",

            startsCombat = true,
            texture = 461115,

            start = function ()
                applyBuff( "rapid_fire" )
                if talent.streamline.enabled then applyBuff( "streamline" ) end
                removeBuff( "brutal_projectiles" )
            end,

            finish = function ()
                if buff.volley.down then removeBuff( "trick_shots" ) end
                removeBuff( "double_tap" )
            end,

            auras = {
                -- Conduit
                brutal_projectiles = {
                    id = 339929,
                    duration = 3600,
                    max_stack = 1,
                },
            }
        },

Save the file and then /reload in game.

This shifts the removal of Trick Shots to the end of the channel rather than the start. Let me know if that seems to solve it for you.

commented

That seems to have fixed the issue :) thank you

commented

Thanks, fix will be live soon.