| |
-- Handle flashing
if ( offHandExpiration and offHandExpiration < BUFF_WARNING_TIME ) then
TempEnchant1:SetAlpha(BUFF_ALPHA_VALUE);
else
TempEnchant1:SetAlpha(1.0);
end
The code in bold is missing from both offhand and mainhand, if you replace an expired buff, then you often end up with a faded icon because it doesn't reset the alpha.
> Use ## SavedVariables: instead of RegisterForSave()
|