WoWInterface SVN NightWatch

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 39 to Rev 40
    Reverse comparison

Rev 39 → Rev 40

NightWatch.lua
560,19 → 560,19
end
 
-------------------------------------------------------------------------------
-- 0 1 2 3 4 5 6 7 8 9 10 11 12 13
-- _, timestamp, event, hideCaster, srcGUID, srcName, srcFlags, dstGUID, dstName, dstFlags, spellID, spellName, spellSchool, missType, ...)
-- 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
-- _, timestamp, event, hideCaster, srcGUID, srcName, srcFlags, srcFlags2, dstGUID, dstName, dstFlags, dstFlags2, spellID, spellName, spellSchool, missType, ...)
--
local flag, source, target, spell
local msg, whisperTarget
function addon:combatLogEvent(_, _, flag, _, _, source, _, _, target, _, _, spell, ...)
-- 0 1 2 3 4 5 6 7 8 9 10 11
function addon:combatLogEvent(_, _, flag, _, _, source, _, _, _, target, _, _, _, spell, ...)
-- 0 1 2 3 4 5 6 7 8 9 10 11 12 13
 
if not db.spells[spell] then return end -- Spell not in database, quit
 
local ws = db.spells[spell]
 
if not ws.watched then return end -- Not being watched, quit
if not ws.watched then return end -- Not being watched, quit
 
if not (ws.anyFlag or ws.flags[flag]) then return end -- Doesn't match flags, quit
 
582,7 → 582,7
 
if ws.groupOnly and not (UnitInRaid(source) or UnitInParty(source)) then return end -- Check for source in raid/party
 
if db.flagMap[flag] then -- Convert flag to more friendly version, if available.
if db.flagMap[flag] then -- Convert flag to more friendly version, if available.
flag = db.flagMap[flag]
end
 
NightWatch.toc
1,11 → 1,11
## Interface: 40100
## X-Compatible-With: 40100
## X-Max-Interface: 40100
## Interface: 40200
## X-Compatible-With: 40200
## X-Max-Interface: 40200
## X-Min-Interface: 30300
## Title: NightWatch
## Notes: Sends chat alerts for selected spells. "/nw" for config.
## Author: Nightyniight @ Frostmourne - US
## Version: 1.3
## Version: 1.4
## DefaultState: Enabled
## LoadOnDemand: 0
## SavedVariables: NightWatchDB
changelog.txt
1,3 → 1,7
1.4 2011-06-29
* fix for another addition to COMBAT_LOG_EVENT_UNFILTERED
* bump interface version to 4.2
 
1.3a 2011-04-28
* fix missing Ace3 lib files