WoWInterface SVN NeedToKnow-Updated

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 117 to Rev 118
    Reverse comparison

Rev 117 → Rev 118

trunk/NeedToKnow/NeedToKnow_Options.lua
1,6 → 1,8
NEEDTOKNOW.MAXBARSPACING = 24;
NEEDTOKNOW.MAXBARPADDING = 12;
 
local GetActiveTalentGroup = _G.GetActiveSpecGroup
 
local LSM = LibStub("LibSharedMedia-3.0", true);
local textureList = LSM:List("statusbar");
local fontList = LSM:List("font");
trunk/NeedToKnow/NeedToKnow.lua
31,6 → 31,8
-- ADDON GLOBALS
-- -------------
 
local GetActiveTalentGroup = _G.GetActiveSpecGroup
 
NeedToKnow = {}
NeedToKnowLoader = {}
NeedToKnow.scratch = {}
76,7 → 78,7
}
-- NEEDTOKNOW = {} is defined in the localization file, which must be loaded before this file
 
NEEDTOKNOW.VERSION = "4.0.04"
NEEDTOKNOW.VERSION = "4.0.06"
NEEDTOKNOW.UPDATE_INTERVAL = 0.05
NEEDTOKNOW.MAXBARS = 20
 
540,13 → 542,13
function NeedToKnow.RefreshRaidMemberNames()
NeedToKnow.raid_members = {}
 
if GetNumRaidMembers() > 0 then
if IsInRaid() then
for i = 1, 40 do
local unit = "raid"..i
local name = UnitName(unit)
if ( name ) then NeedToKnow.raid_members[name] = unit end
end
elseif GetNumPartyMembers() > 0 then
elseif IsInGroup() then
for i = 1, 5 do
local unit = "party"..i
local name = UnitName(unit)
572,14 → 574,14
function NeedToKnow.ExecutiveFrame_PLAYER_REGEN_DISABLED(unitTargeting)
NeedToKnow.bInCombat = true
NeedToKnow.bCombatWithBoss = false
if GetNumRaidMembers() > 0 then
if IsInRaid() then
for i = 1, 40 do
if UnitLevel("raid"..i.."target") == -1 then
NeedToKnow.bCombatWithBoss = true;
break;
end
end
elseif GetNumPartyMembers() > 0 then
elseif IsInGroup() then
for i = 1, 5 do
if UnitLevel("party"..i.."target") == -1 then
NeedToKnow.bCombatWithBoss = true;
trunk/NeedToKnow/NeedToKnow.toc
1,7 → 1,7
## Interface: 040300
## Interface: 050001
## Title: NeedToKnow
## Author: Kitjan, lieandswell
## Version: 4.0.04
## Version: 4.0.06
## Notes: Timer bars for buffs, debuffs, cooldowns, etc.
## X-Credits: Bilt, Fxfighter EU-Echsenkessel, metalchoir, sp00n, Vlakarados, wowui.cn
## X-Category: Buffs, Combat