WoWInterface SVN StellarUF

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 130 to Rev 129
    Reverse comparison

Rev 130 → Rev 129

trunk/Stuf/Stuf.toc
2,7 → 2,7
## Title: Stuf Unit Frames
## Author: TotalPackage
## Notes: Main unitframes replacement. Assembly optional.
## Version: 7.0.003
## Version: 7.0.002
 
## SavedVariables: StufDB
## SavedVariablesPerCharacter: StufCharDB
trunk/Stuf/aura.lua
578,11 → 578,11
local ctime = GetTime()
local i1, i2 = f[1], f[2]
 
local e1, e1duration, e1count, e1id, e2, e2duration, e2count, e2id
local e1, e1duration, e1count, e2, e2duration, e2count
if config then
e1, e1duration, e1count, e2, e2duration, e2count = true, 60000, 0, true, 600000, 23
else
e1, e1duration, e1count, e1id, e2, e2duration, e2count, e2id = GetWeaponEnchantInfo()
e1, e1duration, e1count, e2, e2duration, e2count = GetWeaponEnchantInfo()
end
if e1 then
i1.texture:SetTexture(GetInventoryItemTexture("player", 16))
trunk/Stuf/icons.lua
486,16 → 486,13
if cache.pvpffa then -- free for all pvp (Arena)
icon:SetTexture("Interface\\TargetingFrame\\UI-PVP-FFA")
icon:SetVertexColor(1, 1, 1)
icon:SetTexCoord(0, 0.65, 0, 0.65)
f:Show()
elseif cache.pvp then
if prestige > 0 then
icon:SetTexture(GetPrestigeInfo(prestige))
icon:SetVertexColor(1, 1, 1)
icon:SetTexCoord(0, 1, 0, 1)
f:Show()
else
icon:SetTexCoord(0, 0.65, 0, 0.65)
if cache.faction ~= "" then -- faction pvp (Alliance, Horde)
icon:SetTexture("Interface\\TargetingFrame\\UI-PVP-"..(cache.faction or "FFA"))
icon:SetVertexColor(1, 1, 1)
527,6 → 524,7
f = Stuf:CreateBase(unit, uf, name, db)
f.texture = f:CreateTexture(nil, "ARTWORK")
f.texture:SetAllPoints(f)
f.texture:SetTexCoord(0, 0.65, 0, 0.65)
 
uf.refreshfuncs[name] = UpdatePVP
Stuf:RegisterElementRefresh(uf, name, "reactionelements", true)
trunk/StufRaid/StufRaid.toc
2,7 → 2,7
## Title: Stuf Raid Frames
## Author: TotalPackage
## Notes: Raid unit frames. Assembly optional. (Does not require Stuf)
## Version: 7.0.003
## Version: 7.0.002
 
## SavedVariables: StufRaidDB
## SavedVariablesPerCharacter: StufRaidCharLayoutDB, StufRaidCharDB