WoWInterface SVN AutoReply

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 3 to Rev 4
    Reverse comparison

Rev 3 → Rev 4

trunk/BossFight.lua
67,7 → 67,7
local bossAlive, targetExist = self:BossAlive()
if bossAlive then
-- Boss fight start
self:Print("boss fight start")
-- self:Print("boss fight start")
self.bossEngaged = true
self:RegisterEvent("COMBAT_LOG_EVENT_UNFILTERED")
self:RegisterEvent("INSTANCE_ENCOUNTER_ENGAGE_UNIT", "CheckBossKill")
93,16 → 93,16
if self.bossEngaged then
if self:GroupInCombat() then
-- Still in combat, schedule check again
self:Print("ScheduleTimer CheckBossWipe")
-- self:Print("ScheduleTimer CheckBossWipe")
self:ScheduleTimer("CheckBossWipe", 3)
elseif confirm then
-- Boss fight wipe
self:Print("boss fight: wipe")
-- self:Print("boss fight: wipe")
self:ReplyAllMissedBoss("wipe")
self:HandleBossFightEnd()
else
-- Schedule for boss fight wipe in 3 seconds (unless boss is killed before)
self:Print("ScheduleTimer CheckBossWipe confirm")
-- self:Print("ScheduleTimer CheckBossWipe confirm")
self:ScheduleTimer("CheckBossWipe", 3, true)
end
end
185,9 → 185,9
function AutoReply:CheckBossKill(eventname)
-- self:Print(eventname)
if self.bossEngaged and (self.db.profile.raidEn or self.db.profile.dungeonEn) then
self:Print("CheckBossKill")
-- self:Print("CheckBossKill")
if self:AllBossesDead() then
self:Print("boss fight: kill")
-- self:Print("boss fight: kill")
self.numKilledBosses = self.numKilledBosses + 1
self:ReplyAllMissedBoss("kill")
self:HandleBossFightEnd()
trunk/Core.lua
549,7 → 549,7
return endTime or ""
end
end
self:Print(BGID)
-- self:Print(BGID)
local matchString = BGMatchStrings[BGID] or "(%d+)"
local firstScoreLine = BGFirstScoreLineArray[BGID] or 1
local BGstatus = ""