Mercurial > wow > details-legacy-raids-info
changeset 0:0de01324b4f2
first commit
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.pkgmeta Tue Jun 23 15:26:28 2015 -0300 @@ -0,0 +1,4 @@ +move-folders: + Details_RaidInfo-ThroneOfThunder/Details_RaidInfo-BlackrockFoundry: Details_RaidInfo-BlackrockFoundry + Details_RaidInfo-ThroneOfThunder/Details_RaidInfo-Highmaul: Details_RaidInfo-Highmaul + Details_RaidInfo-ThroneOfThunder/Details_RaidInfo-SiegeOfOrgrimmar: Details_RaidInfo-SiegeOfOrgrimmar \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Details_RaidInfo-BlackrockFoundry/Details_RaidInfo-BlackrockFoundry.lua Tue Jun 23 15:26:28 2015 -0300 @@ -0,0 +1,277 @@ + +local _detalhes = _G._detalhes + +local blackrock_foundry = { + + id = 1205, --994 = map id extracted from encounter journal + ej_id = 477, --encounter journal id + + name = "Blackrock Foundry", + + icons = [[Interface\AddOns\Details_RaidInfo-BlackrockFoundry\boss_faces]], + icon = [[Interface\AddOns\Details_RaidInfo-BlackrockFoundry\icon256x128]], + + is_raid = true, + + backgroundFile = {file = [[Interface\Glues\LOADINGSCREENS\LoadingScreen_BlackrockFoundry]], coords = {0, 1, 132/512, 439/512}}, + backgroundEJ = [[Interface\EncounterJournal\UI-EJ-LOREBG-BlackrockFoundry]], + + boss_names = { + --[[ 1 ]] "Gruul", + --[[ 2 ]] "Oregorger", + --[[ 3 ]] "Beastlord Darmac", + --[[ 4 ]] "Flamebender Ka'graz", + --[[ 5 ]] "Hans'gar and Franzok", + --[[ 6 ]] "Operator Thogar", + --[[ 7 ]] "The Blast Furnace", + --[[ 8 ]] "Kromog", + --[[ 9 ]] "The Iron Maidens", + --[[ 10 ]] "Blackhand", + }, + + encounter_ids = { --encounter journal encounter id + --> Ids by Index + 1161, 1202, 1122, 1123, 1155, 1147, 1154, 1162, 1203, 959, + + --> Boss Index + [1161] = 1, + [1202] = 2, + [1122] = 3, + [1123] = 4, + [1155] = 5, + [1147] = 6, + [1154] = 7, + [1162] = 8, + [1203] = 9, + [959] = 10, + }, + + encounter_ids2 = { + --combatlog encounter id + [1691] = 1, --Gruul + [1696] = 2, --Oregorger + [1694] = 3, --Beastlord Darmac + [1689] = 4, --Flamebender Ka'graz + [1693] = 5, --Hans'gar & Franzok + [1692] = 6, --Operator Thogar + [1690] = 7, --The Blast Furnace + [1713] = 8, --Kromog, Legend of the Mountain + [1695] = 9, --The Iron Maidens + [1704] = 10, --Blackhand + }, + + boss_ids = { + --npc ids + [76877] = 1, --Gruul + [77182] = 2, --Oregorger + [76865] = 3, --Beastlord Darmac + [76814] = 4, --Flamebender Ka'graz + [76974] = 5, --Franzok + [76973] = 5, --Hans'gar + [76906] = 6, --Operator Thogar + [76806] = 7, --Heart of the Mountain + [77692] = 8, --Kromog, Legend of the Mountain + [77557] = 9, -- Admiral Gar'an + [77231] = 9, --Enforcer Sorka + [77477] = 9, --Marak the Blooded + [77325] = 10, --Blackhand + }, + + encounters = { + + [1] = { + boss = "Gruul", + portrait = [[Interface\ENCOUNTERJOURNAL\UI-EJ-BOSS-Gruul]], + + --> spell list + continuo = { + 155080, + 155301, + 155530, + 162322, + 165983, + 173190, + 173192, + }, + }, + + [2] = { + boss = "Oregorger", + portrait = [[Interface\ENCOUNTERJOURNAL\UI-EJ-BOSS-Oregorger]], + + --> spell list + continuo = { + 155897, + 155900, + 156203, + 156297, + 156324, + 156374, + 156388, + 156879, + 165983, + 173471, + }, + }, + + [3] = { + boss = "Beastlord Darmac", + portrait = [[Interface\ENCOUNTERJOURNAL\UI-EJ-BOSS-Beastlord Darmac]], + + --> spell list + continuo = { + 154956, + 154960, + 154981, + 154989, + 155030, + 155061, + 155198, + 155222, + 155247, + 155499, + 155531, + 155611, + 155657, + 155718, + 156823, + 156824, + 162275, + 162283, + }, + }, + + [4] = { + boss = "Flamebender Ka'graz", + portrait = [[Interface\ENCOUNTERJOURNAL\UI-EJ-BOSS-Flamebender Kagraz]], + + --> spell list + continuo = { + 154938, + 155049, + 155074, + 155314, + 155318, + 155484, + 155511, + 156018, + 156040, + 156713, + 163284, + 163633, + 163822, + }, + }, + + [5] = { + boss = "Hans'gar and Franzok", + portrait = [[Interface\ENCOUNTERJOURNAL\UI-EJ-BOSS-Franzok]], + + --> spell list + continuo = { + 153470, + 155818, + 156938, + 157853, + 158140, + 161570, + }, + }, + + [6] = { + boss = "Operator Thogar", + portrait = [[Interface\ENCOUNTERJOURNAL\UI-EJ-BOSS-Operator Thogar]], + + --> spell list + continuo = { + 163754, + 156554, + 155921, + 158084, + 163752, + 155701, + 160050, + 156270, + 156655, + }, + }, + + [7] = { + boss = "The Blast Furnace", + portrait = [[Interface\ENCOUNTERJOURNAL\UI-EJ-BOSS-The Blast Furnace]], + + --> spell list + continuo = { + 155187, + 155201, + 155209, + 155223, + 155242, + 155743, + 156932, + 156937, + 158246, + 159408, + }, + }, + + [8] = { + boss = "Kromog", + portrait = [[Interface\ENCOUNTERJOURNAL\UI-EJ-BOSS-Kromog]], + + --> spell list + continuo = { + 156704, + 156844, + 157055, + 157059, + 157247, + 157659, + 161893, + 161923, + 162349, + 162392, + }, + }, + + [9] = { + boss = "The Iron Maidens", + portrait = [[Interface\ENCOUNTERJOURNAL\UI-EJ-BOSS-Iron Maidens]], + + --> spell list + continuo = { + 155841, + 156637, + 156669, + 157884, + 158078, + 158080, + 158683, + 159335, + 160436, + 160733, + }, + }, + + [10] = { + boss = "Blackhand", + portrait = [[Interface\ENCOUNTERJOURNAL\UI-EJ-BOSS-Warlord Blackhand]], + + --> spell list + continuo = { + 155992, + 156044, + 156107, + 156401, + 156479, + 156497, + 156731, + 156743, + }, + }, + + }, + +} + +_detalhes:InstallEncounter (blackrock_foundry) \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Details_RaidInfo-BlackrockFoundry/Details_RaidInfo-BlackrockFoundry.toc Tue Jun 23 15:26:28 2015 -0300 @@ -0,0 +1,6 @@ +## Interface: 60200 +## Title: Details: Blackrock Foundry +## Notes: Plugin for Details +## RequiredDeps: Details + +Details_RaidInfo-BlackrockFoundry.lua
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Details_RaidInfo-Highmaul/Details_RaidInfo-Highmaul.lua Tue Jun 23 15:26:28 2015 -0300 @@ -0,0 +1,149 @@ + +local _detalhes = _G._detalhes + +local trash_mobs_ids = { + +} + +local highmaul = { + + id = 1228, --994 = map id extracted from encounter journal + ej_id = 477, --encounter journal id + + name = "Highmaul", + + icons = [[Interface\AddOns\Details_RaidInfo-Highmaul\boss_faces]], + icon = [[Interface\AddOns\Details_RaidInfo-Highmaul\icon256x128]], + + is_raid = true, + + backgroundFile = {file = [[Interface\Glues\LOADINGSCREENS\LoadingScreen_HighMaulRaid]], coords = {0, 1, 265/1024, 875/1024}}, + backgroundEJ = [[Interface\EncounterJournal\UI-EJ-LOREBG-Highmaul]], + + boss_names = { + --[[ 1 ]] "Kargath Bladefist", + --[[ 2 ]] "The Butcher", + --[[ 3 ]] "Tectus", + --[[ 4 ]] "Brackenspore", + --[[ 5 ]] "Twin Ogron", + --[[ 6 ]] "Ko'ragh", + --[[ 7 ]] "Imperator Mar'gok", + }, + + encounter_ids = { --encounter journal encounter id + --> Ids by Index + 1128, 971, 1195, 1196, 1148, 1153, 1197, + + --> Boss Index + [1128] = 1, + [971] = 2, + [1195] = 3, + [1196] = 4, + [1148] = 5, + [1153] = 6, + [1197] = 7, + }, + + encounter_ids2 = { + --combatlog encounter id + [1721] = 1, --kargath + [1706] = 2, --the butcher + [1722] = 3, --tectus + [1720] = 4, --brakenspore + [1719] = 5, --twin ogron + [1723] = 6, --Koragh + [1705] = 7, --Margok + }, + + boss_ids = { + --npc ids + [78714] = 1, --Kargath + [77404] = 2, --The Butcher + [78948] = 3, --Tectus + [78491] = 4, --Brakenspore + [78238] = 5, --Pol + [78237] = 5, --Phemos + [79015] = 6, --Koragh + [77428] = 7, --Margok + }, + + encounters = { + + [1] = { + boss = "Kargath Bladefist", + portrait = [[Interface\ENCOUNTERJOURNAL\UI-EJ-BOSS-Kargath Bladefist]], + + --> spell list + continuo = {}, + }, + + [2] = { + boss = "The Butcher", + portrait = [[Interface\ENCOUNTERJOURNAL\UI-EJ-BOSS-The Butcher]], + + --> spell list + continuo = {}, + }, + + [3] = { + boss = "Tectus", + portrait = [[Interface\ENCOUNTERJOURNAL\UI-EJ-BOSS-Tectus The Living Mountain]], + + --> spell list + continuo = {}, + + funcType = 0x2, + func = function (combat) + local removed = false + local list = combat:GetActorList (DETAILS_ATTRIBUTE_DAMAGE) + for i = #list, 1, -1 do + local id = _detalhes:GetNpcIdFromGuid (list[i].serial) + if (trash_mobs_ids [id]) then + tremove (list, i) + combat.totals [DETAILS_ATTRIBUTE_DAMAGE] = combat.totals [DETAILS_ATTRIBUTE_DAMAGE] - list[i].total + removed = true + end + end + if (removed) then + combat[DETAILS_ATTRIBUTE_DAMAGE]:Remap() + end + end, + }, + + [4] = { + boss = "Brackenspore", + portrait = [[Interface\ENCOUNTERJOURNAL\UI-EJ-BOSS-Brackenspore]], + + --> spell list + continuo = {}, + }, + + [5] = { + boss = "Twin Ogron", + portrait = [[Interface\ENCOUNTERJOURNAL\UI-EJ-BOSS-Twin Ogron]], + + --> spell list + continuo = {}, + }, + + [6] = { + boss = "Ko'ragh", + portrait = [[Interface\ENCOUNTERJOURNAL\UI-EJ-BOSS-Fel Breaker]], + + --> spell list + continuo = {}, + }, + + [7] = { + boss = "Imperator Mar'gok", + portrait = [[Interface\ENCOUNTERJOURNAL\UI-EJ-BOSS-Imperator Margok]], + + --> spell list + continuo = {}, + }, + + }, + +} + +_detalhes:InstallEncounter (highmaul)
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Details_RaidInfo-Highmaul/Details_RaidInfo-Highmaul.toc Tue Jun 23 15:26:28 2015 -0300 @@ -0,0 +1,6 @@ +## Interface: 60200 +## Title: Details: Highmaul +## Notes: Plugin for Details +## RequiredDeps: Details + +Details_RaidInfo-Highmaul.lua
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Details_RaidInfo-SiegeOfOrgrimmar/Details_RaidInfo-SiegeOfOrgrimmar.toc Tue Jun 23 15:26:28 2015 -0300 @@ -0,0 +1,9 @@ +## Interface: 60200 +## Title: Details: Siege of Orgrimmar +## Notes: Plugin for Details +## RequiredDeps: Details + +enUS.lua +ptBR.lua + +SiegeOfOrgrimmar.lua
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Details_RaidInfo-SiegeOfOrgrimmar/Libs/AceLocale-3.0/AceLocale-3.0.lua Tue Jun 23 15:26:28 2015 -0300 @@ -0,0 +1,137 @@ +--- **AceLocale-3.0** manages localization in addons, allowing for multiple locale to be registered with fallback to the base locale for untranslated strings. +-- @class file +-- @name AceLocale-3.0 +-- @release $Id: AceLocale-3.0.lua 1035 2011-07-09 03:20:13Z kaelten $ +local MAJOR,MINOR = "AceLocale-3.0", 6 + +local AceLocale, oldminor = LibStub:NewLibrary(MAJOR, MINOR) + +if not AceLocale then return end -- no upgrade needed + +-- Lua APIs +local assert, tostring, error = assert, tostring, error +local getmetatable, setmetatable, rawset, rawget = getmetatable, setmetatable, rawset, rawget + +-- Global vars/functions that we don't upvalue since they might get hooked, or upgraded +-- List them here for Mikk's FindGlobals script +-- GLOBALS: GAME_LOCALE, geterrorhandler + +local gameLocale = GetLocale() +if gameLocale == "enGB" then + gameLocale = "enUS" +end + +AceLocale.apps = AceLocale.apps or {} -- array of ["AppName"]=localetableref +AceLocale.appnames = AceLocale.appnames or {} -- array of [localetableref]="AppName" + +-- This metatable is used on all tables returned from GetLocale +local readmeta = { + __index = function(self, key) -- requesting totally unknown entries: fire off a nonbreaking error and return key + rawset(self, key, key) -- only need to see the warning once, really + geterrorhandler()(MAJOR..": "..tostring(AceLocale.appnames[self])..": Missing entry for '"..tostring(key).."'") + return key + end +} + +-- This metatable is used on all tables returned from GetLocale if the silent flag is true, it does not issue a warning on unknown keys +local readmetasilent = { + __index = function(self, key) -- requesting totally unknown entries: return key + rawset(self, key, key) -- only need to invoke this function once + return key + end +} + +-- Remember the locale table being registered right now (it gets set by :NewLocale()) +-- NOTE: Do never try to register 2 locale tables at once and mix their definition. +local registering + +-- local assert false function +local assertfalse = function() assert(false) end + +-- This metatable proxy is used when registering nondefault locales +local writeproxy = setmetatable({}, { + __newindex = function(self, key, value) + rawset(registering, key, value == true and key or value) -- assigning values: replace 'true' with key string + end, + __index = assertfalse +}) + +-- This metatable proxy is used when registering the default locale. +-- It refuses to overwrite existing values +-- Reason 1: Allows loading locales in any order +-- Reason 2: If 2 modules have the same string, but only the first one to be +-- loaded has a translation for the current locale, the translation +-- doesn't get overwritten. +-- +local writedefaultproxy = setmetatable({}, { + __newindex = function(self, key, value) + if not rawget(registering, key) then + rawset(registering, key, value == true and key or value) + end + end, + __index = assertfalse +}) + +--- Register a new locale (or extend an existing one) for the specified application. +-- :NewLocale will return a table you can fill your locale into, or nil if the locale isn't needed for the players +-- game locale. +-- @paramsig application, locale[, isDefault[, silent]] +-- @param application Unique name of addon / module +-- @param locale Name of the locale to register, e.g. "enUS", "deDE", etc. +-- @param isDefault If this is the default locale being registered (your addon is written in this language, generally enUS) +-- @param silent If true, the locale will not issue warnings for missing keys. Must be set on the first locale registered. If set to "raw", nils will be returned for unknown keys (no metatable used). +-- @usage +-- -- enUS.lua +-- local L = LibStub("AceLocale-3.0"):NewLocale("TestLocale", "enUS", true) +-- L["string1"] = true +-- +-- -- deDE.lua +-- local L = LibStub("AceLocale-3.0"):NewLocale("TestLocale", "deDE") +-- if not L then return end +-- L["string1"] = "Zeichenkette1" +-- @return Locale Table to add localizations to, or nil if the current locale is not required. +function AceLocale:NewLocale(application, locale, isDefault, silent) + + -- GAME_LOCALE allows translators to test translations of addons without having that wow client installed + local gameLocale = GAME_LOCALE or gameLocale + + local app = AceLocale.apps[application] + + if silent and app and getmetatable(app) ~= readmetasilent then + geterrorhandler()("Usage: NewLocale(application, locale[, isDefault[, silent]]): 'silent' must be specified for the first locale registered") + end + + if not app then + if silent=="raw" then + app = {} + else + app = setmetatable({}, silent and readmetasilent or readmeta) + end + AceLocale.apps[application] = app + AceLocale.appnames[app] = application + end + + if locale ~= gameLocale and not isDefault then + return -- nop, we don't need these translations + end + + registering = app -- remember globally for writeproxy and writedefaultproxy + + if isDefault then + return writedefaultproxy + end + + return writeproxy +end + +--- Returns localizations for the current locale (or default locale if translations are missing). +-- Errors if nothing is registered (spank developer, not just a missing translation) +-- @param application Unique name of addon / module +-- @param silent If true, the locale is optional, silently return nil if it's not found (defaults to false, optional) +-- @return The locale table for the current language. +function AceLocale:GetLocale(application, silent) + if not silent and not AceLocale.apps[application] then + error("Usage: GetLocale(application[, silent]): 'application' - No locales registered for '"..tostring(application).."'", 2) + end + return AceLocale.apps[application] +end
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Details_RaidInfo-SiegeOfOrgrimmar/Libs/AceLocale-3.0/AceLocale-3.0.xml Tue Jun 23 15:26:28 2015 -0300 @@ -0,0 +1,4 @@ +<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/ +..\FrameXML\UI.xsd"> + <Script file="AceLocale-3.0.lua"/> +</Ui> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Details_RaidInfo-SiegeOfOrgrimmar/Libs/LibStub/LibStub.lua Tue Jun 23 15:26:28 2015 -0300 @@ -0,0 +1,51 @@ +-- $Id: LibStub.lua 76 2007-09-03 01:50:17Z mikk $ +-- LibStub is a simple versioning stub meant for use in Libraries. http://www.wowace.com/wiki/LibStub for more info +-- LibStub is hereby placed in the Public Domain +-- Credits: Kaelten, Cladhaire, ckknight, Mikk, Ammo, Nevcairiel, joshborke +local LIBSTUB_MAJOR, LIBSTUB_MINOR = "LibStub", 2 -- NEVER MAKE THIS AN SVN REVISION! IT NEEDS TO BE USABLE IN ALL REPOS! +local LibStub = _G[LIBSTUB_MAJOR] + +-- Check to see is this version of the stub is obsolete +if not LibStub or LibStub.minor < LIBSTUB_MINOR then + LibStub = LibStub or {libs = {}, minors = {} } + _G[LIBSTUB_MAJOR] = LibStub + LibStub.minor = LIBSTUB_MINOR + + -- LibStub:NewLibrary(major, minor) + -- major (string) - the major version of the library + -- minor (string or number ) - the minor version of the library + -- + -- returns nil if a newer or same version of the lib is already present + -- returns empty library object or old library object if upgrade is needed + function LibStub:NewLibrary(major, minor) + assert(type(major) == "string", "Bad argument #2 to `NewLibrary' (string expected)") + minor = assert(tonumber(strmatch(minor, "%d+")), "Minor version must either be a number or contain a number.") + + local oldminor = self.minors[major] + if oldminor and oldminor >= minor then return nil end + self.minors[major], self.libs[major] = minor, self.libs[major] or {} + return self.libs[major], oldminor + end + + -- LibStub:GetLibrary(major, [silent]) + -- major (string) - the major version of the library + -- silent (boolean) - if true, library is optional, silently return nil if its not found + -- + -- throws an error if the library can not be found (except silent is set) + -- returns the library object if found + function LibStub:GetLibrary(major, silent) + if not self.libs[major] and not silent then + error(("Cannot find a library instance of %q."):format(tostring(major)), 2) + end + return self.libs[major], self.minors[major] + end + + -- LibStub:IterateLibraries() + -- + -- Returns an iterator for the currently registered libraries + function LibStub:IterateLibraries() + return pairs(self.libs) + end + + setmetatable(LibStub, { __call = LibStub.GetLibrary }) +end
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Details_RaidInfo-SiegeOfOrgrimmar/Libs/LibStub/LibStub.toc Tue Jun 23 15:26:28 2015 -0300 @@ -0,0 +1,13 @@ +## Interface: 40200 +## Title: Lib: LibStub +## Notes: Universal Library Stub +## Credits: Kaelten, Cladhaire, ckknight, Mikk, Ammo, Nevcairiel +## X-Website: http://www.wowace.com/addons/libstub/ +## X-Category: Library +## X-License: Public Domain +## X-Curse-Packaged-Version: r95 +## X-Curse-Project-Name: LibStub +## X-Curse-Project-ID: libstub +## X-Curse-Repository-ID: wow/libstub/mainline + +LibStub.lua
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Details_RaidInfo-SiegeOfOrgrimmar/Libs/LibStub/tests/test.lua Tue Jun 23 15:26:28 2015 -0300 @@ -0,0 +1,41 @@ +debugstack = debug.traceback +strmatch = string.match + +loadfile("../LibStub.lua")() + +local lib, oldMinor = LibStub:NewLibrary("Pants", 1) -- make a new thingy +assert(lib) -- should return the library table +assert(not oldMinor) -- should not return the old minor, since it didn't exist + +-- the following is to create data and then be able to check if the same data exists after the fact +function lib:MyMethod() +end +local MyMethod = lib.MyMethod +lib.MyTable = {} +local MyTable = lib.MyTable + +local newLib, newOldMinor = LibStub:NewLibrary("Pants", 1) -- try to register a library with the same version, should silently fail +assert(not newLib) -- should not return since out of date + +local newLib, newOldMinor = LibStub:NewLibrary("Pants", 0) -- try to register a library with a previous, should silently fail +assert(not newLib) -- should not return since out of date + +local newLib, newOldMinor = LibStub:NewLibrary("Pants", 2) -- register a new version +assert(newLib) -- library table +assert(rawequal(newLib, lib)) -- should be the same reference as the previous +assert(newOldMinor == 1) -- should return the minor version of the previous version + +assert(rawequal(lib.MyMethod, MyMethod)) -- verify that values were saved +assert(rawequal(lib.MyTable, MyTable)) -- verify that values were saved + +local newLib, newOldMinor = LibStub:NewLibrary("Pants", "Blah 3 Blah") -- register a new version with a string minor version (instead of a number) +assert(newLib) -- library table +assert(newOldMinor == 2) -- previous version was 2 + +local newLib, newOldMinor = LibStub:NewLibrary("Pants", "Blah 4 and please ignore 15 Blah") -- register a new version with a string minor version (instead of a number) +assert(newLib) +assert(newOldMinor == 3) -- previous version was 3 (even though it gave a string) + +local newLib, newOldMinor = LibStub:NewLibrary("Pants", 5) -- register a new library, using a normal number instead of a string +assert(newLib) +assert(newOldMinor == 4) -- previous version was 4 (even though it gave a string) \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Details_RaidInfo-SiegeOfOrgrimmar/Libs/LibStub/tests/test2.lua Tue Jun 23 15:26:28 2015 -0300 @@ -0,0 +1,27 @@ +debugstack = debug.traceback +strmatch = string.match + +loadfile("../LibStub.lua")() + +for major, library in LibStub:IterateLibraries() do + -- check that MyLib doesn't exist yet, by iterating through all the libraries + assert(major ~= "MyLib") +end + +assert(not LibStub:GetLibrary("MyLib", true)) -- check that MyLib doesn't exist yet by direct checking +assert(not pcall(LibStub.GetLibrary, LibStub, "MyLib")) -- don't silently fail, thus it should raise an error. +local lib = LibStub:NewLibrary("MyLib", 1) -- create the lib +assert(lib) -- check it exists +assert(rawequal(LibStub:GetLibrary("MyLib"), lib)) -- verify that :GetLibrary("MyLib") properly equals the lib reference + +assert(LibStub:NewLibrary("MyLib", 2)) -- create a new version + +local count=0 +for major, library in LibStub:IterateLibraries() do + -- check that MyLib exists somewhere in the libraries, by iterating through all the libraries + if major == "MyLib" then -- we found it! + count = count +1 + assert(rawequal(library, lib)) -- verify that the references are equal + end +end +assert(count == 1) -- verify that we actually found it, and only once
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Details_RaidInfo-SiegeOfOrgrimmar/Libs/LibStub/tests/test3.lua Tue Jun 23 15:26:28 2015 -0300 @@ -0,0 +1,14 @@ +debugstack = debug.traceback +strmatch = string.match + +loadfile("../LibStub.lua")() + +local proxy = newproxy() -- non-string + +assert(not pcall(LibStub.NewLibrary, LibStub, proxy, 1)) -- should error, proxy is not a string, it's userdata +local success, ret = pcall(LibStub.GetLibrary, proxy, true) +assert(not success or not ret) -- either error because proxy is not a string or because it's not actually registered. + +assert(not pcall(LibStub.NewLibrary, LibStub, "Something", "No number in here")) -- should error, minor has no string in it. + +assert(not LibStub:GetLibrary("Something", true)) -- shouldn't've created it from the above statement \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Details_RaidInfo-SiegeOfOrgrimmar/Libs/LibStub/tests/test4.lua Tue Jun 23 15:26:28 2015 -0300 @@ -0,0 +1,41 @@ +debugstack = debug.traceback +strmatch = string.match + +loadfile("../LibStub.lua")() + + +-- Pretend like loaded libstub is old and doesn't have :IterateLibraries +assert(LibStub.minor) +LibStub.minor = LibStub.minor - 0.0001 +LibStub.IterateLibraries = nil + +loadfile("../LibStub.lua")() + +assert(type(LibStub.IterateLibraries)=="function") + + +-- Now pretend that we're the same version -- :IterateLibraries should NOT be re-created +LibStub.IterateLibraries = 123 + +loadfile("../LibStub.lua")() + +assert(LibStub.IterateLibraries == 123) + + +-- Now pretend that a newer version is loaded -- :IterateLibraries should NOT be re-created +LibStub.minor = LibStub.minor + 0.0001 + +loadfile("../LibStub.lua")() + +assert(LibStub.IterateLibraries == 123) + + +-- Again with a huge number +LibStub.minor = LibStub.minor + 1234567890 + +loadfile("../LibStub.lua")() + +assert(LibStub.IterateLibraries == 123) + + +print("OK") \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Details_RaidInfo-SiegeOfOrgrimmar/SiegeOfOrgrimmar.lua Tue Jun 23 15:26:28 2015 -0300 @@ -0,0 +1,1543 @@ +--[[ +===================================================================================================== + Siege of Orgrimmar Mobs and Spells Ids for Details +===================================================================================================== +--]] + +local Loc = LibStub ("AceLocale-3.0"):GetLocale ("Details_RaidInfo-SiegeOfOrgrimmar") + +local _detalhes = _G._detalhes + +local siege_of_orgrimmar = { + + id = 1136, + ej_id = 369, + + name = Loc ["STRING_RAID_NAME"], + + icons = "Interface\\AddOns\\Details_RaidInfo-SiegeOfOrgrimmar\\images\\boss_faces", + + icon = "Interface\\AddOns\\Details_RaidInfo-SiegeOfOrgrimmar\\images\\icon256x128", + + is_raid = true, + + backgroundFile = {file = [[Interface\Glues\LOADINGSCREENS\LoadScreenSiegeOfOrgrimmar]], coords = {0, 1, 256/1024, 840/1024}}, + backgroundEJ = [[Interface\EncounterJournal\UI-EJ-LOREBG-SiegeofOrgrimmar]], + + boss_names = { + -- Vale of Eternal Sorrows + "Immerseus", + "The Fallen Protectors", + "Norushen", + "Sha of Pride", + -- Gates of Retribution + "Galakras", + "Iron Juggernaut", + "Kor'kron Dark Shaman", + "General Nazgrim", + -- The Underhold + "Malkorok", + "Spoils of Pandaria", + "Thok the Bloodthirsty", + -- Downfall + "Siegecrafter Blackfuse", + "Paragons of the Klaxxi", + "Garrosh Hellscream" + }, + + find_boss_encounter = function() + --> find galakras (this encounter doesn't have a boss frames before galakras comes into in play) + if (_detalhes.tabela_vigente and _detalhes.tabela_vigente[1] and _detalhes.tabela_vigente[1]._ActorTable) then + for _, damage_actor in ipairs (_detalhes.tabela_vigente[1]._ActorTable) do + local serial = _detalhes:GetNpcIdFromGuid (damage_actor.serial) + if (serial == 73909) then --Archmage Aethas Sunreaver + return 5 --> galakras boss index + end + end + end + end, + + encounter_ids = { + --> Ids by Index + 852, 849, 866, 867, 881, 864, 856, 850, 846, 870, 851, 865, 853, 869, + -- Vale of Eternal Sorrows + [852] = 1, -- Immerseus + [849] = 2, -- Fallen Protectors + [866] = 3, -- Norushen + [867] = 4, -- Sha of Pride + -- Gates of Retribution + [881] = 5, -- Galakras + [864] = 6, -- Iron Juggernaut + [856] = 7, -- Kor'kron Dark Shaman + [850] = 8, -- General Nazgrim + + -- The Underhold + [846] = 9, -- Malkorok + [870] = 10, -- Spoils of Pandaria + [851] = 11, -- Thok the Bloodthirsty + + -- Downfall + [865] = 12, -- Siegecrafter Blackfuse + [853] = 13, -- Paragons of Klaxy + [869] = 14, -- Garrosh Hellscream + }, + + encounter_ids2 = { + -- Vale of Eternal Sorrows + [1602] = 1, -- Immerseus + [1598] = 2, -- Fallen Protectors + [1624] = 3, -- Norushen + [1604] = 4, -- Sha of Pride + -- Gates of Retribution + [1622] = 5, -- Galakras + [1600] = 6, -- Iron Juggernaut + [1606] = 7, -- Kor'kron Dark Shaman + [1603] = 8, -- General Nazgrim + + -- The Underhold + [1595] = 9, -- Malkorok + [1594] = 10, -- Spoils of Pandaria + [1599] = 11, -- Thok the Bloodthirsty + + -- Downfall + [1601] = 12, -- Siegecrafter Blackfuse + [1593] = 13, -- Paragons of Klaxy + [1623] = 14, -- Garrosh Hellscream + }, + + boss_ids = { + -- Vale of Eternal Sorrows + [71543] = 1, -- Immerseus + [71479] = 2, -- He Softfoot + [71480] = 2, -- Sun Tenderheart + [71475] = 2, -- Rook Stonetoe + [71967] = 3, -- Norushen + [72276] = 3, -- Amalgam of Corruption + [71734] = 4, -- Sha of Pride + + -- Gates of Retribution + [72249] = 5, -- Galakras + [71466] = 6, -- Iron Juggernaut + [71859] = 7, -- Kor'kron Dark Shaman + [71858] = 7, -- Wavebinder Kardris + [71515] = 8, -- General Nazgrim + + -- The Underhold + [71454] = 9, -- Malkorok + [71889] = 10, -- Spoils of Pandaria + [71529] = 11, -- Thok the Bloodthirsty + + -- Downfall + [71504] = 12, -- Siegecrafter Blackfuse + [71161] = 13, -- Kil'ruk the Wind-Reaver + [71157] = 13, -- Xaril the Poisoned Mind + [71156] = 13, -- Kaz'tik the Manipulator + [71155] = 13, -- Korven the Prime + [71160] = 13, -- Iyyokuk the Lucid + [71154] = 13, -- Ka'roz the Locust + [71152] = 13, -- Skeer the Bloodseeker + [71158] = 13, -- Rik'kal the Dissector + [71153] = 13, -- Hisek the Swarmkeeper + [71865] = 14, -- Garrosh Hellscream + }, + + trash_ids = { + --Immerseus + [73349] = true, --Tormented Initiate + [73342] = true, --Fallen Pool Tender + [73226] = true, --Lesser Sha Pool + [73191] = true, --Aqueius Defender + + -- Norushen + [72655] = true, --Fragment of Pride + [72658] = true, --Amalmated Hubris + [72662] = true, --Vanity + [72663] = true, --Arrogance + [72661] = true, --Zeal + + --Sha of Pride + [72791] = true, --lingering corruption + + --Galakras + --[72367] = true, --dragonmaw tidal shaman + --[72354] = true, --dragonmaw bonecrusher + [72365] = true, --dragonmaw canoner + [72350] = true, --dragonmaw elite grunt + --[72351] = true, --dragonmaw flamebarer + + --> shamans + [72412] = true, -- korkron grunt + [72150] = true, -- kro kron shadowmage + [72451] = true, -- + [72455] = true, -- + [72490] = true, --overseer mojka + [72434] = true, --tresure guard + [72421] = true, --korkron overseer + [72452] = true, --dire wolf + [72496] = true, --overseer thathung + [72562] = true, --poison bolt toten + + --> nazgrim + [72131] = true, -- blind blade master + [72191] = true, -- overlord runthak + [72194] = true, -- hellscreen demolisher + [72564] = true, -- doom lord + [71771] = true, -- korkron arcweaver + [71772] = true, -- korkron assassin + [71773] = true, -- krokron warshaman + [71770] = true, -- krokron iron blade + --[71715] = true, -- orgrimmar faithful -- also is used in nazgrim encounter + + --> malkorok + [72728] = true, --korkron blood axe + [72784] = true, --korkron gunner + [72903] = true, --korkron siegemaster + [72744] = true, --korkron skullspliter + [72768] = true, --korkron warwolf + [72770] = true, --korkron darkfarseer + + --> spoils of pandaria + [73904] = true, --korkron iron sentinel + [73742] = true, --thresher turret + [73767] = true, --korkron shrederer + [73775] = true, --war master kragg + [73152] = true, --storeroom guard + + --> blackfuse + [73539] = true, --korkron den mother + [73541] = true, --korkron wolf puppy + [73194] = true, --korkron iron scorpion + -- + [72981] = true, --aggron + [72964] = true, --gorodan + [72986] = true, --shanna sparkfizz + [73091] = true, --blackfuse sellsword + [73095] = true, --blackfuse enginer + + --> thok + --73195 --krokon jailer + [73188] = true, --captive cave bat + [73184] = true, --starved yeti + [73185] = true, --enraged mushan beast + [73223] = true, --pterrodax + + --> paragons + [72954] = true, --korthik guard + [72929] = true, --srathik amber master + [73012] = true, --klaxxi skirmisher + [72927] = true, --kovok + + --> garrosh + [73414] = true, --korkron reaper + [73452] = true, --harbinger of y'shaarj + [73415] = true, --ichor of y'shaarj + + + + }, + + encounters = { + +------------> Immerseus ------------------------------------------------------------------------------ + [1] = { + + boss = "Immerseus", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Immerseus]], + + spell_mechanics = { + [143295] = {0x1, 0x2000}, --> Sha Bolt + [143309] = {0x8, 0x40}, --> Swirl + [143413] = {0x8, 0x40}, --> Swirl + [143412] = {0x8, 0x40}, -- Swirl + [143436] = {0x100}, --> Corrosive Blast + [143281] = {0x8}, --> Seeping Sha + [143574] = {0x200}, --> Swelling Corruption + [143498] = {0x1, 0x200, 0x2}, --> Erupting Sha + [143460] = {0x200}, --> Sha Pool + [143286] = {0x40}, --> Seeping Sha + [143297] = {0x200}, --> Sha Splash + [145377] = {0x1}, --> Erupting Water + [143574] = {0x200}, --> Swelling Corruption (H) + [143460] = {0x200}, --> + [143579] = {} -- Sha Corruption + + }, + + phases = { + --> phase 1 - Tears of the Vale + { + spells = { + 143295, --> Sha Bolt + 143309, --> Swirl + 143413, --> Swirl + 143436, --> Corrosive Blast + 143281, --> Seeping Sha + 143574, --> Swelling Corruption + 143297, --> Sha Splash + 145377, --> Erupting Water + 143574, --> Swelling Corruption (H) + 143579 -- Sha Corruption + }, + + adds = { + 71543, --> Immerseus + 71642, --> Congealed Sha + } + }, + --> phase 2 - Split + { + spells = { + 143459, --> Sha Residue (speed mod over players near sha puddle, trigger on death) + 143540, --> Congealing (speed mod over contaminated puddle) + 143524, --> Purified Residue (full health trigger for contaminated puddle) + 143498, --> Erupting Sha + 143460, --> Sha Pool + 143286, --> Seeping Sha + 143297, --> Sha Splash + 145377, --> Erupting Wate + 143460 --> Sha Pool (H) + }, + + adds = { + 71603, --> Sha Puddle + 71604, --> Contaminated Puddle + 71642, --> Congealed Sha + } + } + } + }, --> end of Immerseus + + +------------> The Fallen Protectors ------------------------------------------------------------------------------ + [2] = { + + boss = "The Fallen Protectors", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Golden Lotus Council]], + + combat_end = {2, { 71479, -- He Softfoot + 71480, -- Sun Tenderheart + 71475, -- Rook Stonetoe + }}, + + spell_mechanics = { + [144397] = {0x8000, 0x1}, --> Vengeful Strikes (Rook Stonetoe) + [143023] = {0x8}, --> Corrupted Brew (Rook Stonetoe) + [143028] = {0x1}, --> Clash (Rook Stonetoe) + [143010] = {0x80}, --> Corruption Kick (Rook Stonetoe) + [143009] = {0x80}, --> Corruption Kick (Rook Stonetoe) + [144357] = {0x8, 0x1}, --> Defiled Ground (Embodied Misery) + [143961] = {0x8, 0x1}, --> Defiled Ground (Embodied Misery) + [143962] = {0x10000}, --> Inferno Strike (Embodied Sorrow) + [144018] = {0x20, 0x1}, --> Corruption Shock (Embodied Gloom) + + [143198] = {0x1}, --> Garrote (He Softfoot) + [143301] = {0x8000}, --> Gouge (He Softfoot) + [144367] = {0x8}, --> Noxious Poison (He Softfoot) + [143224] = {0x1, 0x800}, --> Instant Poison (He Softfoot) + [143808] = {0x1, 0x2}, --> Mark of Anguish (Embodied Anguish) + [144365] = {0x1, 0x2}, --> Mark of Anguish (Embodied Anguish) + + [143424] = {0x2000}, --> Sha Sear (Sun Tenderheart) + [143434] = {0x1, 0x10}, --> Shadow Word: Bane (Sun Tenderheart) + [143544] = {0x1}, --> Calamity (Sun Tenderheart) --ptr + [143493] = {0x1}, --> Calamity (Sun Tenderheart) --live + [143559] = {0x1, 0x40}, --> Dark Meditation + + [144007] = {}, --Residual Burn + [145631] = {}, --Corruption Chain + [143602] = {}, --Meditation Spike + }, + + + + continuo = { + 144397, --> Vengeful Strikes (Rook Stonetoe) + 143023, --> Corrupted Brew (Rook Stonetoe) + 143028, --> Clash (Rook Stonetoe) + 143009, --> Corruption Kick (Rook Stonetoe) + 144357, --> Defiled Ground (Embodied Misery) + 143962, --> Inferno Strike (Embodied Sorrow) + 144018, --> Corruption Shock (Embodied Gloom) + + 143198, --> Garrote (He Softfoot) + 143301, --> Gouge (He Softfoot) + 144367, --> Noxious Poison (He Softfoot) + 143224, --> Instant Poison (He Softfoot) + 143808, --> Mark of Anguish (Embodied Anguish) + + 143424, --> Sha Sear (Sun Tenderheart) + 143434, --> Shadow Word: Bane (Sun Tenderheart) + 143544, --> Calamity (Sun Tenderheart) + 143559, --> Dark Meditation + + 143010, --> Corruption Kick (Rook Stonetoe) + 143493, --> Calamity (Sun Tenderheart) --live + 144365, --> Mark of Anguish (Embodied Anguish) + 143961, --> Defiled Ground (Embodied Misery) + + 144007, --Residual Burn + 145631, --Corruption Chain + 143602, --Meditation Spike + }, + + phases = { + { + --> phase 1 - + spells = { + --> no spell, is all continuo + }, + adds = { + 71479, -- He Softfoot + 71480, -- Sun Tenderheart + 71475, -- Rook Stonetoe + + 71476, --> Embodied Misery (Rook Stonetoe) + 71481, --> Embodied Sorrow (Rook Stonetoe) + 71477, --> Embodied Gloom (Rook Stonetoe) + + 71478, --> Embodied Anguish (He Softfoot) + + 71474, --> Embodied Despair (Sun Tenderheart) + 71482, --> Embodied Desperation (Sun Tenderheart) + 71712, --> Despair Spawns (Sun Tenderheart) + 71993, --> Desperation Spawn + } + } + } + + }, --> end of The Fallen Protectors + +------------> Norushen ------------------------------------------------------------------------------ + + [3] = { + boss = "Norushen", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Norushen]], + + --combat_end = {1, 72276}, + encounter_start = {delay = 0}, + equalize = true, + + spell_mechanics = { + [146707] = {0x1}, --> Disheartening Laugh + [144514] = {0x10}, --> Lingering Corruption + + [144628] = {0x40}, --> Titanic Smash + [144649] = {0x20}, --> Hurl Corruption + [144654] = {0x8}, --> Burst of Corruption + [144657] = {0x800}, --> Piercing Corruption + + [145212] = {0x1}, --> Unleashed Anger + [146124] = {0x100}, --> Self Doubt (not a damage) + [145733] = {0x1}, --> Icy Fear -ptr + [145735] = {0x1}, --> Icy Fear -live + [145227] = {0x8, 0x40}, --> Blind Hatred + + [147082] = {0x1, 0x2}, --> Burst of Anger + [145073] = {0x200, 0x8}, --> Residual Corruption + [144548] = {0x200}, --> Expel Corruption + [145134] = {0x200}, --> Expel Corruption -live + [144482] = {} --> Tear Reality + }, + + continuo = { + 146707, --> Disheartening Laugh + 144514, --> Lingering Corruption + + 144628, --> Titanic Smash + 144649, --> Hurl Corruption + 144654, --> Burst of Corruption + 144657, --> Piercing Corruption + + 145212, --> Unleashed Anger + 146124, --> Self Doubt + 145733, --> Icy Fear + 145735, --> Icy Fear -live + 145227, --> Blind Hatred + + 147082, --> Burst of Anger + 145073, --> Residual Corruption + 144548, --> Expel Corruption + 145134, --> Expel Corruption + 144482, --> Tear Reality + }, + + phases = { + { + adds = { + 72276, --> Amalgam of Corruption + + 71977, --> Manifestation of Corruption (dps test) + 72264, --> Unleashed Manifestation of Corruption + 71976, --> Essences of Corruption (dps test) + 72263, --> Unleashed Essences of Corruption + + 72001, --> Greater Corruption (healer test) + + 72051, --> Titanc Corruption (tank test) + } + } + } + + }, --> end of Norushen + +------------> Sha of Pride ------------------------------------------------------------------------------ + [4] = { + boss = "Sha of Pride", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Sha of Pride]], + + combat_end = {1, 71734}, + + spell_mechanics = { + [144400] = {0x1}, --> Swelling Pride + [144774] = {0x40}, --> Reaching Attack + [144358] = {0x100}, --> Wounded Pride (not a damage) + [144351] = {0x10, 0x200}, --> Mark of Arrogance + [144911] = {0x8}, --> Bursting Pride + [145320] = {0x200}, --> Projection + [146818] = {0x2000}, --> Aura of Pride + [144379] = {0x20}, --> Mocking Blast + [144832] = {0x1, 0x2}, --> Unleashed + [144836] = {0x1, 0x2}, --> Unleashed + [144788] = {0x200}, --> Self-Reflection + [144636] = {0x1, 0x200}, --> Corrupted Prison + [144684] = {0x1, 0x200}, --> Corrupted Prison + [144574] = {0x1, 0x200}, --> Corrupted Prison + [144683] = {0x1, 0x200}, --> Corrupted Prison + [144774] = {0x40}, --> Reaching Attack + + [145215] = {}, --Banishment + [147198] = {}, --Unstable Corruption + }, + + continuo = { + 144400, --> Swelling Pride + 144774, --> Reaching Attack + 144358, --> Wounded Pride (not a damage) + 144351, --> Mark of Arrogance + 144911, --> Bursting Pride + 145320, --> Projection + 146818, --> Aura of Pride + 144379, --> Mocking Blast + 144832, --> Unleashed + 144836, --> Unleashed + 144788, --> Self-Reflection + 144636, --> Corrupted Prison + 144684, --> Corrupted Prison + 144574, --> Corrupted Prison + 144683, --> Corrupted Prison + 144774, --> Reaching Attack + + 145215, --Banishment + 147198, --Unstable Corruption + }, + + phases = { + { --> phase 1 + adds = { + 71734, --> Sha of Pride + 72172, --> Reflections + 71946, --> Manifestation of Pride + } + } + } + }, --> end of Sha of Pride + +------------> Galakras ------------------------------------------------------------------------------ + [5] = { + boss = "Galakras", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Galakras]], + + combat_end = {1, 72249}, + + spell_mechanics = { + [146902] = {0x1, 0x100}, -- Poison-Tipped Blades (Korgra the Snake) + [147705] = {0x8}, -- Poison Cloud (Korgra the Snake) + [147711] = {0x200}, -- Curse of Venom (Korgra the Snake) + [147713] = {0x1}, -- Venom Bolt Volley (Korgra the Snake) + [147688] = {0x40}, -- Arcing Smash (Lieutenant Krugruk) + [147683] = {0x1}, -- Thunder Clap (Lieutenant Krugruk) + [146849] = {0x40}, -- Shattering Strike (High Enforcer Thranok) + [146769] = {0x200}, -- Crusher's Call (High Enforcer Thranok) + [146848] = {0x80}, -- Skull Cracker (High Enforcer Thranok) + [146773] = {0x1}, -- Shoot (Master Cannoneer Dagryn) + [147824] = {0x40}, -- Muzzle Spray (Master Cannoneer Dagryn) + + [146899] = {0x200}, -- Fracture (Dragonmaw Bonecrushers) + [146897] = {0x1}, -- Shattering Roar (Dragonmaw Bonecrushers) + [147204] = {0x1}, -- Shattering Roar (Dragonmaw Bonecrushers) + [146728] = {0x20}, -- Chain Heal (Dragonmaw Tidal Shamans) + [149188] = {0x40}, -- Tidal Wwave (Dragonmaw Tidal Shamans) + [149187] = {0x40}, -- Tidal Wave (Dragonmaw Tidal Shamans) + [143474] = {0x200}, -- Healing Tide Totems (Dragonmaw Tidal Shamans) + [143477] = {0x200}, -- Healing Tide (Healing Tide Totems) + [147552] = {0x1, 0x8}, -- Flame Arrows (Dragonmaw Flameslingers) + [146764] = {0x1, 0x8}, -- Flame Arrows (Dragonmaw Flameslingers) + [146763] = {0x1, 0x8}, -- Flame Arrows (Dragonmaw Flameslingers) + [146747] = {0x1}, -- Dragonmaw Strike (Dragonmaw Grunts) + [147669] = {0x1}, -- Throw Axe (Dragonmaw Grunts) + [148352] = {0x200}, -- DrakeFire (Dragonmaw Proto-Drakes) + [148560] = {0x200}, -- DrakeFire (Dragonmaw Proto-Drakes) + -- missing spells from Dragonmaw Wind Reavers + [146776] = {0x40}, -- Flame Breath (Dragonmaw Proto-Drakes) + [148311] = {0x40}, -- Bombard (Kor'kron Demolishers) + [148310] = {0x40}, -- Bombard (Kor'kron Demolishers) + [147029] = {0x200}, -- Flames of Galakrond + [146992] = {0x200}, -- Flames of Galakrond + [147043] = {0x2}, -- Pulsing Flames + }, + + continuo = { + + }, + + phases = { + { --> phase 1: Bring Her Down! + adds = { + 72456, --Korgra the Snake + 72357, --Lieutenant Krugruk + 72355, --High Enforcer Thranok + 72356, --Master Cannoneer Dagryn + + 72352, --Dragonmaw Ebon Stalkers + 72354, --Dragonmaw Bonecrushers + 72367, --Dragonmaw Tidal Shamans + 71610, --Healing Tide Totem + 72353, --Dragonmaw Flameslingers + 72941, --Dragonmaw Grunts + 72600, --Dragonmaw Wind Reavers + 72943, --Dragonmaw Proto-Drakes + 72351, --Dragonmaw Flagbearers + --missing npc id for Banners placed from Dragonmaw Flagbearers + 72947, --Kor'kron Demolishers + }, + spells = { + 146902, --Poison-Tipped Blades (Korgra the Snake) + 147705, --Poison Cloud (Korgra the Snake) + 147711, --Curse of Venom (Korgra the Snake) + 147713, --Venom Bolt Volley (Korgra the Snake) + 147688, --Arcing Smash (Lieutenant Krugruk) + 147683, --Thunder Clap (Lieutenant Krugruk) + 146849, --Shattering Strike (High Enforcer Thranok) + 146769, --Crusher's Call (High Enforcer Thranok) + 146848, --Skull Cracker (High Enforcer Thranok) + 146773, --Shoot (Master Cannoneer Dagryn) + 147824, --Muzzle Spray (Master Cannoneer Dagryn) + 148560, -- DrakeFire (Dragonmaw Proto-Drakes) + 146899, --Fracture (Dragonmaw Bonecrushers) + 146897, --Shattering Roar (Dragonmaw Bonecrushers) + 147204, -- Shattering Roar (Dragonmaw Bonecrushers) + 146728, --Chain Heal (Dragonmaw Tidal Shamans) + 149188, --Tidal Wwave (Dragonmaw Tidal Shamans) + 149187, --Tidal Wave (Dragonmaw Tidal Shamans) + 143474, --Healing Tide Totems (Dragonmaw Tidal Shamans) + 143477, --Healing Tide (Healing Tide Totems) + 147552, --Flame Arrows (Dragonmaw Flameslingers) + 146764, --Flame Arrows (Dragonmaw Flameslingers) + 146763, --Flame Arrows (Dragonmaw Flameslingers) + 146747, --Dragonmaw Strike (Dragonmaw Grunts) + 147669, --Throw Axe (Dragonmaw Grunts) + 148352, --DrakeFire (Dragonmaw Proto-Drakes) + -- missing spells from Dragonmaw Wind Reavers + 146776, --Flame Breath (Dragonmaw Proto-Drakes) + 148311, --Bombard (Kor'kron Demolishers) + 148310, --Bombard (Kor'kron Demolishers) + + } + }, + { --> phase 2: Galakras, The Last of His Progeny + adds = { + 72249, --Galakras + }, + spells = { + 147029, --Flames of Galakrond + 146992, --Flames of Galakrond + 147043, --Pulsing Flames + } + } + } + }, --> end of Galakras + +------------> Iron Juggernaut ------------------------------------------------------------------------------ + [6] = { + boss = "Iron Juggernaut", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Iron Juggernaut]], + combat_end = {1, 71466}, + + spell_mechanics = { + [144464] = {0x100}, --> Flame Vents + [144467] = {0x100, 0x1}, --> Ignite Armor + [144791] = {0x1, 0x200, 0x40}, --> Engulfed Explosion + [144218] = {0x40}, --> Borer Drill + [144459] = {0x1}, --> Laser Burn + --[144439] = {}, -->Ricochet + [144483] = {0x1}, --> Seismic Activity + [144484] = {0x1}, --> Seismic Activity + [144485] = {0x1, 0x40}, --> Shock Pulse + [144154] = {0x2000}, --> Demolisher Cannons + [144316] = {0x2000}, --> Mortar Blast + [144918] = {0x40, 0x80}, --> Cutter Laser + [144498] = {0x8, 0x200}, --> Explosive Tar + [144327] = {}, --> Ricochet + [144919] = {}, --> Tar Explosion + }, + + continuo = { + + }, + + phases = { + { --> phase 1: Pressing the Attack: Assault Mode + adds = { + 72050, --> Crawler Mines + 71466 --> iron juggernaut + }, + spells = { + 144464, --> Flame Vents + 144218, --> Borer Drill + 144459, --> Laser Burn + --> Mortar Cannon + --144439 --> Ricochet + 144467, --> Ignite Armor + 144316, --> Mortar Blast + 144791, --> Engulfed Explosion + 144327, --> Ricochet + } + }, + { --> phase 2: Breaking the Defense: Siege Mode: + adds = { + 71466 --> iron juggernaut + }, + spells = { + 144483, --> Seismic Activity + 144484, --> Seismic Activity + 144485, --> Shock Pulse + 144154, --> Demolisher Cannons + 144918, --> Cutter Laser + 144498, --> Explosive Tar + 144919, + } + } + }, + + }, --> end of Iron Juggernaut + +------------> Kor'kron Dark Shaman ------------------------------------------------------------------------------ + [7] = { + boss = "Kor'kron Dark Shaman", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-KorKron Dark Shaman]], + combat_end = {1, 71859}, + + spell_mechanics = { + [144303] = {0x1}, --Swipe + [144304] = {0x1}, --Rend + + [144215] = {0x100}, --Froststorm Strike + [144089] = {0x1}, --Toxic Mist 90% + [144090] = {0x8}, --Foul Stream 80% + [144070] = {0x200}, --Ashen Wall 70% + + [144214] = {0x1}, --Froststorm Bolt + [144005] = {0x8}, --Toxic Storm 90% + [144017] = {0x8}, --Toxic Storm 90% + [144030] = {0x40}, -- Toxic Tornado + [143990] = {0x80, 0x40}, --Foul Geyser 80% + [143993] = {0x80, 0x40}, --Foul Geyser 80% + [143973] = {0x8}, --Falling Ash 70% + [143987] = {0x8}, --Falling Ash 70% + + [144064] = {0x40}, --Foulness + [144066] = {0x40}, --Foulness + + [144328] = {}, --> Iron Tomb + [144334] = {}, --> Iron Tomb + [144330] = {}, --> Iron Prison + [144331] = {}, --> Iron Prison + }, + + continuo = { + 144303, --Swipe + 144304, --Rend + + 144215, --Froststorm Strike + 144089, --Toxic Mist + 144090, --Foul Stream + 144070, --Ashen Wall + + 144214, --Froststorm Bolt + 144005, --Toxic Storm + 144017, --Toxic Storm + 144030, --Toxic Tornado + 143990, --Foul Geyser + 143993, --Foul Geyser + 143973, --Falling Ash + 143987, --Falling Ash + 144064, --Foulness + 144066, --Foulness + 144328, --> Iron Tomb + 144334, --> Iron Tomb + 144330, --> Iron Prison + 144331, --> Iron Prison + }, + + phases = { + { --> phase 1: + adds = { + 71859, --> Earthbreaker Haromm + 71858, --> Wavebinder Kardris + 71921, --> Darkfang + 71923, --> Bloodclaw + 71801, --> Toxic Storm + 71827, --> Ash Elemental + 71825 --> Foul Slimes + }, + spells = { + --> + } + }, + }, + + }, --> end of Kor'kron Dark Shaman + +------------> General Nazgrim ------------------------------------------------------------------------------ + [8] = { + boss = "General Nazgrim", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-General Nazgrim]], + + combat_end = {1, 71515}, + + spell_mechanics = { + [143494] = {0x100}, --Sundering Blow + [143638] = {0x1}, --Bonecracker + [143716] = {0x2000}, --Heroic Shockwave + [143712] = {0x80, 0x8}, --Aftershocks + [143503] = {0x1}, --War Song + [143872] = {0x80, 0x40}, --Ravager + + [143420] = {0x80, 0x40}, --Ironstorm (Kor'kron Ironblades) + [143421] = {0x80, 0x40}, --Ironstorm (Kor'kron Ironblades) + [143481] = {0x200, 0x1000}, --Backstab (Kor'kron Assassins) + [143432] = {0x20, 0x1}, --Arcane Shock (Kor'kron Arcweavers) + [143431] = {0x20, 0x1}, --Magistrike (Kor'kron Arcweavers) + }, + + continuo = { + 143494, --Sundering Blow + 143638, --Bonecracker + 143716, --Heroic Shockwave + 143712, --Aftershocks + 143503, --War Song + 143872, --Ravager + + 143420, --Ironstorm (Kor'kron Ironblades) + 143421, --Ironstorm (Kor'kron Ironblades) + 143481, --Backstab (Kor'kron Assassins) + 143432, --Arcane Shock (Kor'kron Arcweavers) + 143431, --Magistrike (Kor'kron Arcweavers) + + }, + + phases = { + { --> phase 1: + adds = { + 71515, --General Nazgrim + 71626, --Kor'kron Banner + 71715, --Orgrimmar Faithful + 71516, --Kor'kron Ironblades + 71518, --Kor'kron Assassins + 71517, --Kor'kron Arcweavers + 71519, --Kor'kron Warshamans + 71610, --Healing Tide Totem + }, + spells = { + --> + } + }, + }, + + }, --> end of General Nazgrim + +------------> Malkorok ------------------------------------------------------------------------------ + [9] = { + boss = "Malkorok", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Malkorok]], + + combat_end = {1, 71454}, + + spell_mechanics = { + [142861] = {0x200}, --Ancient Miasma + [142906] = {0x200}, --Ancient Miasma + [142990] = {0x100}, --Fatal Strike + [142851] = {0x2000}, --Seismic Slam + [142849] = {0x2000}, --Seismic Slam + [142826] = {0x40}, --Arcing Smash + [142815] = {0x40}, --Arcing Smash + [142816] = {0x40}, --Breath of Y'Shaarj + [142987] = {0x200, 0x1}, --Imploding Energy + [142986] = {0x200, 0x1}, --Imploding Energy + [142879] = {0x10000}, --Blood Rage + [142890] = {0x10000}, --Blood Rage + [142913] = {0x80}, --Displaced Energy + }, + + continuo = { + + }, + + phases = { + { --> phase 1: Might of the Kor'kron + adds = { + 71454, --Malkorok + 71644 --living corruption + }, + spells = { + 142861, --Ancient Miasma + 142906, --Ancient Miasma + 142990, --Fatal Strike + 142851, --Seismic Slam + 142849, --Seismic Slam + 142826, --Arcing Smash + 142815, --Arcing Smash + 142816, --Breath of Y'Shaarj + 142987, --Imploding Energy + 142986 --Imploding Energy + } + }, + { --> phase 2: Blood Rage + adds = { + + }, + spells = { + 142879, --Blood Rage + 142890, --Blood Rage + 142913 --Displaced Energy + } + }, + }, + + }, --> end of Malkorok + +------------> Spoils of Pandaria ------------------------------------------------------------------------------ + [10] = { + boss = "Spoils of Pandaria", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Spolis of Pandaria]], + + spell_mechanics = { + --Lightweight Crates -> Mogu Crates + [145218] = {0x10, 0x20}, --Harden Flesh (Animated Stone Mogu) + [144923] = {0x20}, --Earthen Shard (Animated Stone Mogu) + [142775] = {0x40}, --Nova (Sparks of Life) + [142765] = {0x40}, --Pulse (Sparks of Life) + [142759] = {0x40}, --Pulse (Sparks of Life) + [144853] = {0x1}, --Carnivorous Bite (Quilen Guardians) + --Stout Crates -> Mogu Crates + [145393] = {0x200}, --Matter Scramble (Modified Anima Golems) + --[145271] = {}, --Crimson Reconstitution (Modified Anima Golems) + [142942] = {0x200, 0x10}, --Torment (Mogu Shadow Ritualists) + [142983] = {0x200, 0x10}, --Torment (Mogu Shadow Ritualists) + [145240] = {0x20}, --Forbidden Magic (Mogu Shadow Ritualists) + --[145460] = {}, --Mogu Rune of Power (Mogu Shadow Ritualists) + --Massive Crates -> Mogu Crates + [145489] = {0x1}, --Return to Stone + [145514] = {0x1}, --Return to Stone + [148515] = {0x40}, --Shadow Volley (Jun-Wei) + [148516] = {0x40}, --Shadow Volley (Jun-Wei) + [148517] = {0x40}, --Molten Fist (Zu-Yin) + [148518] = {0x40}, --Molten Fist (Zu-Yin) + [148582] = {0x40}, --Jade Tempest (Xiang-Lin) + [148583] = {0x40}, --Jade Tempest (Xiang-Lin) + [148513] = {0x40}, --Fracture (Kun-Da) + [148514] = {0x40}, --Fracture (Kun-Da) + + --Lightweight Crates -> Mantid Crates + [145718] = {0x8}, -- Gusting Bomb (Sri'thik Bombardiers) + [145716] = {0x8}, -- Gusting Bomb (Sri'thik Bombardiers) + [145706] = {0x1, 0x2000}, --Throw Explosives (Sri'thik Bombardiers) + [145748] = {0x8}, -- Encapsulated Pheromones (Sri'thik Bombardiers) + --[145692] = {}, -- Enrage (Kor'thik Warcallerss) + --Stout Crates -> Mantid Crates + --[145808] = {}, --Mantid Swarm (Zar'thik Amber Priests) + --[145790] = {}, --Residue (Zar'thik Amber Priests) + [145817] = {0x40}, --Windstorm (Set'thik Wind Wielders) + --[145812] = {}, --Rage of the Empress (Set'thik Wind Wielders) + --Massive Crates -> Mantid Crates + [148760] = {0x1}, --Pheromone Cloud (Pheromone Cloud) + [145993] = {0x200}, --Set to Blow (Ka'thik Demolisher) + [142997] = {0x200}, --Set to Blow (Ka'thik Demolisher) + [145987] = {0x200}, --Set to Blow (Ka'thik Demolisher) + [145996] = {0x200}, --Set to Blow (Ka'thik Demolisher) + [146365] = {0x200}, --Set to Blow (Ka'thik Demolisher) + [147404] = {0x200}, --Set to Blow (Ka'thik Demolisher) + [148054] = {0x200}, --Set to Blow (Ka'thik Demolisher) + [148055] = {0x200}, --Set to Blow (Ka'thik Demolisher) + [148056] = {0x200}, --Set to Blow (Ka'thik Demolisher) + + --Pandaren Crates + [146217] = {0x2000}, -- Keg Toss (Ancient Brewmaster Spirits) + [146222] = {0x40}, --Breath of Fire (Ancient Brewmaster Spirits) + [146226] = {0x40}, --Breath of Fire (Ancient Brewmaster Spirits) + [146230] = {0x40}, --Breath of Fire (Ancient Brewmaster Spirits) + --[146081] = {}, --(Ancient Brewmaster Spirits) + [146180] = {0x40, 0x1}, --Gusting Crane Kick (Wise Mistweaver Spirits) + [146182] = {0x40, 0x1}, --Gusting Crane Kick (Wise Mistweaver Spirits) + --[146189] = {}, Eminence --(Wise Mistweaver Spirits) + --[146679] = {}, --(Wise Mistweaver Spirits) + [146257] = {0x8, 0x2000}, --(Nameless Windwalker Spirits) + --[146142] = {}, --(Nameless Windwalker Spirits) + }, + + continuo = { + + }, + + phases = { + { --> phase 1: + adds = { + --Lightweight Crates -> Mogu Crates + 71380, --Animated Stone Mogu + 71382, --Burial Urns + 71433,--Sparks of Life + 71378, --Quilen Guardians + --Stout Crates -> Mogu Crates + 71395, --Modified Anima Golems + 71393, --Mogu Shadow Ritualists + --Massive Crates -> Mogu Crates + 72535, --Stone Statue + 73723, --Jun-Wei + 73724, --Zu-Yin + 73725, --Xiang-Lin + 71408, --Kun-Da + + --Lightweight Crates -> + 71385, --Sri'thik Bombardiers + 71383, --Kor'thik Warcallerss + --Stout Crates -> Mantid Crates + 71397, --Zar'thik Amber Priests + 71398, --Zar'thik Swarmer + 71405, --Set'thik Wind Wielders + --Massive Crates -> Mantid Crates + --unknow id -- Ka'thik Demolisher + + --Pandaren Crates + 71427, --Ancient Brewmaster Spirits + 71428, --Wise Mistweaver Spirits + 71430 --Nameless Windwalker Spirits + }, + spells = { + --Lightweight Crates -> Mogu Crates + 145218, --Harden Flesh (Animated Stone Mogu) + 144923, --Earthen Shard (Animated Stone Mogu) + 142775, --Nova (Sparks of Life) + 142765, --Pulse (Sparks of Life) + 142759, --Pulse (Sparks of Life) + 144853, --Carnivorous Bite (Quilen Guardians) + --Stout Crates -> Mogu Crates + 145393, --Matter Scramble (Modified Anima Golems) + 145271, --Crimson Reconstitution (Modified Anima Golems) + 142942, --Torment (Mogu Shadow Ritualists) + 142983, --Torment (Mogu Shadow Ritualists) + 146885, --Torment (Mogu Shadow Ritualists) + 145240, --Forbidden Magic (Mogu Shadow Ritualists) + 145460, --Mogu Rune of Power (Mogu Shadow Ritualists) + --Massive Crates -> Mogu Crates + 145514, --Return to Stone + 145489, --Return to Stone + 148515, --Shadow Volley (Jun-Wei) + 148516, --Shadow Volley (Jun-Wei) + 148517, --Molten Fist (Zu-Yin) + 148518, --Molten Fist (Zu-Yin) + 148582, --Jade Tempest (Xiang-Lin) + 148583, --Jade Tempest (Xiang-Lin) + 148513, --Fracture (Kun-Da) + 148514, --Fracture (Kun-Da) + + --Lightweight Crates -> + 145718, -- Gusting Bomb (Sri'thik Bombardiers) + 145716, -- Gusting Bomb (Sri'thik Bombardiers) + 145706, --Throw Explosives (Sri'thik Bombardiers) + 145748, -- Encapsulated Pheromones (Sri'thik Bombardiers) + 145692, -- Enrage (Kor'thik Warcallerss) + --Stout Crates -> Mantid Crates + 145808, --Mantid Swarm (Zar'thik Amber Priests) + 145790, --Residue (Zar'thik Amber Priests) + 145817, --Windstorm (Set'thik Wind Wielders) + 145812, --Rage of the Empress (Set'thik Wind Wielders) + --Massive Crates -> Mantid Crates + 148760, --Pheromone Cloud (Pheromone Cloud) + 145993, --Set to Blow (Ka'thik Demolisher) + 142997, --Set to Blow (Ka'thik Demolisher) + 145987, --Set to Blow (Ka'thik Demolisher) + 145996, --Set to Blow (Ka'thik Demolisher) + 146365, --Set to Blow (Ka'thik Demolisher) + 147404, --Set to Blow (Ka'thik Demolisher) + 148054, --Set to Blow (Ka'thik Demolisher) + 148055, --Set to Blow (Ka'thik Demolisher) + 148056, --Set to Blow (Ka'thik Demolisher) + + --Pandaren Crates + 146217, --(Ancient Brewmaster Spirits) + 146222, --Breath of Fire(Ancient Brewmaster Spirits) + 146226, --Breath of Fire(Ancient Brewmaster Spirits) + 146230, --Breath of Fire(Ancient Brewmaster Spirits) + 146081, --(Ancient Brewmaster Spirits) + 146180, --(Wise Mistweaver Spirits) + 146189, --(Wise Mistweaver Spirits) + 146679, --(Wise Mistweaver Spirits) + 146257, --Path of Blossoms (Nameless Windwalker Spirits) + 146142, --(Nameless Windwalker Spirits) + 146182, --Gusting Crane Kick (Wise Mistweaver Spirits) + } + } + }, + + }, --> end of Spoils of Pandaria + +------------> Thok the Bloodthirsty ------------------------------------------------------------------------------ + [11] = { + boss = "Thok the Bloodthirsty", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Thok the Bloodthirsty]], + + combat_end = {1, 71529}, + + spell_mechanics = { + [143426] = {0x100}, --Fearsome Roar + [143428] = {0x40}, --Tail Lash + [143707] = {0x1}, --Shock Blast + [143343] = {0x1, 0x4000}, --Deafening Screech + --[143452] = {}, --Bloodied + + [143780] = {0x100}, --Acid Breath + [143791] = {0x1}, --Corrosive Blood + + [143773] = {0x100}, --Freezing Breath + [143800] = {0x1}, --Icy Blood + + [143767] = {0x100}, --Scorching Breath + [143783] = {0x1, 0x8}, --Burning Blood + }, + + continuo = { + + }, + + phases = { + { --> phase 1: A Cry in the Darkness + adds = { + 71529 --> Thok the Bloodthirsty + }, + spells = { + 143426, --Fearsome Roar + 143428, --Tail Lash + 143707, --Shock Blast + 143343, --Deafening Screech + 143452, --Bloodied + + 143780, --Acid Breath + 143791, --Corrosive Blood + + 143773, --Freezing Breath + 143800, --Icy Blood + + 143767, --Scorching Breath + 143783 --Burning Blood + } + }, + { --> phase 2: Frenzy for Blood! + adds = { + 71658 --Kor'kron Jailer + }, + spells = { + + } + }, + }, + + }, --> end of Thok the Bloodthirsty + +------------> Siegecrafter Blackfuse ------------------------------------------------------------------------------ + [12] = { + boss = "Siegecrafter Blackfuse", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Siegecrafter Blackfuse]], + + combat_end = {1, 71504}, + + spell_mechanics = { + [144335] = {0x8}, --Matter Purification Beam + [143385] = {0x100}, --Electrostatic Charge + [143265] = {0x40}, --Launch Sawblade + --[144213] = {}, --Automatic Repair Beam + [144210] = {0x40, 0x8}, --Death From Above + [145444] = {0x1}, --Overload + + [144664] = {0x8, 0x40}, --Shockwave Missile (Missile Turrets) + [144663] = {0x8, 0x40}, --Shockwave Missile (Missile Turrets) + [144662] = {0x8, 0x40}, --Shockwave Missile (Missile Turrets) + [144661] = {0x8, 0x40}, --Shockwave Missile (Missile Turrets) + [144660] = {0x8, 0x40}, --Shockwave Missile (Missile Turrets) + [143641] = {0x8, 0x40}, --Shockwave Missile (Missile Turrets) + + [143856] = {0x40, 0x8}, --Superheated (Laser Turrets) + [144466] = {0x1, 0x200}, --Magnetic Crush (Electromagnets) + [149146] = {0x80}, --Detonate! (Crawler Mines) + [143327] = {0x40}, --Serrated Slash + }, + + continuo = { + + }, + + phases = { + { --> phase 1: + adds = { + 71504, --Siegecrafter Blackfuse + 71591, --Automated Shredders + 72050, --Crawler Mines + 71790, --Disassembled Crawler Mines + 71591, --Automated Shredder + 71638, --Activated Missile Turrets + 71606, --Deactivated Missile Turrets + 71752, --Activated Laser Turrets + 71751, --Deactivated Laser Turrets + 71696, --Activated Electromagnets + 71694 --Deactivated Electromagnets + + }, + spells = { + 144335, --Matter Purification Beam + 143385, --Electrostatic Charge + 143265, --Launch Sawblade + 144213, --Automatic Repair Beam + 144210, --Death From Above + 145444, --Overload + 143856, --Superheated (Laser Turrets) + 144466, --Magnetic Crush (Electromagnets) + 149146, --Detonate! (Crawler Mines) + 143327, --Serrated Slash + 144664, --Shockwave Missile (Missile Turrets) + 144663, --Shockwave Missile (Missile Turrets) + 144662, --Shockwave Missile (Missile Turrets) + 144661, --Shockwave Missile (Missile Turrets) + 144660, --Shockwave Missile (Missile Turrets) + 143641, --Shockwave Missile (Missile Turrets) + + } + } + }, + + }, --> end of Siegecrafter Blackfuse + +------------> Paragons of the Klaxxi ------------------------------------------------------------------------------ + [13] = { + boss = "Paragons of the Klaxxi", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Klaxxi Paragons]], + + combat_end = {2, { + 71161, --Kil'ruk the Wind-Reaver + 71157, --Xaril the Poisoned Mind + 71158, --Rik'kal the Dissector + 71152, --Skeer the Bloodseeker + 71160, --Iyyokuk the Lucid + 71155, --Korven the Prime + 71156, -- Kaz'tik the Manipulator + 71154, -- Ka'roz the Locust + 71153, -- Hisek the Swarmkeeper + }}, + + spell_mechanics = { + --Kil'ruk the Wind-Reaver + [142931] = {}, --Exposed Veins + [143939] = {}, --Gouge + [143941] = {}, --Mutilate + [142232] = {}, --Death from Above + [142270] = {}, --Reave + [142922] = {}, --Razor Sharp Blades + [142930] = {}, --Razor Sharp Blades + + --Xaril the Poisoned Mind + [142929] = {}, --Tenderizing Strikes + [142315] = {}, --Caustic Blood + [142317] = {}, --Bloody Explosion + [142528] = {}, --Toxic Injection + [148656] = {}, --Vast Apothecarial Knowledge + [142877] = {}, --Volatile Poultice + [143735] = {}, --Caustic Amber + [142797] = {}, --Noxious Vapors + + --Kaz'tik the Manipulator + [142667] = {}, --Thick Shell + [115268] = {}, --Mesmerize + [142649] = {}, --Devour + [142270] = {}, --Reave + [142651] = {}, --Molt + [144275] = {}, --Swipe + [142655] = {}, --Swipe + [143768] = {}, --Sonic Projection + + --Korven the Prime + [142564] = {}, --Encase in Amber + [143974] = {}, --Shield Bash + + [143979] = {}, --Vicious Assault + [143980] = {}, --Vicious Assault + [143981] = {}, --Vicious Assault + [143982] = {}, --Vicious Assault + [143984] = {}, --Vicious Assault + [143985] = {}, --Vicious Assault + + [148649] = {}, --Master of Amber + + --Iyyokuk the Lucid + [143666] = {}, --Diminish + [142514] = {}, --Calculate + [142416] = {}, --Insane Calculation: Fiery Edge + [142809] = {}, --Fiery Edgeficious Assault + [142735] = {}, --Reaction: Blue + [142736] = {}, --Reaction: Red + [141858] = {}, --Ingenious + + --Ka'roz the Locust + [143701] = {}, --Whirling + [143702] = {}, --Whirling + [143733] = {}, --Hurl Amber + [148650] = {}, --Strong Legs + [142564] = {}, --Encase in Amber + + --Skeer the Bloodseeker + [143274] = {}, --Hewn + [143275] = {}, --Hewn + [143280] = {}, --Bloodletting + [148655] = {}, --Bloodthirsty + + --Rik'kal the Dissector + [143278] = {}, --Genetic Alteration + [143279] = {}, --Genetic Alteration + [143339] = {}, --Injection + [144274] = {}, --Claw + [142655] = {}, --Swipe + [144276] = {}, --Sting + [143373] = {}, --Gene Splice + [143337] = {}, --Mutate + + --Hisek the Swarmkeeper + [144839] = {}, --Multi-Shot + [142948] = {}, --Aim + + }, + + continuo = { + --Kil'ruk the Wind-Reaver + 142931, --Exposed Veins + 143939, --Gouge + 143941, --Mutilate + 142232, --Death from Above + 142270, --Reave + 142922, --Razor Sharp Blades + 142930, --Razor Sharp Blades + + --Xaril the Poisoned Mind + 142929, --Tenderizing Strikes + 142315, --Caustic Blood + 142317, --Bloody Explosion + 142528, --Toxic Injection + 148656, --Vast Apothecarial Knowledge + 142877, --Volatile Poultice + 143735, --Caustic Amber + 142797, --Noxious Vapors + + --Kaz'tik the Manipulator + 142667, --Thick Shell + 115268, --Mesmerize + 142649, --Devour + 142270, --Reave + 142651, --Molt + 144275, --Swipe + 142655, --Swipe + 143768, --Sonic Projection + + --Korven the Prime + 142564, --Encase in Amber + 143974, --Shield Bash + + 143979, --Vicious Assault + 143980, --Vicious Assault + 143981, --Vicious Assault + 143982, --Vicious Assault + 143984, --Vicious Assault + 143985, --Vicious Assault + + 148649, --Master of Amber + + --Iyyokuk the Lucid + 143666, --Diminish + 142514, --Calculate + 142416, --Insane Calculation: Fiery Edge + 142809, --Fiery Edgeficious Assault + 142735, --Reaction: Blue + 142736, --Reaction: Red + 141858, --Ingenious + + --Ka'roz the Locust + 143701, --Whirling + 143702, --Whirling + 143733, --Hurl Amber + 148650, --Strong Legs + 142564, --Encase in Amber + + --Skeer the Bloodseeker + 143274, --Hewn + 143275, --Hewn + 143280, --Bloodletting + 148655, --Bloodthirsty + + --Rik'kal the Dissector + 143278, --Genetic Alteration + 143279, --Genetic Alteration + 143339, --Injection + 144274, --Claw + 142655, --Swipe + 144276, --Sting + 143373, --Gene Splice + 143337, --Mutate + + --Hisek the Swarmkeeper + 144839, --Multi-Shot + 142948, --Aim + }, + + phases = { + { --> phase 1: + adds = { + 71161, --Kil'ruk the Wind-Reaver + 71157, --Xaril the Poisoned Mind + 71158, --Rik'kal the Dissector + 71152, --Skeer the Bloodseeker + 71160, --Iyyokuk the Lucid + 71155, --Korven the Prime + 71156, -- Kaz'tik the Manipulator + 71154, -- Ka'roz the Locust + 71153, -- Hisek the Swarmkeeper + + 71578, --Amber Parasites + 71542, --Bloods + 71420, --Hungry Kunchongs + 71425, --Mature Kunchongs + }, + spells = { + + } + } + }, + + }, --> end of Paragons of the Klaxxi + +------------> Garrosh Hellscream ------------------------------------------------------------------------------ + [14] = { + boss = "Garrosh Hellscream", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Garrosh Hellscream]], + + combat_end = {1, 71865}, + equalize = true, + + spell_mechanics = { + [144582] = {0x1}, --Hamstring (Kor'kron Warbringers) + [144758] = {0x1, 0x40}, --Desecrate + [144762] = {0x8}, --desecrated (Desecrated Weapon) + [144584] = {0x20}, --Chain Lightning (Farseer Wolf Riders) + [144989] = {0x40}, --Whirling Corruption + [145033] = {0x2000}, --Empowered Whirling Corruption + [145599] = {0x20}, --Touch of Y'Shaarj (mc casted) + [145183] = {0x100}, --Gripping Despair + [145195] = {0x100} --Empowered Gripping Despair + }, + + continuo = { + + }, + + phases = { + { --> phase 1: + adds = { + 72154, --Desecrated Weapon + 71979, --Kor'kron Warbringers + 71983, --Farseer Wolf Riders + 71984, --Siege Engineers + 71865, --Garrosh Hellscream + }, + spells = { + 144758, --Desecrate + 144582, --Hamstring (Kor'kron Warbringers) + 144762, --desecrated (Desecrated Weapon) + 144583, --Ancestral Chain Heal (Farseer Wolf Riders) + 144584, --Chain Lightning (Farseer Wolf Riders) + } + }, + + { --> phase 2: + adds = { + 72237, --Embodied Fears + 72238, --Embodied Doubts + 72236, --Embodied Despairs + 71865, --Garrosh Hellscream + }, + spells = { + 144969 --Annihilate + } + }, + + { --> phase 3: + adds = { + 72272, --Minion of Y'Shaarj + 71865, --Garrosh Hellscream + }, + spells = { + 144989, --Whirling Corruption + 145033, --Empowered Whirling Corruption + 145599, --Touch of Y'Shaarj (mc casted) + 145183, --Gripping Despair + 145195, --Empowered Gripping Despair + 145213, --Explosive Despair + 144758, --Desecrate + 145829, --Empowered Desecrate + 144762, --desecrated (Desecrated Weapon) + } + }, + + { --> phase 4: + adds = { + 72272, --Minion of Y'Shaarj + 71865, --Garrosh Hellscream + }, + spells = { + 145033, --Empowered Whirling Corruption + 145195, --Empowered Gripping Despair + 145829, --Empowered Desecrate + 145599, --Touch of Y'Shaarj (mc casted) + } + }, + }, + + }, --> end of Garrosh Hellscream + + } --> End SoO +} + +--[[ + [0x1] = "|cFF00FF00"..Loc ["STRING_HEAL"].."|r", + [0x2] = "|cFF710000"..Loc ["STRING_LOWDPS"].."|r", + [0x4] = "|cFF057100"..Loc ["STRING_LOWHEAL"].."|r", + [0x8] = "|cFFd3acff"..Loc ["STRING_VOIDZONE"].."|r", + [0x10] = "|cFFbce3ff"..Loc ["STRING_DISPELL"].."|r", + [0x20] = "|cFFffdc72"..Loc ["STRING_INTERRUPT"].."|r", + [0x40] = "|cFFd9b77c"..Loc ["STRING_POSITIONING"].."|r", + [0x80] = "|cFFd7ff36"..Loc ["STRING_RUNAWAY"].."|r", + [0x100] = "|cFF9a7540"..Loc ["STRING_TANKSWITCH"] .."|r", + [0x200] = "|cFFff7800"..Loc ["STRING_MECHANIC"].."|r", + [0x400] = "|cFFbebebe"..Loc ["STRING_CROWDCONTROL"].."|r", + [0x800] = "|cFF6e4d13"..Loc ["STRING_TANKCOOLDOWN"].."|r", + [0x1000] = "|cFFffff00"..Loc ["STRING_KILLADD"].."|r", + [0x2000] = "|cFFff9999"..Loc ["STRING_SPREADOUT"].."|r", + [0x4000] = "|cFFffff99"..Loc ["STRING_STOPCAST"].."|r", + [0x8000] = "|cFFffff99"..Loc ["STRING_FACING"].."|r", + [0x10000] = "|cFFffff99"..Loc ["STRING_STACK"].."|r", +--]] + +_detalhes:InstallEncounter (siege_of_orgrimmar)
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Details_RaidInfo-SiegeOfOrgrimmar/embeds.xml Tue Jun 23 15:26:28 2015 -0300 @@ -0,0 +1,6 @@ +<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/ +..\FrameXML\UI.xsd"> + +<Script file="Libs\LibStub\LibStub.lua"/> +<Include file="Libs\AceLocale-3.0\AceLocale-3.0.xml" /> +</Ui>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Details_RaidInfo-SiegeOfOrgrimmar/enUS.lua Tue Jun 23 15:26:28 2015 -0300 @@ -0,0 +1,52 @@ +local Loc = LibStub("AceLocale-3.0"):NewLocale("Details_RaidInfo-SiegeOfOrgrimmar", "enUS", true) + +if (not Loc) then + return +end + +Loc ["PLUGIN_NAME"] = "Raid Info Siege of Orgrimmar" +Loc ["STRING_RAID_NAME"] = "Siege of Orgrimmar" + +--------------------------------------------------------------------------------------------------- + +-- The ancient inhabitants of Pandaria recognized the vital importance of the lifegiving Pools of Power, building an underground system of aqueducts to safeguard the waters and nurture life in the Vale of Eternal Blossoms. The touch of corruption has animated and twisted these waters, and Immerseus stands as an unnatural embodiment of the Vale's sorrow. +Loc ["STRING_IMMERSEUS"] = "Immerseus" + +-- The Golden Lotus and Shado-Pan guardians of the Vale of Eternal Blossoms were caught in the epicenter of the devastating blast that scarred the Vale, and torn apart by the dark energies. Their spirits linger in the place they once protected, confused and tormented by their failure. +Loc ["STRING_THEFALLENPROTECTORS"] = "The Fallen Protectors" + +-- Some say that the mogu race was created in the image of this titanic construct, left deep beneath Pandaria to watch over and guard the continent's darkest and most dangerous secret. +Loc ["STRING_NORUSHEN"] = "Norushen" + +-- The seventh sha, the Sha of Pride, was the final burden to which Emperor Shaohao clung, shrouding the land in mist and biding its time for millennia. When Garrosh awakened the Heart of Y'Shaarj, the force of his arrogance caused this dark energy to coalesce in the chamber where the Heart was unearthed. +Loc ["STRING_SHAOFPRIDE"] = "Sha of Pride" + +-- Warlord Zaela formed a close bond with Garrosh during events in the Twilight Highlands, and she and her Dragonmaw orcs have pledged loyalty to Garrosh's cause. Riding atop the fearsome Galakras, a direct descendant of the cataclysmic progenitor of all dragonkind, Zaela oversees the naval defense of Orgrimmar. +Loc ["STRING_GALAKRAS"] = "Galakras" + +-- This mechanical terror, designed nearly as much for intimidation as destruction, is the centerpiece of Garrosh's siege weaponry. Crafted in the image of the mighty Kor'kron war scorpion, the Iron Juggernaut guards the gates of Orgrimmar, crushing any who would rise up to challenge Garrosh's True Horde. +Loc ["STRING_IRONJUGGERNAUT"] = "Iron Juggernaut" + +-- Haromm and Kardris trained thousands of shaman to whisper reverently to the elements to requisition their aid. The army of Garrosh, however, does not ask - they take what they desire in the name of the True Horde. Dark Shamanism forces the elements into servitude, twisting them into burned-out ash, corrupted waters, and toxic air. +Loc ["STRING_KORKRONDARKSAMAN"] = "Kor'kron Dark Shaman" + +-- Once a grunt in service of the former warchief, Thrall, General Nazgrim rose quickly through the ranks after overwhelming victories in Grizzly Hills and the sunken city of Vashj'ir. Fiercely loyal to the Horde and bound by a rigorous code of honor and duty, Nazgrim will hold the line for his warchief until his dying breath. +Loc ["STRING_GENERALNAZFRIM"] = "General Nazgrim" + +-- Malkorok has been Garrosh's most loyal and trusted lieutenant throughout the Pandaria campaign. When the Warchief needed a volunteer to infuse with the power of Y'Shaarj, it was only natural that Malkorok would offer without hesitation. +Loc ["STRING_MALKOROK"] = "Malkorok" + +-- When Garrosh gazed across Pandaria, he saw untapped power. During the course of his campaign, Garrosh has plundered weapons, treasures, and artifacts of the pandaren, the mogu, and the mantid. They are kept in a warehouse deep within his underground base, guarded by a mysterious security system that appears to be of Titan origins. +Loc ["STRING_SPOILSOFPANDARIA"] = "Spoils of Pandaria" + +-- When the Isle of Giants was discovered off the coast of Pandaria, teeming with primal devilsaurs, Garrosh sent men to capture some of the most fearsome specimens, hoping to subjugate them and use them as beasts of war. Countless orcish beastmasters have fallen to Thok's jaws as they struggle to tame him, yet the creature's thirst for blood remains unslaked. +Loc ["STRING_THOKTHEBLOODTHIRSTY"] = "Thok the Bloodthirsty" + +-- Helix Blackfuse was the only goblin with the combination of engineering prowess, professionalism, and ruthlessness to satisfy Garrosh in his search for the engineer of the True Horde. A mercenary at heart, Blackfuse's love for his creations (and the gold they fetch) has forever linked his fate with that of his patron and Warchief. +Loc ["STRING_SIEGECRAFTERBLACKFUSE"] = "Siegecrafter Blackfuse" + +-- The nine surviving Klaxxi'va Paragons are ancient champions of the mantid who fought alongside the Wakener against the madness of Empress Shek'zeer. But the paragons, as do all mantid, hold a far deeper loyalty. When Garrosh unearthed the heart of Y'Shaarj, the paragons followed the whispers of their ancient master to the iron halls beneath Orgrimmar. +Loc ["STRING_PARAGEONSOFTHEKLAXXI"] = "Paragons of the Klaxxi" + +-- Garrosh, son of Grommash Hellscream, first learned of his father's heroism when Thrall encountered the young orc in Outland. The seeds of pride were planted. Garrosh spearheaded Horde victories in Northrend and, as Warchief, consolidated Horde power amidst the chaos of the Cataclysm. But his visions of orc supremacy by any means have brought the armies of the world crashing down upon Orgrimmar... a final reckoning that Garrosh himself awaits with brutal relish. +Loc ["STRING_GARROSHHELLSCREAM"] = "Garrosh Hellscream"
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Details_RaidInfo-SiegeOfOrgrimmar/ptBR.lua Tue Jun 23 15:26:28 2015 -0300 @@ -0,0 +1,11 @@ +local Loc = LibStub("AceLocale-3.0"):NewLocale("Details_RaidInfo-SiegeOfOrgrimmar", "ptBR") + +if (not Loc) then + return +end + +Loc ["PLUGIN_NAME"] = "Info da Raide Cerco a Orgrimmar" +Loc ["STRING_RAID_NAME"] = "Cerco a Orgrimmar" + +--------------------------------------------------------------------------------------------------- +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Details_RaidInfo-ThroneOfThunder.toc Tue Jun 23 15:26:28 2015 -0300 @@ -0,0 +1,9 @@ +## Interface: 60200 +## Title: Details: Throne of Thunder +## Notes: Plugin for Details +## RequiredDeps: Details + +enUS.lua +ptBR.lua + +ThroneOfThunder.lua
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Libs/AceLocale-3.0/AceLocale-3.0.lua Tue Jun 23 15:26:28 2015 -0300 @@ -0,0 +1,137 @@ +--- **AceLocale-3.0** manages localization in addons, allowing for multiple locale to be registered with fallback to the base locale for untranslated strings. +-- @class file +-- @name AceLocale-3.0 +-- @release $Id: AceLocale-3.0.lua 1035 2011-07-09 03:20:13Z kaelten $ +local MAJOR,MINOR = "AceLocale-3.0", 6 + +local AceLocale, oldminor = LibStub:NewLibrary(MAJOR, MINOR) + +if not AceLocale then return end -- no upgrade needed + +-- Lua APIs +local assert, tostring, error = assert, tostring, error +local getmetatable, setmetatable, rawset, rawget = getmetatable, setmetatable, rawset, rawget + +-- Global vars/functions that we don't upvalue since they might get hooked, or upgraded +-- List them here for Mikk's FindGlobals script +-- GLOBALS: GAME_LOCALE, geterrorhandler + +local gameLocale = GetLocale() +if gameLocale == "enGB" then + gameLocale = "enUS" +end + +AceLocale.apps = AceLocale.apps or {} -- array of ["AppName"]=localetableref +AceLocale.appnames = AceLocale.appnames or {} -- array of [localetableref]="AppName" + +-- This metatable is used on all tables returned from GetLocale +local readmeta = { + __index = function(self, key) -- requesting totally unknown entries: fire off a nonbreaking error and return key + rawset(self, key, key) -- only need to see the warning once, really + geterrorhandler()(MAJOR..": "..tostring(AceLocale.appnames[self])..": Missing entry for '"..tostring(key).."'") + return key + end +} + +-- This metatable is used on all tables returned from GetLocale if the silent flag is true, it does not issue a warning on unknown keys +local readmetasilent = { + __index = function(self, key) -- requesting totally unknown entries: return key + rawset(self, key, key) -- only need to invoke this function once + return key + end +} + +-- Remember the locale table being registered right now (it gets set by :NewLocale()) +-- NOTE: Do never try to register 2 locale tables at once and mix their definition. +local registering + +-- local assert false function +local assertfalse = function() assert(false) end + +-- This metatable proxy is used when registering nondefault locales +local writeproxy = setmetatable({}, { + __newindex = function(self, key, value) + rawset(registering, key, value == true and key or value) -- assigning values: replace 'true' with key string + end, + __index = assertfalse +}) + +-- This metatable proxy is used when registering the default locale. +-- It refuses to overwrite existing values +-- Reason 1: Allows loading locales in any order +-- Reason 2: If 2 modules have the same string, but only the first one to be +-- loaded has a translation for the current locale, the translation +-- doesn't get overwritten. +-- +local writedefaultproxy = setmetatable({}, { + __newindex = function(self, key, value) + if not rawget(registering, key) then + rawset(registering, key, value == true and key or value) + end + end, + __index = assertfalse +}) + +--- Register a new locale (or extend an existing one) for the specified application. +-- :NewLocale will return a table you can fill your locale into, or nil if the locale isn't needed for the players +-- game locale. +-- @paramsig application, locale[, isDefault[, silent]] +-- @param application Unique name of addon / module +-- @param locale Name of the locale to register, e.g. "enUS", "deDE", etc. +-- @param isDefault If this is the default locale being registered (your addon is written in this language, generally enUS) +-- @param silent If true, the locale will not issue warnings for missing keys. Must be set on the first locale registered. If set to "raw", nils will be returned for unknown keys (no metatable used). +-- @usage +-- -- enUS.lua +-- local L = LibStub("AceLocale-3.0"):NewLocale("TestLocale", "enUS", true) +-- L["string1"] = true +-- +-- -- deDE.lua +-- local L = LibStub("AceLocale-3.0"):NewLocale("TestLocale", "deDE") +-- if not L then return end +-- L["string1"] = "Zeichenkette1" +-- @return Locale Table to add localizations to, or nil if the current locale is not required. +function AceLocale:NewLocale(application, locale, isDefault, silent) + + -- GAME_LOCALE allows translators to test translations of addons without having that wow client installed + local gameLocale = GAME_LOCALE or gameLocale + + local app = AceLocale.apps[application] + + if silent and app and getmetatable(app) ~= readmetasilent then + geterrorhandler()("Usage: NewLocale(application, locale[, isDefault[, silent]]): 'silent' must be specified for the first locale registered") + end + + if not app then + if silent=="raw" then + app = {} + else + app = setmetatable({}, silent and readmetasilent or readmeta) + end + AceLocale.apps[application] = app + AceLocale.appnames[app] = application + end + + if locale ~= gameLocale and not isDefault then + return -- nop, we don't need these translations + end + + registering = app -- remember globally for writeproxy and writedefaultproxy + + if isDefault then + return writedefaultproxy + end + + return writeproxy +end + +--- Returns localizations for the current locale (or default locale if translations are missing). +-- Errors if nothing is registered (spank developer, not just a missing translation) +-- @param application Unique name of addon / module +-- @param silent If true, the locale is optional, silently return nil if it's not found (defaults to false, optional) +-- @return The locale table for the current language. +function AceLocale:GetLocale(application, silent) + if not silent and not AceLocale.apps[application] then + error("Usage: GetLocale(application[, silent]): 'application' - No locales registered for '"..tostring(application).."'", 2) + end + return AceLocale.apps[application] +end
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Libs/AceLocale-3.0/AceLocale-3.0.xml Tue Jun 23 15:26:28 2015 -0300 @@ -0,0 +1,4 @@ +<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/ +..\FrameXML\UI.xsd"> + <Script file="AceLocale-3.0.lua"/> +</Ui> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Libs/LibStub/LibStub.lua Tue Jun 23 15:26:28 2015 -0300 @@ -0,0 +1,51 @@ +-- $Id: LibStub.lua 76 2007-09-03 01:50:17Z mikk $ +-- LibStub is a simple versioning stub meant for use in Libraries. http://www.wowace.com/wiki/LibStub for more info +-- LibStub is hereby placed in the Public Domain +-- Credits: Kaelten, Cladhaire, ckknight, Mikk, Ammo, Nevcairiel, joshborke +local LIBSTUB_MAJOR, LIBSTUB_MINOR = "LibStub", 2 -- NEVER MAKE THIS AN SVN REVISION! IT NEEDS TO BE USABLE IN ALL REPOS! +local LibStub = _G[LIBSTUB_MAJOR] + +-- Check to see is this version of the stub is obsolete +if not LibStub or LibStub.minor < LIBSTUB_MINOR then + LibStub = LibStub or {libs = {}, minors = {} } + _G[LIBSTUB_MAJOR] = LibStub + LibStub.minor = LIBSTUB_MINOR + + -- LibStub:NewLibrary(major, minor) + -- major (string) - the major version of the library + -- minor (string or number ) - the minor version of the library + -- + -- returns nil if a newer or same version of the lib is already present + -- returns empty library object or old library object if upgrade is needed + function LibStub:NewLibrary(major, minor) + assert(type(major) == "string", "Bad argument #2 to `NewLibrary' (string expected)") + minor = assert(tonumber(strmatch(minor, "%d+")), "Minor version must either be a number or contain a number.") + + local oldminor = self.minors[major] + if oldminor and oldminor >= minor then return nil end + self.minors[major], self.libs[major] = minor, self.libs[major] or {} + return self.libs[major], oldminor + end + + -- LibStub:GetLibrary(major, [silent]) + -- major (string) - the major version of the library + -- silent (boolean) - if true, library is optional, silently return nil if its not found + -- + -- throws an error if the library can not be found (except silent is set) + -- returns the library object if found + function LibStub:GetLibrary(major, silent) + if not self.libs[major] and not silent then + error(("Cannot find a library instance of %q."):format(tostring(major)), 2) + end + return self.libs[major], self.minors[major] + end + + -- LibStub:IterateLibraries() + -- + -- Returns an iterator for the currently registered libraries + function LibStub:IterateLibraries() + return pairs(self.libs) + end + + setmetatable(LibStub, { __call = LibStub.GetLibrary }) +end
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Libs/LibStub/LibStub.toc Tue Jun 23 15:26:28 2015 -0300 @@ -0,0 +1,13 @@ +## Interface: 40200 +## Title: Lib: LibStub +## Notes: Universal Library Stub +## Credits: Kaelten, Cladhaire, ckknight, Mikk, Ammo, Nevcairiel +## X-Website: http://www.wowace.com/addons/libstub/ +## X-Category: Library +## X-License: Public Domain +## X-Curse-Packaged-Version: r95 +## X-Curse-Project-Name: LibStub +## X-Curse-Project-ID: libstub +## X-Curse-Repository-ID: wow/libstub/mainline + +LibStub.lua
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Libs/LibStub/tests/test.lua Tue Jun 23 15:26:28 2015 -0300 @@ -0,0 +1,41 @@ +debugstack = debug.traceback +strmatch = string.match + +loadfile("../LibStub.lua")() + +local lib, oldMinor = LibStub:NewLibrary("Pants", 1) -- make a new thingy +assert(lib) -- should return the library table +assert(not oldMinor) -- should not return the old minor, since it didn't exist + +-- the following is to create data and then be able to check if the same data exists after the fact +function lib:MyMethod() +end +local MyMethod = lib.MyMethod +lib.MyTable = {} +local MyTable = lib.MyTable + +local newLib, newOldMinor = LibStub:NewLibrary("Pants", 1) -- try to register a library with the same version, should silently fail +assert(not newLib) -- should not return since out of date + +local newLib, newOldMinor = LibStub:NewLibrary("Pants", 0) -- try to register a library with a previous, should silently fail +assert(not newLib) -- should not return since out of date + +local newLib, newOldMinor = LibStub:NewLibrary("Pants", 2) -- register a new version +assert(newLib) -- library table +assert(rawequal(newLib, lib)) -- should be the same reference as the previous +assert(newOldMinor == 1) -- should return the minor version of the previous version + +assert(rawequal(lib.MyMethod, MyMethod)) -- verify that values were saved +assert(rawequal(lib.MyTable, MyTable)) -- verify that values were saved + +local newLib, newOldMinor = LibStub:NewLibrary("Pants", "Blah 3 Blah") -- register a new version with a string minor version (instead of a number) +assert(newLib) -- library table +assert(newOldMinor == 2) -- previous version was 2 + +local newLib, newOldMinor = LibStub:NewLibrary("Pants", "Blah 4 and please ignore 15 Blah") -- register a new version with a string minor version (instead of a number) +assert(newLib) +assert(newOldMinor == 3) -- previous version was 3 (even though it gave a string) + +local newLib, newOldMinor = LibStub:NewLibrary("Pants", 5) -- register a new library, using a normal number instead of a string +assert(newLib) +assert(newOldMinor == 4) -- previous version was 4 (even though it gave a string) \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Libs/LibStub/tests/test2.lua Tue Jun 23 15:26:28 2015 -0300 @@ -0,0 +1,27 @@ +debugstack = debug.traceback +strmatch = string.match + +loadfile("../LibStub.lua")() + +for major, library in LibStub:IterateLibraries() do + -- check that MyLib doesn't exist yet, by iterating through all the libraries + assert(major ~= "MyLib") +end + +assert(not LibStub:GetLibrary("MyLib", true)) -- check that MyLib doesn't exist yet by direct checking +assert(not pcall(LibStub.GetLibrary, LibStub, "MyLib")) -- don't silently fail, thus it should raise an error. +local lib = LibStub:NewLibrary("MyLib", 1) -- create the lib +assert(lib) -- check it exists +assert(rawequal(LibStub:GetLibrary("MyLib"), lib)) -- verify that :GetLibrary("MyLib") properly equals the lib reference + +assert(LibStub:NewLibrary("MyLib", 2)) -- create a new version + +local count=0 +for major, library in LibStub:IterateLibraries() do + -- check that MyLib exists somewhere in the libraries, by iterating through all the libraries + if major == "MyLib" then -- we found it! + count = count +1 + assert(rawequal(library, lib)) -- verify that the references are equal + end +end +assert(count == 1) -- verify that we actually found it, and only once
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Libs/LibStub/tests/test3.lua Tue Jun 23 15:26:28 2015 -0300 @@ -0,0 +1,14 @@ +debugstack = debug.traceback +strmatch = string.match + +loadfile("../LibStub.lua")() + +local proxy = newproxy() -- non-string + +assert(not pcall(LibStub.NewLibrary, LibStub, proxy, 1)) -- should error, proxy is not a string, it's userdata +local success, ret = pcall(LibStub.GetLibrary, proxy, true) +assert(not success or not ret) -- either error because proxy is not a string or because it's not actually registered. + +assert(not pcall(LibStub.NewLibrary, LibStub, "Something", "No number in here")) -- should error, minor has no string in it. + +assert(not LibStub:GetLibrary("Something", true)) -- shouldn't've created it from the above statement \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Libs/LibStub/tests/test4.lua Tue Jun 23 15:26:28 2015 -0300 @@ -0,0 +1,41 @@ +debugstack = debug.traceback +strmatch = string.match + +loadfile("../LibStub.lua")() + + +-- Pretend like loaded libstub is old and doesn't have :IterateLibraries +assert(LibStub.minor) +LibStub.minor = LibStub.minor - 0.0001 +LibStub.IterateLibraries = nil + +loadfile("../LibStub.lua")() + +assert(type(LibStub.IterateLibraries)=="function") + + +-- Now pretend that we're the same version -- :IterateLibraries should NOT be re-created +LibStub.IterateLibraries = 123 + +loadfile("../LibStub.lua")() + +assert(LibStub.IterateLibraries == 123) + + +-- Now pretend that a newer version is loaded -- :IterateLibraries should NOT be re-created +LibStub.minor = LibStub.minor + 0.0001 + +loadfile("../LibStub.lua")() + +assert(LibStub.IterateLibraries == 123) + + +-- Again with a huge number +LibStub.minor = LibStub.minor + 1234567890 + +loadfile("../LibStub.lua")() + +assert(LibStub.IterateLibraries == 123) + + +print("OK") \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ThroneOfThunder.lua Tue Jun 23 15:26:28 2015 -0300 @@ -0,0 +1,1010 @@ +--[[ +===================================================================================================== + Throne of Thunder Mobs and Spells Ids for Details +===================================================================================================== +]]-- + +local Loc = LibStub ("AceLocale-3.0"):GetLocale ("Details_RaidInfo-ThroneOfThunder") + +local _detalhes = _G._detalhes + +local throne_of_thunder = { + + id = 1098, + ej_id = 362, + + name = Loc ["STRING_RAID_NAME"], + + icons = "Interface\\AddOns\\Details_RaidInfo-ThroneOfThunder\\images\\tot", + + icon = "Interface\\AddOns\\Details_RaidInfo-ThroneOfThunder\\images\\icon256x128", + + is_raid = true, + + backgroundFile = {file = [[Interface\Glues\LOADINGSCREENS\LoadscreenThunderkingRaid]], coords = {0, 1, 256/1024, 840/1024}}, + backgroundEJ = [[Interface\EncounterJournal\UI-EJ-LOREBG-ThunderKingRaid]], + + boss_names = { + "Jin'rokh the Breaker", + "Horridon", + "Frost King Malakk", + "Tortos", + "Magaera", + "Ji-Kun", + "Durumu the Forgotten", + "Primordius", + "Dark Animus", + "Iron Qon", + "Lu'lin", + "Lei Shen", + "Ra-den" + }, + + encounter_ids = { + --> Ids by Index + 827, 819, 816, 825, 821, 828, 818, 820, 824, 817, 829, 832, + [827] = 1, -- Jin'rokh the Breaker + [819] = 2, -- Horridon + [816] = 3, -- Frost King Malakk + [825] = 4, -- Tortos + [821] = 5, -- Magaera + [828] = 6, -- Ji-Kun + [818] = 7, -- Durumu the Forgotten + [820] = 8, -- Primordius + [824] = 9, -- Dark Animus + [817] = 10, -- Iron Qon + [829] = 11, -- Lu'lin + [832] = 12, -- Lei Shen + --[] = 13, -- Ra-den + }, + + boss_ids = { + -- Last Stand of the Zandalari + [69465] = 1, -- Jin'rokh the Breaker + [68476] = 2, -- Horridon + [69134] = 3, -- Kazra'jin, Council of Elders + [69078] = 3, -- Sul the Sandcrawler, Council of Elders + [69131] = 3, -- Frost King Malakk, Council of Elders + [69132] = 3, -- High Priestess Mar'li, Council of Elders + -- Forgotten Depths + [67977] = 4, -- Tortos + [70229] = 5, -- Flaming Head <Head of Megaera> + [70250] = 5, -- Frozen Head <Head of Megaera> + [70251] = 5, -- Venomous Head <Head of Megaera> + [70247] = 5, -- Venomous Head <Head of Megaera> + [69712] = 6, -- Ji-Kun + -- Halls of Flesh-Shaping + [68036] = 7, -- Durumu the Forgotten + [69017] = 8, -- Primordius + [69427] = 9, -- Dark Animus + -- Pinnacle of Storms + [68078] = 10, -- Iron Qon <Master of Quilen> + [68905] = 11, -- Lu'lin <Mistress of Solitude>, Twin Consorts + [68904] = 11, -- Suen <Mistress of Anger>, Twin Consorts + [68397] = 12 -- Lei Shen <The Thunder King> + }, + + encounters = { + +------------> Jin'rokh the Breaker ------------------------------------------------------------------------------ + [1] = { + + boss = "Jin'rokh the Breaker", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Jinrokh the Breaker]], + + combat_end = {1, 69465}, + + --[ + spell_mechanics = { + [137261] = {0x1, 0x40}, --> Lightning Storm + [137162] = {0x1, 0x100}, --> Static Burst + [138389] = {0x100}, --> Static Wound + [137423] = {0x80}, --> Focused Lightning + [137374] = {0x40}, --> Focused Lightning Detonation + [138133] = {0x40}, --> Lightning Fissure Conduction + [137485] = {0x40}, --> Lightning Fissure + [137370] = {0x200, 0x1}, --> Thundering Throw + [137167] = {0x200, 0x1}, --> Thundering Throw + [137905] = {0x40}, --> Lightning Diffusion + [138733] = {0x10, 0x40}, --> Ionization + [137647] = {0x40}, --> Lightning Strike + }, + --]] + phases = { + --> fase 1 + { + spells = { + 137261, --> Lightning Storm + 137162, --> Static Burst + 138389, --> Static Wound + 137423, --> Focused Lightning + 137374, --> Focused Lightning Detonation + 138133, --> Lightning Fissure Conduction + 137370, --> Thundering Throw + 137167 --> Thundering Throw + }, + + adds = { + 69465, -- Jin'rokh the Breaker + } + } + } + }, +------------> Horridon ------------------------------------------------------------------------------ + [2] = { + + boss = "Horridon", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Horridon]], + + combat_end = {1, 68476}, + equalize = true, + + spell_mechanics = { + [136719] = {0x10}, --> Blazing Sunlight (Wastewalker) + [136723] = {0x8}, --> Sand Trap (Voidzone) + [136725] = {0x8}, --> Sand Trap Heroic (Voidzone) + [136654] = {0x1}, --> Rending Charge (Bloodlord) + [136653] = {0x1}, --> Rending Charge (Bloodlord) + [136587] = {0x20, 0x10, 0x1}, --> Venom Bolt Volley (Venom Priest & Venomous Effusions) + [136646] = {0x8}, --> Living Poison (Voidzone) + [136710] = {0x400, 0x10}, --> Deadly Plague (Drakkari Champions & Drakkari Warriors) + [136670] = {0x800, 0x1}, --> Mortal Strike (Frozen Warlords) + [136573] = {0x8}, --> Frozen Bolt (Voidzone) + [136465] = {0x1, 0x20}, --> Fireball (Amani'shi Flame Casters) + [136480] = {0x20, 0x40, 0x1}, --> Chain Lightning (Amani'shi Beast Shaman) + [136513] = {0x10, 0x1}, --> Hex of Confusion (Amani'shi Beast Shaman) + [136489] = {0x8}, --> Lightning Nova (Voidzone) + [136490] = {0x8}, --> Lightning Nova (Voidzone) + [136817] = {0x200, 0x2, 0x1}, --> Bestial Cry (dpsrun) + [136740] = {0x40}, --> Double Swipe (frontal) + [136739] = {0x40}, --> Double Swipe (trazeiro) + [137458] = {0x1}, --> Dire Call (heroic) + [136767] = {0x1, 0x100}, --> Triple Puncture + [136463] = {0x40} --> Swipe (Amani Warbear) + }, + + continuo = { + 136767, --> Triple Puncture 10m normal (Horridon) + 136740, -- Double Swipe (frontal) + 136739, -- Double Swipe (trazeiro) + 137458 --> Dire Call (heroic) + }, + + phases = { + { + --> fase 1 - The Farraki + spells = { + 136719, --> Blazing Sunlight 10m normal (Wastewalker) + 136723, --> Sand Trap 10m normal (Voidzone) + 136725 --> Sand Trap 10m heroic (Voidzone) + }, + adds = { + 69175, --> Farraki Wastewalker + 69172, --> Sul'lithuz Stonegazers + 69173 --> Farraki Skirmishers + } + }, + { + --> fase 2 - The Gurubashi + spells = { + 136654, --> Rending Charge 10m normal (Bloodlord) + 136587, --> Venom Bolt Volley 10m normal (Venom Priest & Venomous Effusions) + 136646 --> Living Poison 10m normal (Voidzone) + }, + adds = { + 69167, -- Gurubashi Bloodlord + 69164, -- Gurubashi Venom Priest + 69314, -- Venomous Effusion + 68476 -- Horridon + } + }, + { + --> fase 3 - The Drakkari + spells = { + 136710, --> Deadly Plague (Drakkari Champions & Drakkari Warriors) + 136670, --> Mortal Strike (Frozen Warlords) + 139573 --> Frozen Bolt (Voidzone) + }, + adds = { + 69178,-- "Drakkari Frozen Warlord", + 69184,-- "Risen Drakkari Warriors", + 69185, --"Risen Drakkari Champions" + 68476 -- Horridon + } + }, + { + --> fase 4 - The Amani + spells = { + 136465, --> Fireball (Amani'shi Flame Casters) + 136480, --> Chain Lightning (Amani'shi Beast Shaman) + 136513, --> Hex of Confusion (Amani'shi Beast Shaman) + 136489, --> Lightning Nova (Voidzone) + 136463 --> Swipe (Warbears) + }, + adds = { + 69169, -- "Amani'shi Protector", + 69168, -- "Amani'shi Flame Caster", + 69177, -- "Amani Warbear", + 69176, -- "Amani'shi Beast Shaman" + 68476 -- Horridon + } + }, + { + --> fase 5 - War-God Jalak's + spells = { + 136817 --> Bestial Cry + }, + adds = { + 69374, --"War-God Jalak" + 68476 -- Horridon + } + } + + } --> fim das fasses do segundo boss + + }, --> fim do segundo boss + +------------> Concil of Elders ------------------------------------------------------------------------------ + [3] = { + boss = "Council of Elders", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Council of Elders]], + + combat_end = {2, {69131, 69134, 69078, 69132}}, + + --> this is a fix for twisted fate spell, due Mar'li adds comes with exactly the same name as the player name, the add spell are assigned to the player + func = function() + local combat = _detalhes:GetCombat ("current") + local actorList = combat:GetActorList (DETAILS_ATTRIBUTE_DAMAGE) + + for _, actor in ipairs (actorList) do + local TwistedFate = actor.spells:GetSpell (137972) --> twisted fate adds spell + if (TwistedFate) then + if (not actor.lastTwistedFate) then + actor.lastTwistedFate = 0 + end + actor.total = actor.total - (TwistedFate.total - actor.lastTwistedFate) + actor.lastTwistedFate = TwistedFate.total + end + end + end, + + funcType = 0x3, -- 0x1 + 0x2 --> realtime + end of combat + + spell_mechanics = { + [136507] = {0x2}, --> Dark Power (Todos) + + [136190] = {0x20, 0x1}, --> Sandbold (Sul the Sandcrawler) + [138740] = {0x20, 0x1}, --> Sandbolt (Sul the Sandcrawler) + [136899] = {0x1}, --> Sandstorm (Sul the Sandcrawler) + [136860] = {0x10, 0x8}, --> Quicksand (Sul the Sandcrawler) + + [137344] = {0x20, 0x1}, --> Wrath of the Loa (High Priestess Mar'li) + [137347] = {0x20, 0x1}, --> Wrath of the Loa (High Priestess Mar'li) + [137390] = {0x80, 0x1000}, --> Shadowed Gift (High Priestess Mar'li) + [137407] = {0x80, 0x1000}, --> Shadowed Gift (High Priestess Mar'li) + [137972] = {0x200, 0x40}, --> Twisted Fate (High Priestess Mar'li) + + [136937] = {0x40, 0x1}, --> Frostbite (Frost King Malakk) + [136990] = {0x40, 0x1}, --> Frostbite (Frost King Malakk) + [136911] = {0x1}, --> Frigid Assault (Frost King Malakk) + [136991] = {0x40}, --> Biting Cold (Frost King Malakk) + [136917] = {0x40}, --> Biting Cold (Frost King Malakk) + + [137151] = {0x1}, --> Overload (Kazra'jin) + [136935] = {0x1}, --> Discharge (Kazra'jin) + [137122] = {0x8}, --> Reckless Charge (Kazra'jin) + [137133] = {0x8}, --> Reckless Charge (Kazra'jin) + + [137641] = {0x200, 0x1} --> Soul Fragment + }, + + continuo = { + 136507, --> Dark Power (Todos) + 137641, --> Soul Fragment + + 136190, --> Sandbold (Sul the Sandcrawler) + 138740, --> Sandbolt (Sul the Sandcrawler) + 136899, --> Sandstorm (Sul the Sandcrawler) + 136860, --> Quicksand (Sul the Sandcrawler) + + 137344, --> Wrath of the Loa (High Priestess Mar'li) + 137390, --> Shadowed Gift (High Priestess Mar'li) + 137407, --> Shadowed Gift (High Priestess Mar'li) + 137347, --> Wrath of the Loa (High Priestess Mar'li) + 137972, --> Twisted Fate (High Priestess Mar'li) + + 136937, --> Frostbite (Frost King Malakk) + 136990, --> Frostbite (Frost King Malakk) + 136911, --> Frigid Assault (Frost King Malakk) + 136991, --> Biting Cold (Frost King Malakk) + 136917, --> Biting Cold (Frost King Malakk) + + 137151, --> Overload (Kazra'jin) + 137122, --> Reckless Charge (Kazra'jin) + 137133, --> Reckless Charge (Kazra'jin) + 136935 --> Discharge (Kazra'jin) + }, + + phases = { + { + adds = { + 69548, -- "Shadowed Loa Spirit" + 69491, -- "Blessed Loa Spirit" + 69480, -- "Living Sand" + 69131, -- Frost King Malakk + 69134, -- Kazra'jin + 69078, -- Sul the Sandcrawler + 69132 -- High Priestess Mar'li + + } + } + } + + }, + +------------> Tortos ------------------------------------------------------------------------------ + [4] = { + boss = "Tortos", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Tortos]], + + combat_end = {1, 67977}, + + spell_mechanics = { + [134476] = {0x1}, --> "Rockfall", + [134920] = {0x1}, --> "Quake Stomp", + [134011] = {0x1, 0x40}, --> "Spinning Shell", + [135251] = {0x1}, --> "Snapping Bite", + [134539] = {0x8, 0x40}, --> "Rockfall", + [135101] = {0x4, 0x200, 0x800} --> "Drain the Weak", + + }, + + continuo = { + 134476, --> "Rockfall", + 134920, --> "Quake Stomp", + 134011, --> "Spinning Shell", + 135251, --> "Snapping Bite", + 134539, --> "Rockfall", + 135101 --> "Drain the Weak", + }, + + phases = { + { + adds = { + 67966, --"Whirl Turtle", + 68497, -- "Vampiric Cave Bat" + 67977 -- Tortos + } + } + } + }, + +------------> Megaera ------------------------------------------------------------------------------ + [5] = { + boss = "Megaera", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Megaera]], + + spell_mechanics = { + [139549] = {0x1}, --Rampage blue + [139548] = {0x1}, --rampage red + [139551] = {0x1}, --rampage green + [139552] = {0x1}, --rampage arcane + + [139842] = {0x100}, --Arctic Freeze + [137731] = {0x100}, --Ignite Flesh + [137730] = {0x100}, --Ignite Flesh + [139839] = {0x100}, --Rot Armor + + [139850] = {0x80, 0x40}, -- Acid Rain + [139836] = {0x10}, --Cinders + [139822] = {0x10}, --Cinders + [139836] = {0x8},--Cinders voidzone + [139909] = {0x8}, -- Icy Ground + [139889] = {0x80}, -- Torrent of Ice + [139992] = {0x100}, -- Diffusion + [140178] = {0x20} --Nether Spike + }, + + continuo = { + 139549, --Rampage blue + 139548, --rampage red + 139551, --rampage green + 139552, --rampage arcane + + 139842, --Arctic Freeze + 137731, --Ignite Flesh + 137730, --Ignite Flesh + 139839, --Rot Armor + + 139850, -- Acid Rain + 139822, --Cinders + 139836,--Cinders voidzone + 139909, -- Icy Ground + 139889, -- Torrent of Ice + 140178, --Nether Spike + 139992 --Diffusion + }, + + phases = { + { + adds = { + 70235, --"Frozen Head", + 70247, --"Venomous Head", + 70212, --"Flaming Head" + 70248, --"Arcane Head" + 70507 -- Nether Wyrm (heroic) + } + } + } + }, + +------------> Ji-Kun ------------------------------------------------------------------------------ + [6] = { + boss = "Ji'kun", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Ji Kun]], + + combat_end = {1, 69712}, + + spell_mechanics = { + [134381] = {0x1}, --Quills + [140092] = {0x100}, -- Infected Talons + [134366] = {0x100}, -- Talon Rake + [139100] = {0x100}, -- Talon Strike + [134256] = {0x200, 0x1, 0x8}, -- Slimed + [134375] = {0x1, 0x40}, -- Caw + [138319] = {0x200, 0x1}, -- Feed Pool + [140129] = {0x1}, -- Cheep + [139296] = {0x1}, -- Cheep + [140570] = {0x1}, -- Cheep + [139298] = {0x1} -- Cheep + }, + + continuo = { + 134381, --Quills + 140092, -- Infected Talons + 134256, -- Slimed + 134366, -- Talon Rake + 139100, -- Talon Strike + 134375, -- Caw + 138319, -- Feed Pool + 140129, -- Cheep + 139296, -- Cheep + 140570, -- Cheep + 139298 -- Cheep + }, + + phases = { + { + adds = { + 68192, --Hatchling + 69628, --Mature Egg of Ji-Kun + 68192, --Fledgling + 69836, --Juvenile + 70134 --Nest Guardian + } + } + } + }, + +------------> Durumu the forgotten ------------------------------------------------------------------------------ + [7] = { + boss = "Durumu the Forgotten", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Durumu]], + + combat_end = {1, 68036}, + + spell_mechanics = { + [133732] = {0x1, 0x200}, --> Infrared Light + [133738] = {0x1, 0x200}, --> Bright Light + [133677] = {0x1, 0x200}, --> Blue Rays + [139107] = {0x1}, --> Mind Daggers + [133597] = {0x10, 0x200}, --> Dark Parasite + [134755] = {0x40}, --> Eye Sore + [133765] = {0x100}, --> Hard Stare + [133768] = {0x1, 0x100}, --> Arterial Cut + [133793] = {0x8}, --> Lingering Gaze + [134044] = {0x8}, --> Lingering Gaze + [140495] = {0x8}, --> Lingering Gaze + [133798] = {0x200}, --> Life Drain + [134005] = {0x1}, --> Devour + [134010] = {0x1}, --> Devour + [136154] = {0x1}, --> Caustic Spike + [136123] = {0x200}, --> Burst of Amber + [136175] = {0x1}, --> Amber Retaliation + [134029] = {0x40}, --> Gaze + [136413] = {0x40}, --> Force of Will + [134169] = {0x80} --> Disintegration Beam + }, + + continuo = {}, + + phases = { + { + spells = { + 139107, --> Mind Daggers + 133732, --> Infrared Light + 133738, --> Bright Light + 133597, --> Dark Parasite + 133677, --> Blue Rays + 133765, --> Hard Stare + 133793, --> Lingering Gaze + 133798, --> Life Drain + 134044, --> Lingering Gaze + 134005, --> Devour + 136154, --> Caustic Spike + 134010, --> Devour + 140495, --> Lingering Gaze + 133768, --> Arterial Cut + 136123, --> Burst of Amber + 136175, --> Amber Retaliation + 134029, --> Gaze + 136413 --> Force of Will + }, + adds = { + 68036, --> Durumu the Forgotten + 69050, --> Crimson Fogs + 69052, --> Azure Fog + 69051, --> Amber Fog + 67859, --> Hungry Eye + 68024, --> Wandering Eye + 68291 --> Ice Wall + } + }, + { + spells = { + 139107, --> Mind Daggers + 133597, --> Dark Parasite + 134755, --> Eye Sore + 133793, --> Lingering Gaze + 134044, --> Lingering Gaze + 134005, --> Devour + 134010, --> Devour + 140495, --> Lingering Gaze + 134169 --> Disintegration Beam + }, + adds = { + 68036, --> Durumu the Forgotten + 67859, --> Hungry Eye + 68024, --> Wandering Eye + 68291 --> Ice Wall + } + } + + } + }, + +------------> Primordius ------------------------------------------------------------------------------ + [8] = { + boss = "Primordius", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Primordius]], + + combat_end = {1, 69017}, + + spell_mechanics = { + [136220] = {0x1, 0x2000}, --> Acidic Explosion + [136216] = {0x1, 0x40}, --> Caustic Gas + [136178] = {0x1}, --> Mutation + [136211] = {0x1}, --> Ventral Sacs + [137000] = {0x100, 0x1}, --> Black Blood + [136247] = {0x40}, --> Pustule Eruption + [136050] = {0x100, 0x1}, --> Malformed Blood + [136231] = {0x1}, --> Volatile Pathogen + [136037] = {0x800, 0x1}, --> Primordial Strike + [140508] = {0x1} --> Volatile Mutation + }, + continuo = { + 136220, --> Acidic Explosion + 136216, --> Caustic Gas + 136178, --> Mutation + 136211, --> Ventral Sacs + 137000, --> Black Blood + 136247, --> Pustule Eruption + 136050, --> Malformed Blood + 136231, --> Volatile Pathogen + 136037, --> Primordial Strike + 140508 --> Volatile Mutation + }, + phases = { + { + spells = {}, + adds = { + 69069, --> living-fluid + 69017, --> Primordius + 69070 --> Viscous Horror + } + } + } + }, + +------------> Dark Animus ------------------------------------------------------------------------------ + + [9] = { + boss = "Dark Animus", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Dark Animus]], + + combat_end = {1, 69427}, + + spell_mechanics = { + [139867] = {0x1, 0x4000}, --> Interrupting Jolt + [138659] = {0x1}, --> Touch of the Animus + [138707] = {0x2000, 0x1}, --> Anima Font + [138618] = {0x200, 0x10}, --> Matter Swap + [138569] = {0x40, 0x100}, --> Explosive Slam + [136962] = {0x100}, --> Anima Ring + [138480] = {0x8, 0x80} --> Crimson Wake + }, + continuo = { + 139867, --> Interrupting Jolt + 138659, --> Touch of the Animus + 138707, --> Anima Font + 138618, --> Matter Swap + 138569, --> Explosive Slam + 136962, --> Anima Ring + 138480 --> Crimson Wake + }, + phases = { + { + spells = { + }, + adds = { + 69427, --> Dark Animus + 69701, --> Anima Golem + 69699, --> Massive Anima Golem + 69700 --> Large Anima Golem + } + } + } + }, + +------------> Iron Qon ------------------------------------------------------------------------------ + [10] = { + boss = "Iron Qon", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Iron Qon]], + + combat_end = {1, 68078}, + + spell_mechanics = { + [136925] = {0x40}, --> Burning Blast + [134628] = {0x200, 0x1}, --> Unleashed Flame + [134664] = {0x200}, --> Molten Inferno + + [136193] = {0x2000}, --> Arcing Lightning + [137669] = {0x8}, --> Storm Cloud + [136577] = {0x80}, --> Wind Storm + [139167] = {0x40}, --> Whirling Winds + [136192] = {0x200}, --> Lightning Storm + [136498] = {0x1}, --> Storm Surge + [137654] = {0x80}, --> Rushing Winds + + [137709] = {0x1}, --> Shatter + [135146] = {0x1}, --> Shatter + [137664] = {0x8}, --> Frozen Blood + [136520] = {0x8}, --> Frozen Blood + [135142] = {0x1}, --> Frozen Resilience + [139180] = {0x40}, --> Frost Spike + [134759] = {0x8}, --> Ground Rupture + + [136147] = {0x2, 0x1}, --> Fist Smash + [134691] = {0x100}, --> Impale + [134926] = {0x40} --> Throw Spear + }, + + continuo = { + 134691 --> Impale + }, + + phases = { + --> phase 1 Ro'shak + { + spells = { + 136925, --> Burning Blast + 134664, --> Molten Inferno + 134628, --> Unleashed Flame + 139167, --> Whirling Winds + 136192, --> Lightning Storm + 139167, --> Whirling Winds + 136498 --> Storm Surge + }, + adds = { + 68079 --> Ro'shak + } + }, + + --> phase 2 Quet'zal + { + spells = { + 136193, --> Arcing Lightning + 137669, --> Storm Cloud + 136577, --> Wind Storm + 139167, --> Whirling Winds + 136192, --> Lightning Storm + 136498, --> Storm Surge + 137654, --> Rushing Winds + 139180 --> Frost Spike + }, + adds = { + 68080 --> Quet'zal + } + }, + + --> phase 3 Dam'ren + { + spells = { + 137709, --> Shatter + 135146, --> Shatter + 137664, --> Frozen Blood + 136520, --> Frozen Blood + 135142, --> Frozen Resilience + 139180, --> Frost Spike + 134759, --> Ground Rupture + 134664, --> Molten Inferno + 134628 --> Unleashed Flame + }, + adds = { + 68081 --> Dam'ren + } + }, + + --> phase 4 Iron Qon + { + spells = { + 139167, --> Whirling Winds + 136147, --> Fist Smash + 134691, --> Impale + 134664, --> Molten Inferno + 134628, --> Unleashed Flame + 139180, --> Frost Spike + 139167, --> Whirling Winds + 136498 --> Storm Surge + }, + adds = { + 68078 --> Iron Qon + } + } + } + }, + +------------> Twin Consorts ------------------------------------------------------------------------------ + [11] = { + boss = "Twin Consorts", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Empyreal Queens]], + + combat_end = {2, {68904, 68905}}, + equalize = true, + + spell_mechanics = { + [137410] = {0x200, 0x1}, --> Blazing Radiance + [137492] = {0x1}, --> Nuclear Inferno + [137382] = {0x1}, --> Darkness + [138682] = {0x1}, --> Darkness + [137129] = {0x1, 0x2000}, --> Crashing Star + [137405] = {0x1}, --> Tears of the Sun + [138746] = {0x1}, --> Tears of the Sun + [137494] = {0x1, 0x2000}, --> Light of Day + [137403] = {0x1, 0x2000}, --> Light of Day + [138804] = {0x1, 0x2000}, --> Light of Day + [137360] = {0x200}, --> Corrupted Healing + [137408] = {0x100}, --> Fan of Flames + [136722] = {0x40}, --> Slumber Spores + [137417] = {0x8}, --> Flames of Passion + [137414] = {0x8}, --> Flames of Passion + [138688] = {0x1}, --> Tidal Force + [137716] = {0x1}, --> Tidal Force + [137419] = {0x1, 0x2000} --> Ice Comet + }, + + continuo = { + }, + + phases = { + --> phase 1 (night) + { + spells = { + 137382, --> Darkness + 138682, --> Darkness + 137405, --> Tears of the Sun + 138746, --> Tears of the Sun + 137494, --> Light of Day + 137403, --> Light of Day + 138804, --> Light of Day + 137360, --> Corrupted Healing + 136722, --> Slumber Spores + 137129 --> Crashing Star + + }, + adds = { + 69591, -- Lurker in the Night + 69479, -- Beast of Nightmares + 68905, --> Lu'lin + 68904 --> Suen + } + }, + --> phase 2 (day) + { + spells = { + 137492, --> Nuclear Inferno + 137410, --> Blazing Radiance + 137408, --> Fan of Flames + 137417, --> Flames of Passion + 137419, --> Ice Comet + 137129 --> Crashing Star + }, + adds = { + 68904 --> Suen + } + }, + --> phase 3 (dusk) + { + spells = { + 137492, --> Nuclear Inferno + 137410, --> Blazing Radiance + 138688, --> Tidal Force + 137419, --> Ice Comet + 137494, --> Light of Day + 137403, --> Light of Day + 138804, --> Light of Day + 137410 --> Blazing Radiance + }, + adds = { + 68905, --> Lu'lin + 68904 --> Suen + } + }, + --> phase 4 + { + spells = { + 137492, --> Nuclear Inferno + 137410, --> Blazing Radiance + 137382, --> Darkness + 138682, --> Darkness + 137360, --> Corrupted Healing + 137408, --> Fan of Flames + 136722, --> Slumber Spores + 137417, --> Flames of Passion + 137129 --> Crashing Star + }, + adds = { + 69591, --Lurker in the Night + 69479, --Beast of Nightmares + 68905, --> Lu'lin + 68904 --> Suen + } + } + } + }, + +------------> Lei Shen ------------------------------------------------------------------------------ + [12] = { + boss = "Lei Shen", + portrait = [[Interface\EncounterJournal\UI-EJ-BOSS-Lei Shen]], + + combat_end = {1, 68397}, + + spell_mechanics = { + [136889] = {0x2, 0x1}, --> Violent Gale Winds + [135096] = {0x40}, --> Thunderstruck + [135703] = {0x200}, --> Static Shock + [134821] = {0x200}, --> Discharged Energy + [136366] = {0x1}, --> Bouncing Bolt + [136620] = {0x1}, --> Ball Lightning + [136543] = {0x1}, --> Summon Ball Lightning + [136021] = {0x40}, --> Chain Lightning + [135150] = {0x8}, --> Crashing Thunder + [135153] = {0x8}, --> Crashing Thunder + [136914] = {0x1}, --> Electrical Shock + [136019] = {0x40}, --> Chain Lightning + [136018] = {0x40}, --> Chain Lightning + [139011] = {0x1}, --> Helm of Command + [134916] = {0x80, 0x100}, --> Decapitate + [136326] = {0x40}, --> Overcharge + [136478] = {0x100}, --> Fusion Slash + [135991] = {0x40}, --> Diffusion Chain + [136853] = {0x8}, --> Lightning Bolt + [137176] = {0x8}, --> Overloaded Circuits + [136850] = {0x8, 0x40} --> Lightning Whip + }, + continuo = { + 135703, --> Static Shock + 136366, --> Bouncing Bolt + 136021, --> Chain Lightning + 136019, --> Chain Lightning + 136018, --> Chain Lightning + 136326, --> Overcharge + 135991 --> Diffusion Chain + }, + phases = { + + --> phase 1 + { + spells = { + 135096, --> Thunderstruck + 134821, --> Discharged Energy + 135150, --> Crashing Thunder + 135153, --> Crashing Thunder + 134916 --> Decapitate + }, + adds = { + 69013, --> Diffused Lightning + 69133, --> Unharnessed Power + 68397 --> Lei Shen + } + }, + + --> phase 2 + { + spells = { + + }, + adds = { + 69013, --> Diffused Lightning + 69133 --> Unharnessed Power + } + }, + + --> phase 3 + { + spells = { + 134821, --> Discharged Energy + 136620, --> Ball Lightning + 136543, --> Summon Ball Lightning + 139011, --> Helm of Command + 136478, --> Fusion Slash + 136853, --> Lightning Bolt + 137176, --> Overloaded Circuits + 136850 --> Lightning Whip + }, + adds = { + 69013, --> Diffused Lightning + 69133, --> Unharnessed Power + 69232, --> Ball Lightning + 68397 --> Lei Shen + } + }, + + --> phase 4 + { + spells = { + 137176 --> Overloaded Circuits + }, + adds = { + 69013, --> Diffused Lightning + 69133 --> Unharnessed Power + } + }, + + --> phase 5 + { + spells = { + 136889, --> Violent Gale Winds + 135096, --> Thunderstruck + 134821, --> Discharged Energy + 136620, --> Ball Lightning + 136543, --> Summon Ball Lightning + 136914, --> Electrical Shock + 139011, --> Helm of Command + 136478, --> Fusion Slash + 136853, --> Lightning Bolt + 137176, --> Overloaded Circuits + 136850 --> Lightning Whip + }, + adds = { + 69013, --> Diffused Lightning + 69133, --> Unharnessed Power + 69232, --> Ball Lightning + 68397 --> Lei Shen + } + } + } + }, + +------------> Ra-den ------------------------------------------------------------------------------ + [13] = { + boss = "Ra-Den", + phases = {} + } + + } --> Fim da lista dos Bosses de Throne of Thunder +} + + +_detalhes:InstallEncounter (throne_of_thunder)
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/embeds.xml Tue Jun 23 15:26:28 2015 -0300 @@ -0,0 +1,6 @@ +<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/ +..\FrameXML\UI.xsd"> + +<Script file="Libs\LibStub\LibStub.lua"/> +<Include file="Libs\AceLocale-3.0\AceLocale-3.0.xml" /> +</Ui>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/enUS.lua Tue Jun 23 15:26:28 2015 -0300 @@ -0,0 +1,24 @@ +local Loc = LibStub("AceLocale-3.0"):NewLocale("Details_RaidInfo-ThroneOfThunder", "enUS", true) + +if (not Loc) then + return +end + +Loc ["PLUGIN_NAME"] = "Raid Info Throne of Thunder" +Loc ["STRING_RAID_NAME"] = "Throne of Thunder" + +--------------------------------------------------------------------------------------------------- + +Loc ["STRING_JINROKH"] = "Jin'rokh the Breaker" +Loc ["STRING_HORRIDON"] = "Horridon" +Loc ["STRING_CONCIL"] = "Council of Elders" +Loc ["STRING_TORTOS"] = "Tortos" +Loc ["STRING_MEGAERA"] = "Megaera" +Loc ["STRING_JIKUN"] = "Ji'kun" +Loc ["STRING_DURUMU"] = "Durumu the Forgotten" +Loc ["STRING_PRIMORDIUS"] = "Primordius" +Loc ["STRING_DARKANIMUS"] = "Dark Animus" +Loc ["STRING_IRONQON"] = "Iron Qon" +Loc ["STRING_TWINS"] = "Twin Consorts" +Loc ["STRING_LEISHEN"] = "Lei Shen" +Loc ["STRING_RADEN"] = "Ra-Den" \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ptBR.lua Tue Jun 23 15:26:28 2015 -0300 @@ -0,0 +1,11 @@ +local Loc = LibStub("AceLocale-3.0"):NewLocale("Details_RaidInfo-ThroneOfThunder", "ptBR") + +if (not Loc) then + return +end + +Loc ["PLUGIN_NAME"] = "Info da Raide Trono do Trovao" +Loc ["STRING_RAID_NAME"] = "Trono do Trovao" + +--------------------------------------------------------------------------------------------------- +
