Mercurial > wow > worldplan
comparison WorldPlan.lua @ 100:fbd4ead2a19f v1.4.11
- More attempts to fix quest markers re-appearing when completed via the order hall spells. Hard to test due to cooldown.
| author | Nenue |
|---|---|
| date | Thu, 18 May 2017 16:43:14 -0400 |
| parents | b29b35cb8539 |
| children | 4d1520186ea4 |
comparison
equal
deleted
inserted
replaced
| 99:cffecc347e90 | 100:fbd4ead2a19f |
|---|---|
| 33 db.UpdatedPins = {} | 33 db.UpdatedPins = {} |
| 34 db.ReportChunks = {} | 34 db.ReportChunks = {} |
| 35 db.Bounties = {} | 35 db.Bounties = {} |
| 36 db.BountiesByQuestID = {} | 36 db.BountiesByQuestID = {} |
| 37 db.BountiesByFactionID = {} | 37 db.BountiesByFactionID = {} |
| 38 | 38 db.IgnoreTimers = {} |
| 39 -- default color templates | 39 |
| 40 -- default color templates | |
| 40 db.DefaultType = { | 41 db.DefaultType = { |
| 41 a = 1, | 42 a = 1, |
| 42 r = 1, g = 1, b = 1, | 43 r = 1, g = 1, b = 1, |
| 43 x = 0, y = 0, | 44 x = 0, y = 0, |
| 44 desaturated = true, | 45 desaturated = true, |
| 94 --CriteriaColor = {}, | 95 --CriteriaColor = {}, |
| 95 --RewardColorGold = {}, | 96 --RewardColorGold = {}, |
| 96 --RewardColorReagent = {}, | 97 --RewardColorReagent = {}, |
| 97 --RewardColorArtifactPower = {}, | 98 --RewardColorArtifactPower = {}, |
| 98 --RewardColorCurrency = {}, | 99 --RewardColorCurrency = {}, |
| 100 IgnoreTimers = {}, | |
| 99 } | 101 } |
| 100 | 102 |
| 101 | 103 |
| 102 | 104 |
| 103 -- tracking menu toggler | 105 -- tracking menu toggler |
| 438 end | 440 end |
| 439 | 441 |
| 440 -- debug info | 442 -- debug info |
| 441 WorldPlanData.key = (WorldPlanData.key or 0) + 1 | 443 WorldPlanData.key = (WorldPlanData.key or 0) + 1 |
| 442 WorldPlanData.Debug = WorldPlanData.Debug or {} | 444 WorldPlanData.Debug = WorldPlanData.Debug or {} |
| 445 local guid = UnitGUID('player') | |
| 446 WorldPlanData.IgnoreTimers = WorldPlanData.IgnoreTimers or {} | |
| 447 WorldPlanData.IgnoreTimers[guid] = WorldPlanData.IgnoreTimers[guid] or {} | |
| 448 | |
| 443 for _, msg in ipairs(WorldPlanData.Debug) do | 449 for _, msg in ipairs(WorldPlanData.Debug) do |
| 444 tinsert(DEBUG_HISTORY, msg) | 450 tinsert(DEBUG_HISTORY, msg) |
| 445 end | 451 end |
| 446 tinsert(DEBUG_HISTORY, '--SESSION BREAK--') | 452 tinsert(DEBUG_HISTORY, '--SESSION BREAK--') |
| 447 wipe(WorldPlanData.Debug) | 453 wipe(WorldPlanData.Debug) |
| 448 | 454 |
| 455 db.IgnoreTimers = WorldPlanData.IgnoreTimers | |
| 449 db.Config = WorldPlanData | 456 db.Config = WorldPlanData |
| 450 for k,v in pairs(db.DefaultConfig) do | 457 for k,v in pairs(db.DefaultConfig) do |
| 451 --[===[@non-debug@ | 458 --[===[@non-debug@ |
| 452 if not db.Config[k] then | 459 if not db.Config[k] then |
| 453 db.Config[k] = v | 460 db.Config[k] = v |
