EventHorizon

EventHorizon

185k Downloads

Display buff count for similar abilities.

Cluuey opened this issue ยท 2 comments

commented

I've been trying to work out how to deal with Germination in the resto config.
http://www.wowhead.com/spell=155675/germination
It lets you cast two Rejuvination on the same target but instead of just increasing the stack size to two, like the initial version of Lifebloom did, the second one has a different spellId.

This is the current config I have for it, it works to show either buff and the icon changes, after the Rejuvination expires, to the Germination one.

-- Rejuvenation
self:newSpell({
  requiredTree = 4,
  stance = 0,
  requiredLevel = 10,
  playerbuff = {{774,3},{155777,3}},
  auraunit = usemouseover and 'mouseover' or 'target',
  hasted = true,
  refreshable = true,
})

Is it possible to add some kind of logic in there to show a stack count when both buffs are detected?
Currently you can't tell two are on your target without remembering or adding another bar to track just the second one.
There are already too many bars for this spec. ๐Ÿ‘Ž

commented

This enhancement would also benefit the rogue ability "Roll the Bones".
http://www.wowhead.com/spell=140293/roll-the-bones

Currently if they don't roll up 2+ buffs they should try again.
Without showing six different bars for each possible buff (up to six at the same time) I don't know how to configure this. I don't think it can be done without core changes.

commented

Another ability which this enhancement could work for is Unstable Affliction.

zmon -
For warlock affliction and unstable affliction, the bar shows the duration of the first UA on the target, even if you cast another one while that one is ticking away. Is it possible to show the duration of the UA with the most time remaining? I suspect this is not easy but I thought I'd ask.

I'm not sure how feasible it would be but can the code for displaying the separate recharge times be used for multiple buffs in a similar way?
Say for Rejuvenation(774) and Germination(155777) we could have something like:

	-- Rejuvenation and Germination
	self:newSpell({
	  requiredTree = 4,
	  requiredTalent = 18,
	  stance = {0,5},
	  playerbuff = {774,3} AND {155777},
	  auraunit = usemouseover and 'mouseover' or 'target',
	  refreshable = true,
	  })

Not sure how to explain it better, or if that's even the correct way but just listing it in an array wouldn't work because EH already handles multiple buffs to get displayed on the same bar.
Perhaps countBuffs or sumBuffs options?
Given Roll the Bones could benefit from a count number but it doesn't need separate minibars for each of them, although it wouldn't matter if that was too hard to sort out.
Probably need to cap it at three like with the recharges.