-
-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Magtheridon: Add blast nova counter to addtime #221
Conversation
Add time accepts extra args but only in the case original timer was less than 0. |
As for the overlap, you mean visually, or mechanic overlap? |
Blast nova cast would be 23s later as opposed to 5s later, at least based on what I checked so far. Those 3 timers just get +18s added to them as of right now. I would expect that the timer would be updated to reflect this. |
@@ -83,7 +83,7 @@ function mod:CHAT_MSG_MONSTER_YELL(msg) | |||
-- +18 to the timers | |||
timerConflagration:AddTime(18) | |||
timerQuake:AddTime(18) | |||
timerBlastNovaCD:AddTime(18) | |||
timerBlastNovaCD:AddTime(18, self.vb.blastNovaCounter) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't it be this? The timer is for the next Blast Nova, not the current one
timerBlastNovaCD:AddTime(18, self.vb.blastNovaCounter) | |
timerBlastNovaCD:AddTime(18, self.vb.blastNovaCounter+1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It already gets incremented here.
DBM-Warmane/DBM-Magtheridon/Magtheridon.lua
Lines 50 to 55 in 8eb1de1
elseif args.spellId == 30616 then | |
self.vb.blastNovaCounter = self.vb.blastNovaCounter + 1 | |
specWarnBlastNova:Show(L.name) | |
specWarnBlastNova:Play("kickcast") | |
timerBlastNovaCD:Start(nil, self.vb.blastNovaCounter) | |
end |
It's just adding 18 seconds to the current timer, so whatever the current bar is. The screenshots above should give you a good example of what the bug is currently.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ahh you started the counter at 1. that's not really standard practice in dbm, but since you don't use for the warnings, I'll leave it be
Forgot to include the counter when adding time on P3 transition.
On a side note, apparently some people are having overlapping bars after the latest update? From what I heard Conflag bar and Blast Nova was overlapping, but I didn't have this issue. Maybe you have some more insight into it?