(1 Kb)
Updated: 07-17-18 01:37 PM
File Info
Battle for Azeroth (8.0.1)
Updated:07-17-18 01:37 PM
Created:06-15-18 06:49 PM
Categories:Buff, Debuff, Spell, Druid

Lifebloom Glow

Version: 2.0
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.

- 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.

- Report bugs
- Source code

  • BfA Compatibility.

  • Code cleanup
Archived Files (1)
File Name
06-16-18 03:58 PM

Post A Reply Comment Options
Unread 06-30-18, 06:54 AM  
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 5
Uploads: 3
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  
A Fallenroot Satyr

Forum posts: 24
File comments: 5
Uploads: 0
To solve the issue of checking the buff more accurately; you can use the following type of interval based check:
local Tooltip_interval=0.1

local function mouset_OnUpdate(self, elapsed)
	self.TimeSinceLastUpdate = self.TimeSinceLastUpdate + elapsed
	if (self.TimeSinceLastUpdate > Tooltip_interval) then
		if (self.default) then
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: