Quantcast
Download
(1 Kb)
Download
Updated: 06-16-18 03:58 PM
Pictures
File Info
Compatibility:
Shadows of Argus (7.3.0)
Tomb of Sargeras (7.2.0)
Return to Karazhan (7.1.5)
Legion (7.0.3)
Updated:06-16-18 03:58 PM
Created:06-15-18 06:49 PM
Downloads:63
Favorites:3
MD5:
Categories:Buff, Debuff, Spell, Druid

Lifebloom Glow

Version: 1.1
by: clicket [More]

Lifebloom Glow

TL;DR This is an extremely lightweight addon that puts a glow around lifebloom's icon when it is in the pandemic window.

The "pandemic window" is the window of time in which you can recast a hot or dot and have the rest of the damage or healing "roll over" into the new hot/dot.

When you refresh lifebloom in this window of time, there is a secondary effect that happens: The "bloom" that normally only happens when you let it expire or it gets dispelled gets triggered.

Because of this, it is recommended to always refresh lifebloom in this important window of time. However, there is no official way to tell when exactly this window is available.

This addon was meant to eliminate the guesswork involved with knowing when to refresh Lifebloom by putting a glow border (the same border that is used for dispellable debuffs) around lifebloom when it is in the correct pandemic window.



Notes:
- Only Blizzard frames are currently supported (Raid Frames, TargetFrame, FocusFrame)
- You may notice that the glow seems inaccurate out of combat. This addon works by checking the duration of lifebloom every time any buff is added, refreshed, or removed by any player in the group. In other words, it is highly accurate in combat under normal use circumstances where there are no shortages of rotational buffs being used, but may be less accurate out of combat when no one is using abilities. I intended for it to be this way so it's not constantly checking buff duration every single frame when it doesn't have to, saving (a lot of) CPU usage.

Contribution:
- Report bugs
- Source code

v1.1
  • Code cleanup
Post A Reply Comment Options
Unread 06-30-18, 06:54 AM  
clicket
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 1
Uploads: 2
Yeah, as I said there's no real need. I did make a throttled OnUpdate version of this addon, but UtilSetBuff fires way more than necessary in combat (multiple times per second), so I scrapped it.

Since ultimately this addon only matters when you're actively healing somebody, and generally if you're healing someone there are plenty of abilities being used to trigger the buff events necessary for perfect accuracy, I don't see the increased CPU usage worth it.
Report comment to moderator  
Reply With Quote
Unread 06-29-18, 02:10 PM  
Theroxis
A Murloc Raider

Forum posts: 4
File comments: 2
Uploads: 0
To solve the issue of checking the buff more accurately; you can use the following type of interval based check:
Code:
local Tooltip_interval=0.1
GameTooltip.TimeSinceLastUpdate=0

local function mouset_OnUpdate(self, elapsed)
	self.TimeSinceLastUpdate = self.TimeSinceLastUpdate + elapsed
	if (self.TimeSinceLastUpdate > Tooltip_interval) then
		if (self.default) then
			MouseAnchor(self)
		end
	end
end
Obviously you'll have to change this to work with your code. I use this for moving my tooltips to my mouse cursor; if you do it every time the mouse moves, you end up with a bunch of wasted CPU time. This way I only move it every 0.1 seconds.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: