/trunk/Stuf
if ( unit == "player" or not ca.assist or ca.dead or not UnitIsConnected(unit) ) then |
return false |
elseif ( not UnitIsVisible(unit) ) or |
( s40 and IsSpellInRange(s40, unit) == 0 ) or |
( s40 and IsSpellInRange(s40, BOOKTYPE_SPELL, unit) == 0 ) or |
( not s40 and Stuf.ingroup and ca.ingroup and not UnitInRange(unit) ) then |
return true |
end |
## Interface: 70000 |
## Interface: 70100 |
## Title: Stuf Unit Frames |
## Author: TotalPackage |
## Notes: Main unitframes replacement. Assembly optional. |
## Version: 7.0.003 |
## Version: 7.1.001 |
## SavedVariables: StufDB |
## SavedVariablesPerCharacter: StufCharDB |
-- spell range setup |
if CLS == "PALADIN" then |
Stuf.supportspell = GetSpellInfo(4987) |
Stuf.supportspell = 19750 -- Flash of Light |
elseif CLS == "PRIEST" then |
Stuf.supportspell = GetSpellInfo(2061) |
Stuf.supportspell = 527 -- Purify |
elseif CLS == "DRUID" then |
Stuf.supportspell = GetSpellInfo(8936) |
elseif CLS == "MAGE" then |
Stuf.supportspell = GetSpellInfo(475) |
Stuf.supportspell = 774 -- Rejuv |
elseif CLS == "SHAMAN" then |
Stuf.supportspell = GetSpellInfo(1064) |
Stuf.supportspell = 8004 -- Healing Surge |
elseif CLS == "MONK" then |
Stuf.supportspell = GetSpellInfo(209525) |
Stuf.supportspell = 115450 -- Detox |
end |
for _, func in ipairs(Stuf.inits) do -- let other sections know variables are loaded |
## Interface: 70000 |
## Interface: 70100 |
## LoadOnDemand: 1 |
## X-Curse-Packaged-Version: r95 |
## X-Curse-Packaged-Version: 7.1.0 |
## X-Curse-Project-Name: LibSharedMedia-3.0 |
## X-Curse-Project-ID: libsharedmedia-3-0 |
## X-Curse-Repository-ID: wow/libsharedmedia-3-0/mainline |
## Title: Lib: SharedMedia-3.0 |
## Notes: Shared handling of media data (fonts, sounds, textures, ...) between addons. |
## Author: Elkano |
## Version: 3.0-95 |
## Version: 3.0-97 |
## X-Website: http://www.wowace.com/projects/libsharedmedia-3-0/ |
## X-Category: Library |
## X-Revision: 95 |
## X-Date: 2016-07-19T22:45:58Z |
## X-Revision: 97 |
## X-Date: 2016-10-25T23:54:36Z |
LibStub\LibStub.lua |
CallbackHandler-1.0\CallbackHandler-1.0.lua |