- Home
- Downloads
-
Addons & Mods
Featured
World of Warcraft
5,104 Addons
-
Popular Downloads
- Top World of Warcraft Addons
- Top Minecraft Server Mods
- Top Rift Addons
- Top Skyrim Mods
- Top World of Tanks WoT Mods
- Top Starcraft II Maps
- Top Terraria Maps
- Top Runes of Magic Addons
- Top Warhammer Online Addons
- Top Age of Conan Addons
-
- Curse Client
- Premium
- News
- Giveaways
- Videos
- Forums
oUF SpellRange
- 0 Likes
- World of Warcraft
- 130 Monthly Downloads
- Supports: 4.3
- 13,050 Total Downloads
- Updated 11/29/2011 6:24:59 PM
- Created 6/6/2009 10:44:59 PM
- 9 Favorites
- Project Site
- Comments
- Release Type: Release
- License: GNU General Public License version 3 (GPLv3)
- Newest File: oUF_SpellRange 4.3.0.1
About oUF SpellRange
oUF SpellRange is an element plug-in for Haste's oUF unit frame framework that fades unit frames when out of casting range. Unlike the default oUF range fading, SpellRange works for any hostile or friendly targets, rather than group members only. You must have oUF and a compatible layout for oUF SpellRange to do anything.
Usage
The settings for implementing SpellRange are intentionally the same as the default Range element, because the two elements cannot work together. SpellRange will disable the Range element for frames where both are enabled.
To enable the SpellRange element:
self.SpellRange = {
… -- At least one set of required properties, listed below
};Either of the following sets of properties is required:
--- Takes priority over .insideRange/.outsideRange, and fires when changing between them.
function self.SpellRange.Update( self, InRange )
…
endOR
self.SpellRange.insideAlpha = 1.0; -- Frame alpha when in range
self.SpellRange.outsideAlpha = 0.4; -- Frame alpha when out of range
Don't forget to add oUF_SpellRange as an optional dependency of your layout.
Note: SpellRange is necessarily slower than the default Range element, so use it with caution for large groups like raids or parties. The default Range element will always work for "player", "pet", and any unit that passes UnitPlayerOrPetInParty/UnitPlayerOrPetInRaid, however it is limited to 38 yard range.
- 4.3.0.1: Bumped TOC for 4.3.
- 4.2.0.1: Bumped TOC for 4.2.
- 4.1.0.1: Bumped TOC for 4.1.
- 4.0.0.1:
- Now adds a :ForceUpdate method and .__owner property to .SpellRange elements to conform with the oUF 5 API. If you intend to use these, you can no longer recycle a generic .SpellRange element table.
- Spells updated for Cataclysm pre-release patch 4.0.1.
- 3.3.5.1:
- Now checks for a .SpellRange table containing properties similar to oUF 1.4's updated Range element. Not backwards compatible!
- Added support for multiple spells per class, choosing the first known spell from a list.
- 3.3.0.2: Added support for embedded installs.
- 3.3.0.1: Bumped TOC for 3.3.
- 3.2.0.2: Removed “Raise Ally” as a range check spell for allies, since it only works for raid/party members.
- 3.2.0.1: Uses the new IsSpellKnown API instead of constantly querying GetSpellInfo, as it is dramatically faster.
- 3.0.9.6: Fixed error for classes that had no help or harm spell.
- 3.0.9.5: Low level players that haven't trained their spells yet will now properly see 28 yard ranges.
- 3.0.9.4:
- No longer enables itself for frames that don't request SpellRange.
- Now supports a :SpellRangeOverride( InRange ) method in place of the in and outside alpha properties.
- 3.0.9.3: Correctly sorted priest spells into the HelpID and HarmID tables.
- 3.0.9.2: Shows proper range of player and group members while on a flightpath for players with no ranged buff spells.
| File Name | Release Type | Game Version | Downloads | Date |
|---|---|---|---|---|
| oUF_SpellRange 4.3.0.1 | Release | 4.3 | 3,274 | 11/29/2011 6:24:59 PM |
| oUF_SpellRange 4.2.0.1 | Release | 4.2 | 2,320 | 6/28/2011 2:26:51 PM |
| oUF_SpellRange 4.1.0.1 | Release | 4.1 | 1,944 | 4/26/2011 12:23:51 PM |
| oUF_SpellRange 4.0.0.1 | Release | 4.0.1 | 3,197 | 10/12/2010 5:35:20 PM |
| oUF_SpellRange 3.3.5.1 | Release | 3.3.5 | 550 | 7/11/2010 12:48:05 AM |
| oUF_SpellRange 3.3.0.2 | Release | 3.3.0 | 488 | 1/16/2010 5:55:47 PM |
| oUF_SpellRange 3.3.0.1 | Release | 3.3.0 | 470 | 12/8/2009 2:20:56 PM |
| oUF_SpellRange 3.2.0.2 | Release | 3.2.0 | 861 | 8/8/2009 4:58:18 PM |
| oUF_SpellRange 3.2.0.1 | Release | 3.2.0 | 3 | 8/4/2009 4:19:02 PM |
| oUF_SpellRange 3.0.9.6 | Release | 3.1.0 | 26 | 6/7/2009 8:23:29 PM |
Addon Packs Containing This...
Top Downloads
-
- Bagnon
- Bags & Inventory
- 380,324 Monthly Downloads
-
- Deadly Boss Mods
- Combat and Boss Encounters
- 302,560 Monthly Downloads
-
- Recount
- Combat
- 301,016 Monthly Downloads
-
- SpellFlash
- PvP, Buffs & Debuffs, Quests & Leveling, Action Bars, and Combat
- 282,737 Monthly Downloads
-
- GatherMate2_Data
- Achievements
- 210,508 Monthly Downloads

Comments
"oUF layout addon using invalid SpellRange element."
Please point them to this download page, which has instructions on how they can update their layout.