diff --git a/.pkgmeta b/.pkgmeta index 98884d12..1c965a04 100644 --- a/.pkgmeta +++ b/.pkgmeta @@ -13,4 +13,5 @@ move-folders: Details/plugins/Details_YouAreNotPrepared: Details_YouAreNotPrepared Details/plugins/Details_RaidInfo-BlackrockFoundry: Details_RaidInfo-BlackrockFoundry Details/plugins/Details_RaidInfo-Highmaul: Details_RaidInfo-Highmaul - Details/plugins/Details_DataStorage: Details_DataStorage \ No newline at end of file + Details/plugins/Details_DataStorage: Details_DataStorage + Details/plugins/Details_DungeonInfo-Warlords: Details_DungeonInfo-Warlords \ No newline at end of file diff --git a/API.txt b/API.txt index 61740e17..e6fd6295 100644 --- a/API.txt +++ b/API.txt @@ -1,10 +1,11 @@ -This is a short api document for Details! API, describing attributes, combat, container, actor. -It still is incomplete, we are writing. +This is a short document for Details! API, describing attributes, combat, container, actor. +It still is incomplete, we are working on. + +This is a diagram showing the structure: http://i.imgur.com/vyTjpFh.png Attributes: ======================================= - -All these keys are globals. +All these keys are globals: DETAILS_ATTRIBUTE_DAMAGE = 1 DETAILS_SUBATTRIBUTE_DAMAGEDONE = 1 @@ -84,6 +85,39 @@ DETAILS_TOTALS_ONLYGROUP = true total = combat:GetTotal ( attribute, subAttribute [, onlyGroup] ) returns the total of the requested attribute. +-------------------------------------------------------------------- + +Other Calls: + +_detalhes:GetCurrentCombat() +returns the current combat object. + +_detalhes:GetCombatSegments() +returns the numeric table containing all past segments. + +_detalhes:GetCombatId() +returns the current unique combat number counter. +combat number is a unique number given to each combat started, this number won't +reset when data is wiped and each character have its own combat number counter. + +_detalhes:IsInCombat() +returns if Details! is in combat or not. + +_detalhes:GetCombat (combat = "current") +returns the requested combat object. +is 'combat' is omitted, returns the current combat. +combat can be a number: -1 for overall, 0 for current and > 0 for past segments. +combat also can be a string "overall" for overall combat and "current" for current segment. + +damage, healing, energy, misc = _detalhes:GetAllActors (combat, actorname) +returns all the four actor objects for the requested combat and actor. +combat must be a combat object. + +local actor = _detalhes:GetActor (combat = "current", attribute = 1, actorname = playername) +returns the actor for the requested combat, attribute and actor name. +if all parameters are omitted, returns the damage actor object of the player for the current combat. + + Container Object: ======================================= @@ -156,7 +190,7 @@ Damage Actor Keys: total = total of damage done. total_without_pet = without pet. damage_taken = total of damage taken. -last_dps = cache of the last calculed dps, it's best take actor.total / actor:Tempo() +last_dps = cache of the last calculed dps, it's best just use actor.total / actor:Tempo() last_event = when the last event for this actor occured. start_time = time when this actor started to apply damage. end_time = time when the actor stopped with damage. diff --git a/boot.lua b/boot.lua index 224a8f70..784e2cf7 100644 --- a/boot.lua +++ b/boot.lua @@ -3,8 +3,8 @@ _ = nil _detalhes = LibStub("AceAddon-3.0"):NewAddon("_detalhes", "AceTimer-3.0", "AceComm-3.0", "AceSerializer-3.0", "NickTag-1.0") - _detalhes.build_counter = 215 --it's 215 for release - _detalhes.userversion = "v3.2.1" + _detalhes.build_counter = 217 --it's 217 for release + _detalhes.userversion = "v3.2.3" _detalhes.realversion = 47 --core version _detalhes.version = _detalhes.userversion .. " (core " .. _detalhes.realversion .. ")" @@ -21,12 +21,13 @@ do --[[ -|cFFFFFF00v3.2.1 (|cFFFFCC00Nov 14, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Custom Displays updated to track WoD potions.\n\n|cFFFFFF00-|r Added Feedback panel at options panel.\n\n +|cFFFFFF00v3.2.3 (|cFFFFCC00Nov 18, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed Monk's Stagger ability which was counting as damage done.\n\n|cFFFFFF00-|r Added WoD dungeon information, this fixes dungeon bosses being assigned as 'trash cleanup'.\n\n +|cFFFFFF00-|r Added more information on API.txt document (is on Details! root folder).\n\n |cFFFFFF00-|r .\n\n --]] - Loc ["STRING_VERSION_LOG"] = "|cFFFFFF00v3.2.1 (|cFFFFCC00Nov 14, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Custom Displays updated to track WoD potions.\n\n|cFFFFFF00-|r Added Feedback panel at options panel.\n\n|cFFFFFF00v3.2.0 (|cFFFFCC00Nov 11, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Major changes on the way Details! store information, these changes saves up to 40% memory and 4% cpu usage.\n\n|cFFFFFF00-|r Fixed problem with pet's healing messing with the owner activity time.\n\n|cFFFFFF00-|r Added Energy -> Resources.\n\n|cFFFFFF00-|r Fixed combat initialization when the player start casting a Dot spell.\n\n|cFFFFFF00-|r Added new custom display: Damage Taken By Spell.\n\n|cFFFFFF00v2.2.3 (|cFFFFCC00Oct 26, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed the healing done problem with Priest's Spirit of Redemption.\n\n|cFFFFFF00-|r Fixed avoidance by absorb when the hit missed was a multistrike hit.\n\n|cFFFFFF00-|r Fixed a script time out problem when erasing data while in combat.\n\n|cFFFFFF00-|r Fixed bug with interrupt tooltip when the player have a pet.\n\n|cFFFFFF00v2.2.1 (|cFFFFCC00Oct 22, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed the gap between the button and its menu which sometimes traveling the mouse between them was activating tooltips from window's bars.\n\n|cFFFFFF00-|r Fixed an annoying menu blink when the window was near the right side of the screen.\n\n|cFFFFFF00-|r Fixed the stretch grab which was over other windows even with the 'stretch always on top' option disabled.\n\n|cFFFFFF00-|r Few fixes on healing done from absorbs.\n\n|cFFFFFF00v2.1.6 (|cFFFFCC00Oct 21, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed death's tooltip which wasn't respecting tooltip's configuration set on options panel.\n\n|cFFFFFF00-|r Now when the window is close to the top of the screen, menus will anchor on bottom side of the menu icons.\n\n|cFFFFFF00-|r Added micro displays options on Window Settings bracket.\n\n|cFFFFFF00-|r Fixed the problem with bar's custom texts.\n\n|cFFFFFF00-|r Lua functions inside custom texts, Chart Data scripts and Custom Displays scripts are now protected calls and won't break the addon functionality if an error occurs. Unfortunately we still doesn't have a documentation for Details! API.\n\n|cFFFFFF00-|r Fixed an incomum bug with tank avoidance tables.\n\n|cFFFFFF00-|r Tiny Threat: added option to use class colors instead of green-to-red colors.\n\n|cFFFFFF00-|r Added option to enable shadows on toolbar's buttons.\n\n|cFFFFFF00-|r Added option to set the specing between each button on toolbar.\n\n|cFFFFFF00-|r Finally we merged the left and right menus into only one with 6 icons.\n\n|cFFFFFF00-|r Removed window button and added a new option bracket to manage windows under Mode Menu.\n\n|cFFFFFF00-|r Few changes on 'Default Skin', 'Minimalistic', 'Simple Gray' and 'ElvUI Frame Style BW' (need reaply).\n\n|cFFFFFF00- Important:|r If the menus is out of the position, just reaply the skin.\n\nv2.0.15 (|cFFFFCC00Oct 15, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed tooltips where sometimes it wans't showing at all.\n\n|cFFFFFF00-|r Fixed the healing done amount on Malkorok encounter.\n\nv2.0.14 (|cFFFFCC00Oct 14, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Added pre-potion recognition for WoD pots.\n\n|cFFFFFF00-|r Added spell list for Blackrock Foundry encounters.\n\n|cFFFFFF00-|r Added mouse wheel scroll speed option.\n\n|cFFFFFF00-|r Added support for healing multistrike and damage multistrike.\n\n|cFFFFFF00-|r Added a Change Log button on Options Panel.\n\n|cFFFFFF00-|r When the windows is locked, trying to move the window through toolbar will stretch it instead.\n\n|cFFFFFF00-|r Renamed overheal for shields, now its called 'shield wasted'.\n\n|cFFFFFF00-|r Fine tuning on healing done, should have high accuracy now.\n\n|cFFFFFF00-|r Encounter Details plugin now supports Highmaul and Blackrock Foundry.\n\n|cFFFFFF00-|r New class cooldowns and spells recognition.\n\n|cFFFFFF00-|r Fixed few bugs on comparison panel and avoidance panel.\n\n|cFFFFFF00-|r Fixed encounter recognition, now it should show the encounter name over segments menu.\n\n|cFFFFFF00-|r Fixed Graphic part of Encounter Details Plugin, now he draws more accurately.\n\n|cFFFFFF00v1.29.3 (|cFFFFCC00Oct 11, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed an addon crash bug when clicking directly on the sword button.\n\n|cFFFFFF00-|r Removed Flat Skin, added new skin: Serenity.\n\n|cFFFFFF00-|r Fixed many issues with bar animations.\n\n|cFFFFFF00-|r Fixed combat encounter start if the player already is in combat when the boss is pulled.\n\n|cFFFFFF00-|r Fixed wheel scroll when sometimes it move very slow or doesn't move the bars at all.\n\n|cFFFFFF00-|r Added option 'Always Show Me' which when enabled and you aren't at the top ranked players shown in the window, it forces to show you in the last bar.\n\n|cFFFFFF00-|r Added option 'First Hit' which when enabled show who did the first struck in the combat (normally is who pulled the boss).\n\n|cFFFFFF00-|r Added a panel to change class colors.\n\n|cFFFFFF00v1.28.3 (|cFFFFCC00Oct 04, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Added support for plugin descriptions on options panel.\n\n|cFFFFFF00-|r Added scale option.\n\n|cFFFFFF00-|r Added a Change Log button on Options Panel.\n\n|cFFFFFF00-|r Added option to use the same profile on all characters without asking.\n\n|cFFFFFF00-|r Added a shortcut color button on main panel on Options Panel." + Loc ["STRING_VERSION_LOG"] = "|cFFFFFF00v3.2.3 (|cFFFFCC00Nov 18, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed Monk's Stagger ability which was counting as damage done.\n\n|cFFFFFF00-|r Added WoD dungeon information, this fixes dungeon bosses being assigned as 'trash cleanup'.\n\n|cFFFFFF00-|r Added more information on API.txt document (is in Details! root folder).\n\n|cFFFFFF00v3.2.1 (|cFFFFCC00Nov 14, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Custom Displays updated to track WoD potions.\n\n|cFFFFFF00-|r Added Feedback panel at options panel.\n\n|cFFFFFF00v3.2.0 (|cFFFFCC00Nov 11, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Major changes on the way Details! store information, these changes saves up to 40% memory and 4% cpu usage.\n\n|cFFFFFF00-|r Fixed problem with pet's healing messing with the owner activity time.\n\n|cFFFFFF00-|r Added Energy -> Resources.\n\n|cFFFFFF00-|r Fixed combat initialization when the player start casting a Dot spell.\n\n|cFFFFFF00-|r Added new custom display: Damage Taken By Spell.\n\n|cFFFFFF00v2.2.3 (|cFFFFCC00Oct 26, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed the healing done problem with Priest's Spirit of Redemption.\n\n|cFFFFFF00-|r Fixed avoidance by absorb when the hit missed was a multistrike hit.\n\n|cFFFFFF00-|r Fixed a script time out problem when erasing data while in combat.\n\n|cFFFFFF00-|r Fixed bug with interrupt tooltip when the player have a pet.\n\n|cFFFFFF00v2.2.1 (|cFFFFCC00Oct 22, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed the gap between the button and its menu which sometimes traveling the mouse between them was activating tooltips from window's bars.\n\n|cFFFFFF00-|r Fixed an annoying menu blink when the window was near the right side of the screen.\n\n|cFFFFFF00-|r Fixed the stretch grab which was over other windows even with the 'stretch always on top' option disabled.\n\n|cFFFFFF00-|r Few fixes on healing done from absorbs.\n\n|cFFFFFF00v2.1.6 (|cFFFFCC00Oct 21, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed death's tooltip which wasn't respecting tooltip's configuration set on options panel.\n\n|cFFFFFF00-|r Now when the window is close to the top of the screen, menus will anchor on bottom side of the menu icons.\n\n|cFFFFFF00-|r Added micro displays options on Window Settings bracket.\n\n|cFFFFFF00-|r Fixed the problem with bar's custom texts.\n\n|cFFFFFF00-|r Lua functions inside custom texts, Chart Data scripts and Custom Displays scripts are now protected calls and won't break the addon functionality if an error occurs. Unfortunately we still doesn't have a documentation for Details! API.\n\n|cFFFFFF00-|r Fixed an incomum bug with tank avoidance tables.\n\n|cFFFFFF00-|r Tiny Threat: added option to use class colors instead of green-to-red colors.\n\n|cFFFFFF00-|r Added option to enable shadows on toolbar's buttons.\n\n|cFFFFFF00-|r Added option to set the specing between each button on toolbar.\n\n|cFFFFFF00-|r Finally we merged the left and right menus into only one with 6 icons.\n\n|cFFFFFF00-|r Removed window button and added a new option bracket to manage windows under Mode Menu.\n\n|cFFFFFF00-|r Few changes on 'Default Skin', 'Minimalistic', 'Simple Gray' and 'ElvUI Frame Style BW' (need reaply).\n\n|cFFFFFF00- Important:|r If the menus is out of the position, just reaply the skin.\n\nv2.0.15 (|cFFFFCC00Oct 15, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed tooltips where sometimes it wans't showing at all.\n\n|cFFFFFF00-|r Fixed the healing done amount on Malkorok encounter.\n\nv2.0.14 (|cFFFFCC00Oct 14, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Added pre-potion recognition for WoD pots.\n\n|cFFFFFF00-|r Added spell list for Blackrock Foundry encounters.\n\n|cFFFFFF00-|r Added mouse wheel scroll speed option.\n\n|cFFFFFF00-|r Added support for healing multistrike and damage multistrike.\n\n|cFFFFFF00-|r Added a Change Log button on Options Panel.\n\n|cFFFFFF00-|r When the windows is locked, trying to move the window through toolbar will stretch it instead.\n\n|cFFFFFF00-|r Renamed overheal for shields, now its called 'shield wasted'.\n\n|cFFFFFF00-|r Fine tuning on healing done, should have high accuracy now.\n\n|cFFFFFF00-|r Encounter Details plugin now supports Highmaul and Blackrock Foundry.\n\n|cFFFFFF00-|r New class cooldowns and spells recognition.\n\n|cFFFFFF00-|r Fixed few bugs on comparison panel and avoidance panel.\n\n|cFFFFFF00-|r Fixed encounter recognition, now it should show the encounter name over segments menu.\n\n|cFFFFFF00-|r Fixed Graphic part of Encounter Details Plugin, now he draws more accurately.\n\n|cFFFFFF00v1.29.3 (|cFFFFCC00Oct 11, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed an addon crash bug when clicking directly on the sword button.\n\n|cFFFFFF00-|r Removed Flat Skin, added new skin: Serenity.\n\n|cFFFFFF00-|r Fixed many issues with bar animations.\n\n|cFFFFFF00-|r Fixed combat encounter start if the player already is in combat when the boss is pulled.\n\n|cFFFFFF00-|r Fixed wheel scroll when sometimes it move very slow or doesn't move the bars at all.\n\n|cFFFFFF00-|r Added option 'Always Show Me' which when enabled and you aren't at the top ranked players shown in the window, it forces to show you in the last bar.\n\n|cFFFFFF00-|r Added option 'First Hit' which when enabled show who did the first struck in the combat (normally is who pulled the boss).\n\n|cFFFFFF00-|r Added a panel to change class colors.\n\n|cFFFFFF00v1.28.3 (|cFFFFCC00Oct 04, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Added support for plugin descriptions on options panel.\n\n|cFFFFFF00-|r Added scale option.\n\n|cFFFFFF00-|r Added a Change Log button on Options Panel.\n\n|cFFFFFF00-|r Added option to use the same profile on all characters without asking.\n\n|cFFFFFF00-|r Added a shortcut color button on main panel on Options Panel." Loc ["STRING_DETAILS1"] = "|cffffaeaeDetails!:|r " diff --git a/core/parser.lua b/core/parser.lua index 816c445d..fe11462e 100644 --- a/core/parser.lua +++ b/core/parser.lua @@ -396,7 +396,7 @@ (_bit_band (alvo_flags, REACTION_FRIENDLY) ~= 0 and _bit_band (who_flags, REACTION_FRIENDLY) ~= 0) or (raid_members_cache [who_serial] and raid_members_cache [alvo_serial]) ) then - + --> record death log local t = last_events_cache [alvo_name] @@ -432,7 +432,8 @@ friend.total = friend.total + amount friend.spells [spellid] = (friend.spells [spellid] or 0) + amount - + + return true else _current_total [1] = _current_total [1]+amount diff --git a/plugins/Details_DungeonInfo-Warlords/Details_DungeonInfo-Warlords.lua b/plugins/Details_DungeonInfo-Warlords/Details_DungeonInfo-Warlords.lua new file mode 100644 index 00000000..41e9ef00 --- /dev/null +++ b/plugins/Details_DungeonInfo-Warlords/Details_DungeonInfo-Warlords.lua @@ -0,0 +1,359 @@ +--Auchindoun +--Bloodmail Slag Mines +--The Everbloom +--GrimrailDepot +--IronDocks +--ShadowmoonBurialGrounds +--Skyreach +--UpperBlackrockSpire + + +local Auchindoun = { + id = 1182, --mapid + ej_id = 547, --encounter journal id + + name = "Auchindoun", + + boss_names = { + "Vigilant Kaathar", + "Soulbinder Nyami", + "Azzakel", + "Teron'gor", + }, + + boss_ids = { + [86217] = 1, --Vigilant Kaathar + [86218] = 2, --Soulbinder Nyami + [86219] = 3, --Azzakel + [86220] = 4, --Teron'gor + }, + + encounters = { + [1] = { + boss = "Vigilant Kaathar", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Auchindoun Defense Construct]], + }, + [2] = { + boss = "Soulbinder Nyami", + portrait = [[Interface\EncounterJournal\journal/UI-EJ-BOSS-Soulbinder Nyami]], + }, + [3] = { + boss = "Azzakel", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Azzakel Vanguard Of The Legion]], + }, + [4] = { + boss = "Teron'gor", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Terongor]], + }, + }, +} + +_detalhes:InstallEncounter (Auchindoun) + + +local BloodmailSlagMines = { + id = 0, --mapid + ej_id = 385, --encounter journal id + + name = "Bloodmail Slag Mines", + + boss_names = { + "Slave Watcher Crushto", + "Forgemaster Gog'duh", + "Roltall", + "Gug'rokk", + }, + + boss_ids = { + [86222] = 1, --Slave Watcher Crushto + [74366] = 2, --Forgemaster Gog'duh + [86223] = 3, --Roltall + [86224] = 4, --Gug'rokk + }, + + encounters = { + [1] = { + boss = "Slave Watcher Crushto", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Slave Watcher Crushto]], + }, + [2] = { + boss = "Forgemaster Gog'duh", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Magmolatus]], + }, + [3] = { + boss = "Roltall", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Roltall]], + }, + [4] = { + boss = "Gug'rokk", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Gugrokk]], + }, + }, + +} + +_detalhes:InstallEncounter (BloodmailSlagMines) + +local TheEverbloom = { + id = 0, --mapid + ej_id = 556, --encounter journal id + + name = "The Everbloom", + + boss_names = { + "Ancient Protectors", + "Archmage Sol", + "Xeri'tac", + "Witherbark", + "Yalnu", + }, + + boss_ids = { + [83894] = 1, --Ancient Protectors + [86246] = 2, --Archmage Sol + [86247] = 3, --Xeri'tac + [86242] = 4, --Witherbark + [86248] = 5, --Yalnu + }, + + encounters = { + [1] = { + boss = "Ancient Protectors", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Dulhu]], + }, + [2] = { + boss = "Archmage Sol", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Archmage Sol]], + }, + [3] = { + boss = "Xeri'tac", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Xeritac]], + }, + [4] = { + boss = "Witherbark", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Witherbark]], + }, + [5] = { + boss = "Yalnu", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Yalnu]], + }, + }, +} + +_detalhes:InstallEncounter (TheEverbloom) + +local GrimrailDepot = { + id = 1208, --mapid + ej_id = 536, --encounter journal id + + name = "Grimrail Depot", + + boss_names = { + "Skylord Tovra", + "Rocketspark and Borka", + "Nitrogg Thundertower", + }, + + boss_ids = { + [86228] = 1, --Skylord Tovra + [86225] = 2, --Rocketspark and Borka + [86227] = 3, --Nitrogg Thundertower + }, + + encounters = { + [1] = { + boss = "Skylord Tovra", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Thunderlord General]], + }, + [2] = { + boss = "Rocketspark and Borka", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Pauli Rocketspark]], + }, + [3] = { + boss = "Nitrogg Thundertower", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Blackrock Assault Commander]], + }, + }, +} + +_detalhes:InstallEncounter (GrimrailDepot) + +local IronDocks = { + id = 0, --mapid + ej_id = 558, --encounter journal id + + name = "Iron Docks", + + boss_names = { + "Fleshrender Nok'gar", + "Ahri'ok Dugru", + "Oshir", + "Skulloc", + }, + + boss_ids = { + [87451] = 1, --Fleshrender Nok'gar + [87452] = 2, --Ahri'ok Dugru + [86232] = 3, --Oshir + [86233] = 4, --Skulloc + }, + + encounters = { + [1] = { + boss = "Fleshrender Nok'gar", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Warsong Battlemaster]], + }, + [2] = { + boss = "Ahri'ok Dugru", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Blood Shaman]], + }, + [3] = { + boss = "Oshir", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Oshir]], + }, + [4] = { + boss = "Skulloc", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Skulloc]], + }, + }, +} + +_detalhes:InstallEncounter (IronDocks) + +local ShadowmoonBurialGrounds = { + id = 0, --mapid + ej_id = 537, --encounter journal id + + name = "Shadowmoon Burial Grounds", + + boss_names = { + "Sadana Bloodfury", + "Bonemaw", + "Ner'zhul", + "Nhallish", + }, + + boss_ids = { + [86234] = 1, --Sadana Bloodfury + [86236] = 2, --Bonemaw + [76268] = 3, --Ner'zhul + [75829] = 4, --Nhallish + }, + + encounters = { + [1] = { + boss = "Sadana Bloodfury", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Sadana Bloodfury]], + }, + [2] = { + boss = "Bonemaw", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Bonemaw]], + }, + [3] = { + boss = "Ner'zhul", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Nerzhul]], + }, + [4] = { + boss = "Nhallish", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Nhallish Feaster of Souls]], + }, + }, +} + +_detalhes:InstallEncounter (ShadowmoonBurialGrounds) + +local Skyreach = { + id = 1209, --mapid + ej_id = 476, --encounter journal id + + name = "Skyreach", + + boss_names = { + "Ranjit", + "Araknath", + "Rukhran", + "High Sage Viryx", + }, + + boss_ids = { + [86238] = 1, --Ranjit + [86239] = 2, --Araknath + [76379] = 3, --Rukhran + [86241] = 4, --High Sage Viryx + }, + + encounters = { + [1] = { + boss = "Ranjit", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Ranjit]], + }, + [2] = { + boss = "Araknath", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Araknath]], + }, + [3] = { + boss = "Rukhran", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Rukhran]], + }, + [4] = { + boss = "High Sage Viryx", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-High Sage Viryx]], + }, + }, +} + +_detalhes:InstallEncounter (Skyreach) + +local UpperBlackrockSpire = { + id = 1358, --mapid + ej_id = 559, --encounter journal id + + name = "Upper Blackrock Spire", + + boss_names = { + "Orebender Gor'ashan", + "Kyrak", + "Commander Tharbek", + "Ragewing the Untamed", + "Warlord Zaela", + "The Lanticore", + }, + + boss_ids = { + [86249] = 1, --Orebender Gor'ashan + [86250] = 2, --Kyrak + [86251] = 3, --Commander Tharbek + [76585] = 4, --Ragewing the Untamed + [77120] = 5, --Warlord Zaela + [77081] = 6, --The Lanticore + }, + + encounters = { + [1] = { + boss = "Orebender Gor'ashan", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Orebender Gorashan]], + }, + [2] = { + boss = "Kyrak", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Kyrak]], + }, + [3] = { + boss = "Commander Tharbek", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Ironmarch Commander Tharbek]], + }, + [4] = { + boss = "Ragewing the Untamed", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Ragewing the Untamed]], + }, + [5] = { + boss = "Warlord Zaela", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Warlord Zaela]], + }, + [6] = { + boss = "The Lanticore", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Warlord Zaela]], + }, + }, +} + +_detalhes:InstallEncounter (UpperBlackrockSpire) \ No newline at end of file diff --git a/plugins/Details_DungeonInfo-Warlords/Details_DungeonInfo-Warlords.toc b/plugins/Details_DungeonInfo-Warlords/Details_DungeonInfo-Warlords.toc new file mode 100644 index 00000000..b397a328 --- /dev/null +++ b/plugins/Details_DungeonInfo-Warlords/Details_DungeonInfo-Warlords.toc @@ -0,0 +1,6 @@ +## Interface: 60000 +## Title: Details: Warlords of Draenor Dungeons +## Notes: Plugin for Details +## RequiredDeps: Details + +Details_DungeonInfo-Warlords.lua \ No newline at end of file diff --git a/startup.lua b/startup.lua index 09bd5823..02d45326 100644 --- a/startup.lua +++ b/startup.lua @@ -1,4 +1,6 @@ + + --> check unloaded files: if ( -- version 1.21.0