HealingRangeAlpha v4.10
Written by Crepusculu of Stormrage
This addon changes friendly unit frame's alpha based on distance
- Support for any unit frame using secure button templates
- Alpha values adjustable per range
- Available ranges depend on what spells you can cast
Operations:
/hra -- access the option menu
Enabled HRA -- Turns on and off HRA updates
(ms) interval updates -- Adjust the frequency of updates. Setting to zero will update whenever possible. Increase this delay to improve performance
colorize depth level -- Adjust the structural depth of textures in the unit frame that get colored. Currently disabled
slider bars -- Alpha value for specified range
color boxes -- Color value to blend with button textures for specified range. Currently disabled
Known Issues:
Coloring is disabled due to change in design (frames can be detected before they have textures).
Possible error with secure templates (index is pointing to a nil value). I'm unsure of the source of this error.
Version History
4.10 -
Removed the CreateFrame hook. The hook was causing the frames to become tainted. Will instead scan all frames periodically after new frames are created.
I haven't been successful in finding an event for unit attribute change, all methods appear to be blocked.
Got a question, suggestion, or a bug? Feel free to comment! A more in depth discussion of this mod has been posted in
This Thread