diff --git a/CHANGELOG.md b/CHANGELOG.md index 41608be..70a3e49 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,11 @@ +### 1.0.2 +- [x] Fixed Black Temple tracking + ### 1.0.1 - [x] Fixed some Worldbosses typos ### 1.0.0 - [x] Initial fork commit -- [x] Fixed Sunwell, SSC and Tempest Keep instances +- [x] Fixed Sunwell, SSC and Tempest Keep tracking - [x] Added LFR tracking - [x] Added Worldbosses tracking diff --git a/EncounterJournalSavedInstances.lua b/EncounterJournalSavedInstances.lua index 23e644f..6900645 100644 --- a/EncounterJournalSavedInstances.lua +++ b/EncounterJournalSavedInstances.lua @@ -6,6 +6,8 @@ local L = { ['Serpentshrine Cavern'] = 'Serpentshrine Cavern', ['Tempest Keep'] = 'Tempest Keep', ['The Eye'] = 'The Eye', + ['Black Temple'] = 'Black Temple', + ['The Black Temple'] = 'The Black Temple', ['The Sunwell'] = 'The Sunwell', ['Sunwell Plateau'] = 'Sunwell Plateau', ['Pandaria'] = 'Pandaria', @@ -27,6 +29,8 @@ if locale == 'frFR' then ['Serpentshrine Cavern'] = 'Caverne du sanctuaire du Serpent', ['Tempest Keep'] = 'Donjon de la Tempête', ['The Eye'] = 'L’Œil', + ['Black Temple'] = 'Temple noir', + ['The Black Temple'] = 'Le Temple noir', ['The Sunwell'] = 'Le Puits de soleil', ['Sunwell Plateau'] = 'Plateau du Puits de soleil', ['Pandaria'] = 'Pandarie', @@ -55,6 +59,9 @@ local function UpdateSavedInstances() -- Fix for Tempest Keep elseif instanceName == L['Tempest Keep'] then savedInstances[L['The Eye']] = {} + -- Fix for Black Temple + elseif instanceName == L['Black Temple'] then + savedInstances[L['The Black Temple']] = {} -- Fix for Sunwell elseif instanceName == L['The Sunwell'] then savedInstances[L['Sunwell Plateau']] = {} @@ -163,6 +170,22 @@ local function UpdateSavedInstances() complete = locked and defeatedBosses == maxBosses, locked = locked }) + -- Fix for Black Temple + elseif locked and instanceName == L['Black Temple'] then + table.insert(savedInstances[L['The Black Temple']], { + instanceID = instanceID, + bosses = bosses, + instanceName = instanceName, + instanceDifficulty = instanceDifficulty, + difficulty = difficulty, + difficultyName = difficultyName, + maxBosses = maxBosses, + defeatedBosses = defeatedBosses, + instanceReset = instanceReset, + progress = defeatedBosses..'/'..maxBosses, + complete = locked and defeatedBosses == maxBosses, + locked = locked + }) -- Fix for Sunwell elseif locked and instanceName == L['The Sunwell'] then table.insert(savedInstances[L['Sunwell Plateau']], {