WoWInterface SVN EasyDaily

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 111 to Rev 112
    Reverse comparison

Rev 111 → Rev 112

EasyDaily/EasyDaily.lua
311,13 → 311,13
 
function EasyDaily:CanAdvanceGossip(title, isActive)
local t = self:GetQuestTableByTitle(title)
local s = self:CanAutoTurnQuest(title) and self:QuestTypeIsActive(t.type[1])
local s = self:CanAutoTurnQuest(title)
if s and t and t.type[2] == 2 then
return self:QuestHasReqItems(title)
elseif s and isActive then
return self:GetQuestLogCompletionByTitle(title)
else
return s
return s and ( ( not t ) or self:QuestTypeIsActive(t.type[1]) )
end
end
 
505,7 → 505,7
 
function EasyDaily:ToggleQuestState(title)
local t, isStandard = EasyDaily:GetQuestTableByTitle(title)
if isStandard then
if t then
t.disabled = not t.disabled
else
table.insert( self.db.profile.data.custom, { title = title } )
EasyDaily/Options.lua
456,7 → 456,7
desc = L["Enable/Disable this quest."],
get = function() return true end,
set = function()
table.remove(EasyDaily.db.profile.data, i)
table.remove(EasyDaily.db.profile.data.custom, i)
end,
}
c = c + 1