Hekili Priority Helper

Hekili Priority Helper

46M Downloads

[REC] Unholy DK San Layn build recommendation cannot be presented

Gromzie opened this issue · 7 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).

Spec

DK - Unholy

Describe the Issue

Gives an error in the chat that the recommendation cannot be presented, and it also suggests that you should wait 10 seconds before the next spell should be used, which should not be correct.

How to Reproduce

1.Enter as unholy dk
2. Use the san layn build (CwPAtbMOTHlnKIwUyAn+DK70SDgZGDjZGjlZMzMzYYYmxMmBAAAAAAAAAzwMzYmZGAY2MDzywMzMPwMjxADMjhxyCgtBbAwMA)
3. Start follow rotation on single target dummy

Snapshot (Link)

https://pastebin.com/vhFc907S

Raidbots Sim Report (Link)

https://www.raidbots.com/simbot/report/tVcqNP6Bor5iJ29mz7Kn43

Additional Information

Contact Information

No response

commented

It suggests waiting 10 seconds because that's how far into the future the addon looks. Seems to me it is waiting for resources, your sim also does this.

image

How long does it take for a recommendation to pop up?

commented

@Hekili I wonder if this should behave more like demon blades DH? Kind of show the next thing greyed out while waiting for resources?

Or even some fallback icon/action that indicates waiting for resources

commented

This isn't an "issue". As you can see by looking at the sim, you simply need to wait for runic power.

And not sure what you mean by that code not handling wound spender, when that seems to be exactly what that code is doing?

commented

I have been trying to fix this issue recently, and my initial assessment is that there is a problem with the handling of [wound_spender].

commented
    if not talent.clawing_shadows.enabled or buff.vampiric_strike.up or buff.gift_of_the_sanlayn.up then
        class.abilities.wound_spender = class.abilities.scourge_strike
        class.abilities[ 433895 ] = class.abilities.scourge_strike
        cooldown.wound_spender = cooldown.scourge_strike
    else
        class.abilities.wound_spender = class.abilities.clawing_shadows
        class.abilities[ 433895 ] = class.abilities.clawing_shadows
        cooldown.wound_spender = cooldown.clawing_shadows
    end

It seems that this part of the code cannot properly handle wound_spender due to the changes brought by clawing_shadows and scourge_strike.

commented

Sorry ,~~ my wording is a bit off :D, but with the San Layn talent on a single target, there seems to be an error with the description of Gromzie. Here’s the code I tried to fix it; I hope it helps! (Of course, it may not be correct.) @Gromzie

https://pastebin.com/LBM1E3iC

commented

I'll be honest here, I think the root cause of the issue is that fact you aren't running a standard build, but a new experimental build.

This is how much your build waits when simmed.

image

When I sim your exact character using a San'layn build from the class guides

image

So, this is expected behaviour.