diff --git a/boot.lua b/boot.lua index e96a4ea3..f49c70c3 100644 --- a/boot.lua +++ b/boot.lua @@ -4,8 +4,8 @@ _ = nil _detalhes = LibStub("AceAddon-3.0"):NewAddon("_detalhes", "AceTimer-3.0", "AceComm-3.0", "AceSerializer-3.0", "NickTag-1.0") _detalhes.build_counter = 342 --it's 342 for release - _detalhes.userversion = "v3.6.15" - _detalhes.realversion = 55 --core version + _detalhes.userversion = "v3.7.0" + _detalhes.realversion = 56 --core version _detalhes.version = _detalhes.userversion .. " (core " .. _detalhes.realversion .. ")" ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- @@ -18,48 +18,33 @@ do local Loc = LibStub ("AceLocale-3.0"):GetLocale ( "Details" ) --[[ -|cFFFFFF00v3.6.15 (|cFFFFCC00Jan 03, 2015|r|cFFFFFF00)|r:\n\n +|cFFFFFF00v3.7.0 (|cFFFFCC00Jan 06, 2015|r|cFFFFFF00)|r:\n\n +|cFFFFFF00-|r Plugin 'Damage Rank': is now called 'Damage, the Game!' and was its levels adjusted to WoD.\n\n +|cFFFFFF00-|r Plugin 'Tiny Threat': fixed player name where it was showing the realm name too.\n\n +|cFFFFFF00-|r Plugin 'Vanguard': fixed frame details (clicking on a bar) shown behind the Vanguard panel.\n\n +|cFFFFFF00-|r Plugin 'Vanguard': fixed a problem when clicking with right button wasn't opening the bookmark panel.\n\n +|cFFFFFF00-|r Plugin 'Vanguard': incoming heals now count shield amount on the player too.\n\n +|cFFFFFF00-|r Plugin 'Vanguard' Known Bug: incoming damage and melee vs avoidance seems to be inaccurate by now, we need more time to study and fix it.\n\n + +|cFFFFFF00-|r Added Twins Ogron's Charge as custom spells, one for the charge by him self and other for the copies (mythic only).\n\n + +|cFFFFFF00-|r Fixed few issues when using class text colors.\n\n +|cFFFFFF00-|r Fixed characters name outside instances, now it replaces the realm name with a * and show the complete name on tooltip.\n\n +|cFFFFFF00-|r Fixed damage mitigation on damage taken, this affects only specific classes like monk tank.\n\n +|cFFFFFF00-|r Fixed auto erase poping up when the player enters on its garrison.\n\n +|cFFFFFF00-|r Fixed combat on garrison training dummies which was being marked as Trash Segment.\n\n +|cFFFFFF00-|r Fixed command /details disable, wasn't disabling the capture of cooldowns.\n\n +|cFFFFFF00-|r Fixed a problem with fast dps/hps when the window is in a empty segment.\n\n +|cFFFFFF00-|r Fixed an issue using bookmark panel where it wasn't changing the display when the window is in a plugin mode.\n\n |cFFFFFF00-|r Fixed a bug when bars isn't using class colors on Frags, Auras & Void Zones, Resources and Deaths.\n\n |cFFFFFF00-|r Fixed bar animations when 'Sort Direction' is set to bottom.\n\n -|cFFFFFF00-|r Fixed combat on garrison training dummies which was being marked as Trash Segment.\n\n |cFFFFFF00-|r Fixed the spam 'you are not in a guild' when checking for new versions.\n\n |cFFFFFF00-|r Fixed translations for Auto Hide Settings bracket under options panel.\n\n |cFFFFFF00-|r Fixed Auto Hide -> Mouse Interaction tool where wans't able to work okey during combat.\n\n -|cFFFFFF00v3.6.14b (|cFFFFCC00Jan 01, 2015|r|cFFFFFF00)|r:\n\n -|cFFFFFF00-|r Added custom display 'My Spells' which shows your spells in the window.\n\n -|cFFFFFF00-|r Added new custom display: Health Potion & Stone.\n\n -|cFFFFFF00-|r Added overkill on death's tooltip.\n\n -|cFFFFFF00-|r Created custom spells for Twin Ogron's Pulverize. Now it has 3 spells one for each wave.\n\n -|cFFFFFF00-|r Created custom spells for Ko'ragh Overflowing Energy. Now it has 2 spells one for when the ball is catched and other when it reaches the ground and explodes.\n\n -|cFFFFFF00-|r Changed healing multistrike to use the same format as damage done.\n\n -|cFFFFFF00-|r Few improvements on Tiny Threat plugin: color gradient green-red is fixed, texts and bar texture now correctly uses the window settings.\n\n -|cFFFFFF00-|r Damage Taken by Spell won't show pets in its tooltip any more.\n\n -|cFFFFFF00-|r Enemies display won't show any more mirror images and spirit link totems.\n\n -|cFFFFFF00-|r Enemies's tooltip now only show players and show all players instead of only 6.\n\n -|cFFFFFF00-|r Few cooldowns shown as raid wide now shows as personal cooldowns.\n\n -|cFFFFFF00-|r Fixed dispell tagets on dispell's tooltip.\n\n -|cFFFFFF00-|r Fixed 'First Hit' raid tool.\n\n -|cFFFFFF00-|r Fixed 'Open Options Panel' from interface panel.\n\n - -|cFFFFFF00v3.6.7 (|cFFFFCC00Dec 24, 2014|r|cFFFFFF00)|r:\n\n -|cFFFFFF00-|r Added Fast Dps/Hps Updates, enable in on Rows: Advanced -> Fast Updates.\n\n -|cFFFFFF00-|r Added custom spell for Mirror Images Fireball and Frostbolt.\n\n -|cFFFFFF00-|r Added new skin: 'ElvUI Style II'.\n\n -|cFFFFFF00-|r Added Observer channel for Raid Tools, it only reports the cooldown/interrupt/death to you in your chat window.\n\n -|cFFFFFF00-|r Added new plugin: Raid Check: it tracks raid members checking food, flask and pre-potions usage.\n\n -|cFFFFFF00-|r Changed DPS display, now it shows onyl the player's Dps and the Dps difference between him and the top ranked.\n\n -|cFFFFFF00-|r Changed Overheal display, now its percentage shows the player's overheal percent.\n\n -|cFFFFFF00-|r Player Detail Window now shows the amount of multistrike on normal and critical hits.\n\n -|cFFFFFF00-|r Removed skin: 'ElvUI Frame Style BW'.\n\n -|cFFFFFF00-|r The tooltip for Scale option under options panel, now shows the real value for the scale.\n\n -|cFFFFFF00-|r Fixed a problem where multistrike was counting towards critical strike amount.\n\n -|cFFFFFF00-|r Fixed death display's report where it was't showing any death.\n\n -|cFFFFFF00-|r Fixed a small issue with Encounter Details plugin where sometimes gets a error right after a boss encounter.\n\n -|cFFFFFF00-|r Fixed bugs on sending messages to chat for Raid Tools.\n\n --]] - Loc ["STRING_VERSION_LOG"] = "|cFFFFFF00v3.6.15 (|cFFFFCC00Jan 03, 2015|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed a bug when bars isn't using class colors on Frags, Auras & Void Zones, Resources and Deaths.\n\n|cFFFFFF00-|r Fixed bar animations when 'Sort Direction' is set to bottom.\n\n|cFFFFFF00-|r Fixed combat on garrison training dummies which was being marked as Trash Segment.\n\n|cFFFFFF00-|r Fixed the spam 'you are not in a guild' when checking for new versions.\n\n|cFFFFFF00-|r Fixed translations for Auto Hide Settings bracket under options panel.\n\n|cFFFFFF00-|r Fixed Auto Hide -> Mouse Interaction tool where wans't able to work okey during combat.\n\n|cFFFFFF00v3.6.14b (|cFFFFCC00Jan 01, 2015|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Added custom display 'My Spells' which shows your spells in the window.\n\n|cFFFFFF00-|r Added new custom display: Health Potion & Stone.\n\n|cFFFFFF00-|r Added overkill on death's tooltip.\n\n|cFFFFFF00-|r Created custom spells for Twin Ogron's Pulverize. Now it has 3 spells one for each wave.\n\n|cFFFFFF00-|r Created custom spells for Ko'ragh Overflowing Energy. Now it has 2 spells one for when the ball is catched and other when it reaches the ground and explodes.\n\n|cFFFFFF00-|r Changed healing multistrike to use the same format as damage done.\n\n|cFFFFFF00-|r Few improvements on Tiny Threat plugin: color gradient green-red is fixed, texts and bar texture now correctly uses the window settings.\n\n|cFFFFFF00-|r Damage Taken by Spell won't show pets in its tooltip any more.\n\n|cFFFFFF00-|r Enemies display won't show any more mirror images and spirit link totems.\n\n|cFFFFFF00-|r Enemies's tooltip now only show players and show all players instead of only 6.\n\n|cFFFFFF00-|r Few cooldowns shown as raid wide now shows as personal cooldowns.\n\n|cFFFFFF00-|r Fixed dispell tagets on dispell's tooltip.\n\n|cFFFFFF00-|r Fixed 'First Hit' raid tool.\n\n|cFFFFFF00-|r Fixed 'Open Options Panel' from interface panel.\n\n|cFFFFFF00v3.6.8 (|cFFFFCC00Dec 24, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Added Fast (i mean, really fast) Dps/Hps update rate, its option is under Rows: Advanced -> Fast Updates.\n\n|cFFFFFF00-|r Created a custom spell for Mirror Image's Fireball and Frostbolt, with that Player Detail window distinguishes spells from the player and images.\n\n|cFFFFFF00-|r Added new skin: 'ElvUI Style II'.\n\n|cFFFFFF00-|r Added Observer mode for Raid Tools: report cooldown/interrupt/death of entire raid only to you in your chat window.\n\n|cFFFFFF00-|r Added new plugin 'Raid Check': tracks raid members checking food, flask and pre-potions usage.\n\n|cFFFFFF00-|r Changed DPS display, now it shows onyl the player's Dps and the Dps difference between him and the top ranked.\n\n|cFFFFFF00-|r Changed Overheal display, now its percentage shows the player's overheal percent.\n\n|cFFFFFF00-|r Player Detail Window now shows the amount of multistrike on normal and critical hits.\n\n|cFFFFFF00-|r Removed skin: 'ElvUI Frame Style BW'.\n\n|cFFFFFF00-|r The tooltip for Scale option under options panel, now shows the real value for the scale.\n\n|cFFFFFF00-|r Fixed Imperator Mar'gok's adds damage taken.\n\n|cFFFFFF00-|r Fixed a problem where multistrike was counting towards critical strike amount.\n\n|cFFFFFF00-|r Fixed death display's report where it was't showing any death.\n\n|cFFFFFF00-|r Fixed a small issue with Encounter Details plugin where sometimes gets a error right after a boss encounter.\n\n|cFFFFFF00-|r Fixed bugs on sending messages to chat for Raid Tools.\n\n\n\n|cFFFFFF00v3.5.1 (|cFFFFCC00Dec 16, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed few accuracy on miss spells.\n\n|cFFFFFF00v3.5.0 (|cFFFFCC00Dec 14, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed tooltip for Auras and Voidzones, now shows sorted by damage and time.\n\n|cFFFFFF00-|r More fixes for Korgath encounter on Highmaul.\n\n|cFFFFFF00-|r Added slash commands: 'reset' 'config'.\n\n|cFFFFFF00-|r Spell bars on Player Details Window now is painted with the spell spellschool color.\n\n|cFFFFFF00-|r Multistrike doesn't count any more for spell's Minimal Damage.\n\n|cFFFFFF00-|r Resource display got an tooltip which shows what resource is and resource gained per minute.\n\n|cFFFFFF00-|r Clicking on report button when the report window is already open, make it close.\n\n|cFFFFFF00v3.4.7 (|cFFFFCC00Dec 11, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Advanced Death Logs plugin got updates on Endurance Player Value and few bug fixes.\n\n|cFFFFFF00-|r Max Window Amount options can new be set to 1, before the minimum was 3.\n\n|cFFFFFF00-|r Fixed a problem with friendly fire tooltip where sometimes it wasn't showing up.\n\n|cFFFFFF00-|r Fixed cooldowns tooltip which wasn't showing rounded numbers (49.99 instead of 50).\n\n|cFFFFFF00-|r Fixed Warrior's Shield Block which wasn't being count as a cooldown.\n\n|cFFFFFF00-|r Fixed a problem where sometimes when a hunter pull and reset the boss right after, was causing segments to merge.\n\n|cFFFFFF00v3.4.4 (|cFFFFCC00Dec 05, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed a issue with Ko'Ragh boss on Highmaul raid.\n\n|cFFFFFF00-|r Few changes on Bookmark panel.\n\n|cFFFFFF00v3.4.3 (|cFFFFCC00Dec 02, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Removed 'Simple Gray' skin.\n\n|cFFFFFF00-|r Addde new skin: 'Forced Square'.\n\n|cFFFFFF00-|r 'Default Skin' got renamed to 'WoW Interface'.\n\n|cFFFFFF00v3.4.2 (|cFFFFCC00Dec 01, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed a bug with menu desaturation where erase and close buttons stay colored after clicking on it.\n\n|cFFFFFF00-|r Fixed stretch where sometimes after release the window, all exceeded bars shows up and fade in again.\n\n|cFFFFFF00-|r Fixed a bug with the +- buttons on the window's scale option.\n\n|cFFFFFF00-|r Fixed the border for sub menus on mode menu.\n\n|cFFFFFF00v3.4.0 (|cFFFFCC00Nov 29, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed custom displays ignoring 'target' setted.\n\n|cFFFFFF00-|r Fixed plugins showing its icon even when auto hide menus is enabled.\n\n|cFFFFFF00-|r .Updates slash command 'worldboss' now it shows Draenor bosses.\n\n|cFFFFFF00v3.3.0 (|cFFFFCC00Nov 25, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Added 3D models for the bars in the window. The options are at Appearance -> Rows: Advanced.\n\n|cFFFFFF00-|r Now when showing custom displays, clicking on a bar report what is shown on bar's tooltip.\n\n|cFFFFFF00-|r More fixes for dungeon bosses identification.\n\n|cFFFFFF00-|r Fixed a tooltip bug with Debuff Uptime and Aura & Voidzone displays.\n\n|cFFFFFF00-|r Fixed Player Details Window for friendly fire and damage taken.\n\n|cFFFFFF00-|r Fixed Molten Core Raid Finder version where all bosses was considered trash segments.\n\n|cFFFFFF00v3.2.4 (|cFFFFCC00Nov 19, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r More fixes for dungeon bosses recognition." + Loc ["STRING_VERSION_LOG"] = "|cFFFFFF00v3.7.0 (|cFFFFCC00Jan 06, 2015|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Plugin '|cFFFFFF00Damage Rank|r': is now called 'Damage, the Game!' and was its levels adjusted to WoD.\n\n|cFFFFFF00-|r Plugin '|cFFFFFF00Tiny Threat|r': fixed player name where it was showing the realm name too.\n\n|cFFFFFF00-|r Plugin '|cFFFFFF00Vanguard|r': fixed frame details (clicking on a bar) shown behind the Vanguard panel.\n\n|cFFFFFF00-|r Plugin '|cFFFFFF00Vanguard|r': fixed a problem when clicking with right button wasn't opening the bookmark panel.\n\n|cFFFFFF00-|r Plugin '|cFFFFFF00Vanguard|r': incoming heals now count shield amount on the player too.\n\n|cFFFFFF00-|r Plugin '|cFFFFFF00Vanguard|r' Known Bug: incoming damage and melee vs avoidance seems to be inaccurate by now, we need more time to study and fix it.\n\n|cFFFFFF00-|r Added Twins Ogron's Charge as custom spells, one for the charge by him self and other for the copies (mythic only).\n\n|cFFFFFF00-|r Fixed few issues when using class text colors.\n\n|cFFFFFF00-|r Fixed characters name outside instances, now it replaces the realm name with a * and show the complete name on tooltip.\n\n|cFFFFFF00-|r Fixed damage mitigation on damage taken, this affects only specific classes like monk tank.\n\n|cFFFFFF00-|r Fixed auto erase poping up when the player enters on its garrison.\n\n|cFFFFFF00-|r Fixed combat on garrison training dummies which was being marked as Trash Segment.\n\n|cFFFFFF00-|r Fixed command /details disable, wasn't disabling the capture of cooldowns.\n\n|cFFFFFF00-|r Fixed a problem with fast dps/hps when the window is in a empty segment.\n\n|cFFFFFF00-|r Fixed an issue using bookmark panel where it wasn't changing the display when the window is in a plugin mode.\n\n|cFFFFFF00-|r Fixed a bug when bars isn't using class colors on Frags, Auras & Void Zones, Resources and Deaths.\n\n|cFFFFFF00-|r Fixed bar animations when 'Sort Direction' is set to bottom.\n\n|cFFFFFF00-|r Fixed the spam 'you are not in a guild' when checking for new versions.\n\n|cFFFFFF00-|r Fixed translations for Auto Hide Settings bracket under options panel.\n\n|cFFFFFF00-|r Fixed Auto Hide -> Mouse Interaction tool where wans't able to work okey during combat.\n\n|cFFFFFF00v3.6.15 (|cFFFFCC00Jan 03, 2015|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed a bug when bars isn't using class colors on Frags, Auras & Void Zones, Resources and Deaths.\n\n|cFFFFFF00-|r Fixed bar animations when 'Sort Direction' is set to bottom.\n\n|cFFFFFF00-|r Fixed combat on garrison training dummies which was being marked as Trash Segment.\n\n|cFFFFFF00-|r Fixed the spam 'you are not in a guild' when checking for new versions.\n\n|cFFFFFF00-|r Fixed translations for Auto Hide Settings bracket under options panel.\n\n|cFFFFFF00-|r Fixed Auto Hide -> Mouse Interaction tool where wans't able to work okey during combat.\n\n|cFFFFFF00v3.6.14b (|cFFFFCC00Jan 01, 2015|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Added custom display 'My Spells' which shows your spells in the window.\n\n|cFFFFFF00-|r Added new custom display: Health Potion & Stone.\n\n|cFFFFFF00-|r Added overkill on death's tooltip.\n\n|cFFFFFF00-|r Created custom spells for Twin Ogron's Pulverize. Now it has 3 spells one for each wave.\n\n|cFFFFFF00-|r Created custom spells for Ko'ragh Overflowing Energy. Now it has 2 spells one for when the ball is catched and other when it reaches the ground and explodes.\n\n|cFFFFFF00-|r Changed healing multistrike to use the same format as damage done.\n\n|cFFFFFF00-|r Few improvements on Tiny Threat plugin: color gradient green-red is fixed, texts and bar texture now correctly uses the window settings.\n\n|cFFFFFF00-|r Damage Taken by Spell won't show pets in its tooltip any more.\n\n|cFFFFFF00-|r Enemies display won't show any more mirror images and spirit link totems.\n\n|cFFFFFF00-|r Enemies's tooltip now only show players and show all players instead of only 6.\n\n|cFFFFFF00-|r Few cooldowns shown as raid wide now shows as personal cooldowns.\n\n|cFFFFFF00-|r Fixed dispell tagets on dispell's tooltip.\n\n|cFFFFFF00-|r Fixed 'First Hit' raid tool.\n\n|cFFFFFF00-|r Fixed 'Open Options Panel' from interface panel.\n\n|cFFFFFF00v3.6.8 (|cFFFFCC00Dec 24, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Added Fast (i mean, really fast) Dps/Hps update rate, its option is under Rows: Advanced -> Fast Updates.\n\n|cFFFFFF00-|r Created a custom spell for Mirror Image's Fireball and Frostbolt, with that Player Detail window distinguishes spells from the player and images.\n\n|cFFFFFF00-|r Added new skin: 'ElvUI Style II'.\n\n|cFFFFFF00-|r Added Observer mode for Raid Tools: report cooldown/interrupt/death of entire raid only to you in your chat window.\n\n|cFFFFFF00-|r Added new plugin 'Raid Check': tracks raid members checking food, flask and pre-potions usage.\n\n|cFFFFFF00-|r Changed DPS display, now it shows onyl the player's Dps and the Dps difference between him and the top ranked.\n\n|cFFFFFF00-|r Changed Overheal display, now its percentage shows the player's overheal percent.\n\n|cFFFFFF00-|r Player Detail Window now shows the amount of multistrike on normal and critical hits.\n\n|cFFFFFF00-|r Removed skin: 'ElvUI Frame Style BW'.\n\n|cFFFFFF00-|r The tooltip for Scale option under options panel, now shows the real value for the scale.\n\n|cFFFFFF00-|r Fixed Imperator Mar'gok's adds damage taken.\n\n|cFFFFFF00-|r Fixed a problem where multistrike was counting towards critical strike amount.\n\n|cFFFFFF00-|r Fixed death display's report where it was't showing any death.\n\n|cFFFFFF00-|r Fixed a small issue with Encounter Details plugin where sometimes gets a error right after a boss encounter.\n\n|cFFFFFF00-|r Fixed bugs on sending messages to chat for Raid Tools.\n\n\n\n|cFFFFFF00v3.5.1 (|cFFFFCC00Dec 16, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed few accuracy on miss spells.\n\n|cFFFFFF00v3.5.0 (|cFFFFCC00Dec 14, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed tooltip for Auras and Voidzones, now shows sorted by damage and time.\n\n|cFFFFFF00-|r More fixes for Korgath encounter on Highmaul.\n\n|cFFFFFF00-|r Added slash commands: 'reset' 'config'.\n\n|cFFFFFF00-|r Spell bars on Player Details Window now is painted with the spell spellschool color.\n\n|cFFFFFF00-|r Multistrike doesn't count any more for spell's Minimal Damage.\n\n|cFFFFFF00-|r Resource display got an tooltip which shows what resource is and resource gained per minute.\n\n|cFFFFFF00-|r Clicking on report button when the report window is already open, make it close.\n\n|cFFFFFF00v3.4.7 (|cFFFFCC00Dec 11, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Advanced Death Logs plugin got updates on Endurance Player Value and few bug fixes.\n\n|cFFFFFF00-|r Max Window Amount options can new be set to 1, before the minimum was 3.\n\n|cFFFFFF00-|r Fixed a problem with friendly fire tooltip where sometimes it wasn't showing up.\n\n|cFFFFFF00-|r Fixed cooldowns tooltip which wasn't showing rounded numbers (49.99 instead of 50).\n\n|cFFFFFF00-|r Fixed Warrior's Shield Block which wasn't being count as a cooldown.\n\n|cFFFFFF00-|r Fixed a problem where sometimes when a hunter pull and reset the boss right after, was causing segments to merge.\n\n|cFFFFFF00v3.4.4 (|cFFFFCC00Dec 05, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed a issue with Ko'Ragh boss on Highmaul raid.\n\n|cFFFFFF00-|r Few changes on Bookmark panel.\n\n|cFFFFFF00v3.4.3 (|cFFFFCC00Dec 02, 2014|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Removed 'Simple Gray' skin.\n\n|cFFFFFF00-|r Addde new skin: 'Forced Square'.\n\n|cFFFFFF00-|r 'Default Skin' got renamed to 'WoW Interface'." Loc ["STRING_DETAILS1"] = "|cffffaeaeDetails!:|r " diff --git a/classes/classe_damage.lua b/classes/classe_damage.lua index 954abe16..d6f9a93b 100644 --- a/classes/classe_damage.lua +++ b/classes/classe_damage.lua @@ -156,7 +156,7 @@ local ignored_enemy_npcs = { [31216] = true, --mirror image [53006] = true, --spirit link totem - [2] = true, + [63508] = true, --xuen } -- Night-Twisted Brute - Creature-0-3024-1228-19402-85241-00001E2097 @@ -520,6 +520,9 @@ esta_barra.texto_esquerdo:SetText (colocacao .. ". " .. tabela [1]) esta_barra.texto_direita:SetText (tabela [2] .. " (" .. porcentagem .. "%)") + esta_barra.texto_esquerdo:SetTextColor (1, 1, 1, 1) + esta_barra.texto_direita:SetTextColor (1, 1, 1, 1) + esta_barra.texto_esquerdo:SetSize (esta_barra:GetWidth() - esta_barra.texto_direita:GetStringWidth() - 20, 15) if (colocacao == 1) then @@ -708,7 +711,6 @@ local total = instancia.showing.totals.voidzone_damage - local combat_time = instancia.showing:GetCombatTime() local dps = _math_floor (self.damage / combat_time) @@ -732,6 +734,9 @@ esta_barra.texto_esquerdo:SetText (colocacao .. ". " .. self.nome) esta_barra.texto_esquerdo:SetSize (esta_barra:GetWidth() - esta_barra.texto_direita:GetStringWidth() - 20, 15) + esta_barra.texto_esquerdo:SetTextColor (1, 1, 1, 1) + esta_barra.texto_direita:SetTextColor (1, 1, 1, 1) + esta_barra:SetValue (100) if (esta_barra.hidden or esta_barra.fading_in or esta_barra.faded) then diff --git a/classes/classe_others.lua b/classes/classe_others.lua index 7cdb1b5e..81a98056 100644 --- a/classes/classe_others.lua +++ b/classes/classe_others.lua @@ -479,6 +479,13 @@ function atributo_misc:DeadAtualizarBarra (morte, qual_barra, colocacao, instanc if (instancia.row_info.texture_background_class_color) then esta_barra.background:SetVertexColor (_unpack (_detalhes.class_colors [morte[4]])) end + + if (instancia.row_info.textL_class_colors) then + esta_barra.texto_esquerdo:SetTextColor (_unpack (_detalhes.class_colors [morte[4]])) + end + if (instancia.row_info.textR_class_colors) then + esta_barra.texto_direita:SetTextColor (_unpack (_detalhes.class_colors [morte[4]])) + end esta_barra.icone_classe:SetTexture (instancia.row_info.icon_file) esta_barra.icone_classe:SetTexCoord (_unpack (CLASS_ICON_TCOORDS [morte[4]])) diff --git a/classes/container_combatentes.lua b/classes/container_combatentes.lua index 47a2a140..239171a0 100644 --- a/classes/container_combatentes.lua +++ b/classes/container_combatentes.lua @@ -150,8 +150,13 @@ novo_objeto.displayName = _detalhes:GetNickname (serial, false, true) --> serial, default, silent if (not novo_objeto.displayName) then + if (_IsInInstance() and _detalhes.remove_realm_from_name) then novo_objeto.displayName = nome:gsub (("%-.*"), "") + + elseif (_detalhes.remove_realm_from_name) then + novo_objeto.displayName = nome:gsub (("%-.*"), "%*") + else novo_objeto.displayName = nome end diff --git a/core/control.lua b/core/control.lua index 535e2649..8ec8f224 100644 --- a/core/control.lua +++ b/core/control.lua @@ -53,7 +53,9 @@ function _detalhes:FindEnemy() local ZoneName, InstanceType, DifficultyID, _, _, _, _, ZoneMapID = _GetInstanceInfo() - if (InstanceType == "party" or InstanceType == "raid") then + local in_instance = IsInInstance() --> garrison returns party as instance type. + + if ((InstanceType == "party" or InstanceType == "raid") and in_instance) then return Loc ["STRING_SEGMENT_TRASH"] end @@ -1045,14 +1047,20 @@ if (t) then - if (esta_barra.minha_tabela.serial and esta_barra.minha_tabela.serial ~= "") then - local avatar = NickTag:GetNicknameTable (esta_barra.minha_tabela.serial, true) + if (objeto.serial and objeto.serial ~= "") then + local avatar = NickTag:GetNicknameTable (objeto.serial, true) if (avatar) then if (avatar [2] and avatar [4] and avatar [1]) then GameCooltip:SetBannerImage (1, avatar [2], 80, 40, avatarPoint, avatarTexCoord, nil) --> overlay [2] avatar path GameCooltip:SetBannerImage (2, avatar [4], 200, 55, backgroundPoint, avatar [5], avatar [6]) --> background GameCooltip:SetBannerText (1, avatar [1], textPoint) --> text [1] nickname end + else + if (_detalhes.remove_realm_from_name and objeto.displayName:find ("%*")) then + GameCooltip:SetBannerImage (1, [[Interface\AddOns\Details\images\background]], 20, 30, avatarPoint, avatarTexCoord, {0, 0, 0, 0}) --> overlay [2] avatar path + GameCooltip:SetBannerImage (2, [[Interface\PetBattles\Weather-BurntEarth]], 160, 30, {{"bottomleft", "topleft", 0, -5}, {"bottomright", "topright", 0, -5}}, {0.12, 0.88, 1, 0}, {0, 0, 0, 0.1}) --> overlay [2] avatar path {0, 0, 0, 0} + GameCooltip:SetBannerText (1, objeto.nome, {"left", "left", 11, -8}, {1, 1, 1, 0.7}, 10, SharedMedia:Fetch ("font", _detalhes.tooltip.fontface)) --> text [1] nickname + end end end diff --git a/core/meta.lua b/core/meta.lua index 3063eb01..e311443e 100644 --- a/core/meta.lua +++ b/core/meta.lua @@ -83,6 +83,8 @@ --combate_overall.end_time = _tempo combate_overall.end_time = GetTime() + local is_in_instance = select (1, IsInInstance()) + --> inicia a recuperação das tabelas e montagem do overall if (#tabelas_do_historico > 0) then for index, combate in _ipairs (tabelas_do_historico) do @@ -110,7 +112,14 @@ for _, esta_classe in _ipairs (atributo) do local nome = esta_classe.nome - esta_classe.displayName = nome:gsub (("%-.*"), "") + + if (is_in_instance and _detalhes.remove_realm_from_name) then + esta_classe.displayName = nome:gsub (("%-.*"), "") + elseif (_detalhes.remove_realm_from_name) then + esta_classe.displayName = nome:gsub (("%-.*"), "%*") + else + esta_classe.displayName = nome + end local shadow diff --git a/core/parser.lua b/core/parser.lua index c32a4742..a6d743eb 100644 --- a/core/parser.lua +++ b/core/parser.lua @@ -161,6 +161,7 @@ who_name = "[*] "..spellname end + local real_damage = amount or 0 if (absorbed) then amount = absorbed + (amount or 0) end @@ -304,7 +305,7 @@ this_event [1] = true --> true if this is a damage || false for healing this_event [2] = spellid --> spellid || false if this is a battle ress line - this_event [3] = amount --> amount of damage or healing + this_event [3] = real_damage --> amount of damage or healing this_event [4] = time --> parser time this_event [5] = _UnitHealth (alvo_name) --> current unit heal this_event [6] = who_name --> source name @@ -373,7 +374,7 @@ --> damage taken --> target - jogador_alvo.damage_taken = jogador_alvo.damage_taken + amount --> adiciona o dano tomado + jogador_alvo.damage_taken = jogador_alvo.damage_taken + real_damage --> adiciona o dano tomado if (not jogador_alvo.damage_from [who_name]) then --> adiciona a pool de dano tomado de quem jogador_alvo.damage_from [who_name] = true end @@ -418,8 +419,10 @@ --> firendly fire if ( - (_bit_band (alvo_flags, REACTION_FRIENDLY) ~= 0 and _bit_band (who_flags, REACTION_FRIENDLY) ~= 0) or - (raid_members_cache [who_serial] and raid_members_cache [alvo_serial]) + --( + (_bit_band (alvo_flags, REACTION_FRIENDLY) ~= 0 and _bit_band (who_flags, REACTION_FRIENDLY) ~= 0) or --ajdt d' brx + (raid_members_cache [who_serial] and raid_members_cache [alvo_serial]) --amrl + --) and who_name ~= alvo_name ) then --> record death log @@ -435,7 +438,7 @@ this_event [1] = true --> true if this is a damage || false for healing this_event [2] = spellid --> spellid || false if this is a battle ress line - this_event [3] = amount --> amount of damage or healing + this_event [3] = real_damage --> amount of damage or healing this_event [4] = time --> parser time this_event [5] = _UnitHealth (alvo_name) --> current unit heal this_event [6] = who_name --> source name @@ -2532,8 +2535,7 @@ _detalhes:EnteredInArena() else - - if (zoneType == "raid" or zoneType == "party") then + if ((zoneType == "raid" or zoneType == "party") and select (1, IsInInstance())) then _detalhes:CheckForAutoErase (zoneMapID) end @@ -2996,6 +2998,9 @@ local funcao = token_list [token] if (funcao) then + --if (token ~= "SPELL_AURA_REFRESH" and token ~= "SPELL_AURA_REMOVED" and token ~= "SPELL_AURA_APPLIED") then + -- print ("running func:", token) + --end return funcao (nil, token, time, who_serial, who_name, who_flags, alvo_serial, alvo_name, alvo_flags, ... ) else return diff --git a/functions/slash.lua b/functions/slash.lua index 627a71e2..c335b891 100644 --- a/functions/slash.lua +++ b/functions/slash.lua @@ -39,6 +39,8 @@ function SlashCmdList.DETAILS (msg, editbox) _detalhes:CaptureSet (false, "energy", true) _detalhes:CaptureSet (false, "miscdata", true) _detalhes:CaptureSet (false, "aura", true) + _detalhes:CaptureSet (false, "spellcast", true) + print (Loc ["STRING_DETAILS1"] .. Loc ["STRING_SLASH_CAPTUREOFF"]) elseif (command == Loc ["STRING_SLASH_ENABLE"] or command == "enable") then @@ -48,6 +50,8 @@ function SlashCmdList.DETAILS (msg, editbox) _detalhes:CaptureSet (true, "energy", true) _detalhes:CaptureSet (true, "miscdata", true) _detalhes:CaptureSet (true, "aura", true) + _detalhes:CaptureSet (true, "spellcast", true) + print (Loc ["STRING_DETAILS1"] .. Loc ["STRING_SLASH_CAPTUREON"]) elseif (command == Loc ["STRING_SLASH_OPTIONS"] or command == "options" or command == "config") then diff --git a/functions/spellcache.lua b/functions/spellcache.lua index f7137f9b..826cfc86 100644 --- a/functions/spellcache.lua +++ b/functions/spellcache.lua @@ -72,6 +72,9 @@ do [158417] = {name = GetSpellInfo (158417) .. " (" .. Loc ["STRING_WAVE"] .. " #2)"}, --> Twins Ogron Pulverize waves. [158420] = {name = GetSpellInfo (158420) .. " (" .. Loc ["STRING_WAVE"] .. " #3)"}, --> Twins Ogron Pulverize waves. + [158159] = {name = GetSpellInfo (158159) .. ""}, --> Twins Ogron Charge. + [177608] = {name = GetSpellInfo (177608) .. " (copies)"}, --> Twins Ogron Charge. + [59638] = {name = GetSpellInfo (59638) .. " (" .. Loc ["STRING_MIRROR_IMAGE"] .. ")"}, --> Mirror Image's Frost Bolt (mage) [88082] = {name = GetSpellInfo (88082) .. " (" .. Loc ["STRING_MIRROR_IMAGE"] .. ")"}, --> Mirror Image's Fireball (mage) diff --git a/gumps/janela_options.lua b/gumps/janela_options.lua index b08919b7..cf5d8f1b 100644 --- a/gumps/janela_options.lua +++ b/gumps/janela_options.lua @@ -3981,6 +3981,9 @@ function window:CreateFrame2() frame2.damageCaptureSlider:SetPoint ("left", frame2.damageCaptureLabel, "right", 2) frame2.damageCaptureSlider.OnSwitch = function (self, _, value) _detalhes:CaptureSet (value, "damage", true) + if (value) then + _detalhes:CaptureSet (true, "spellcast", true) + end switch_icon_color (frame2.damageCaptureImage, value) end switch_icon_color (frame2.damageCaptureImage, _detalhes.capture_real ["damage"]) @@ -3991,6 +3994,9 @@ function window:CreateFrame2() frame2.healCaptureSlider:SetPoint ("left", frame2.healCaptureLabel, "right", 2) frame2.healCaptureSlider.OnSwitch = function (self, _, value) _detalhes:CaptureSet (value, "heal", true) + if (value) then + _detalhes:CaptureSet (true, "spellcast", true) + end switch_icon_color (frame2.healCaptureImage, value) end switch_icon_color (frame2.healCaptureImage, _detalhes.capture_real ["heal"]) @@ -4002,6 +4008,9 @@ function window:CreateFrame2() frame2.energyCaptureSlider.OnSwitch = function (self, _, value) _detalhes:CaptureSet (value, "energy", true) + if (value) then + _detalhes:CaptureSet (true, "spellcast", true) + end switch_icon_color (frame2.energyCaptureImage, value) end switch_icon_color (frame2.energyCaptureImage, _detalhes.capture_real ["energy"]) @@ -4012,6 +4021,9 @@ function window:CreateFrame2() frame2.miscCaptureSlider:SetPoint ("left", frame2.miscCaptureLabel, "right", 2) frame2.miscCaptureSlider.OnSwitch = function (self, _, value) _detalhes:CaptureSet (value, "miscdata", true) + if (value) then + _detalhes:CaptureSet (true, "spellcast", true) + end switch_icon_color (frame2.miscCaptureImage, value) end switch_icon_color (frame2.miscCaptureImage, _detalhes.capture_real ["miscdata"]) @@ -4022,6 +4034,9 @@ function window:CreateFrame2() frame2.auraCaptureSlider:SetPoint ("left", frame2.auraCaptureLabel, "right", 2) frame2.auraCaptureSlider.OnSwitch = function (self, _, value) _detalhes:CaptureSet (value, "aura", true) + if (value) then + _detalhes:CaptureSet (true, "spellcast", true) + end switch_icon_color (frame2.auraCaptureImage, value) end switch_icon_color (frame2.auraCaptureImage, _detalhes.capture_real ["aura"]) diff --git a/gumps/janela_principal.lua b/gumps/janela_principal.lua index 1e9cd237..28e08370 100644 --- a/gumps/janela_principal.lua +++ b/gumps/janela_principal.lua @@ -2303,7 +2303,7 @@ local function iterate_scroll_scripts (backgrounddisplay, backgroundframe, basef end elseif (delta < 0) then --> rolou pra baixo local B = instancia.barraS[2] - if (B < instancia.rows_showing) then + if (B < (instancia.rows_showing or 0)) then scrollbar:SetValue (scrollbar:GetValue() + instancia.row_height * _detalhes.scroll_speed) else local _, maxValue = scrollbar:GetMinMaxValues() @@ -2332,13 +2332,13 @@ local function iterate_scroll_scripts (backgrounddisplay, backgroundframe, basef baseframe.button_up:Disable() return elseif (maxValue == meu_valor) then - local min = instancia.rows_showing -instancia.rows_fit_in_window + local min = (instancia.rows_showing or 0) -instancia.rows_fit_in_window min = min+1 if (min < 1) then min = 1 end instancia.barraS[1] = min - instancia.barraS[2] = instancia.rows_showing + instancia.barraS[2] = (instancia.rows_showing or 0) instancia:AtualizaGumpPrincipal (instancia, true) self.ultimo = meu_valor baseframe.button_down:Disable() @@ -2355,16 +2355,16 @@ local function iterate_scroll_scripts (backgrounddisplay, backgroundframe, basef if (meu_valor > ultimo) then --> scroll down local B = instancia.barraS[2] - if (B < instancia.rows_showing) then --> se o valor maximo não for o máximo de barras a serem mostradas + if (B < (instancia.rows_showing or 0)) then --> se o valor maximo não for o máximo de barras a serem mostradas local precisa_passar = ((B+1) * instancia.row_height) - (instancia.row_height*instancia.rows_fit_in_window) --if (meu_valor > precisa_passar) then --> o valor atual passou o valor que precisa passar pra locomover if (true) then --> testing by pass row check local diff = meu_valor - ultimo --> pega a diferença de H diff = diff / instancia.row_height --> calcula quantas barras ele pulou diff = _math_ceil (diff) --> arredonda para cima - if (instancia.barraS[2]+diff > instancia.rows_showing and ultimo > 0) then - instancia.barraS[1] = instancia.rows_showing - (instancia.rows_fit_in_window-1) - instancia.barraS[2] = instancia.rows_showing + if (instancia.barraS[2]+diff > (instancia.rows_showing or 0) and ultimo > 0) then + instancia.barraS[1] = (instancia.rows_showing or 0) - (instancia.rows_fit_in_window-1) + instancia.barraS[2] = (instancia.rows_showing or 0) else instancia.barraS[2] = instancia.barraS[2]+diff instancia.barraS[1] = instancia.barraS[1]+diff @@ -3555,6 +3555,11 @@ end --> on update function local fast_ps_func = function (self) local instance = self.instance + + if (not instance.showing) then + return + end + local combat_time = instance.showing:GetCombatTime() local ps_type = _detalhes.ps_abbreviation diff --git a/gumps/switch.lua b/gumps/switch.lua index 60002735..dc81ab3c 100644 --- a/gumps/switch.lua +++ b/gumps/switch.lua @@ -218,12 +218,13 @@ function _detalhes:FastSwitch (_this) GameCooltip:ShowCooltip() else --> botão esquerdo + if (_detalhes.switch.current_instancia.modo == _detalhes._detalhes_props["MODO_ALONE"]) then - _detalhes.switch.current_instancia:AlteraModo (_detalhes.switch.current_instancia, _detalhes.switch.current_instancia.LastModo) + _detalhes.switch.current_instancia:AlteraModo (_detalhes.switch.current_instancia, 2) elseif (_detalhes.switch.current_instancia.modo == _detalhes._detalhes_props["MODO_RAID"]) then - _detalhes.switch.current_instancia:AlteraModo (_detalhes.switch.current_instancia, _detalhes.switch.current_instancia.LastModo) - + _detalhes.switch.current_instancia:AlteraModo (_detalhes.switch.current_instancia, 2) + end _detalhes.switch.current_instancia:TrocaTabela (_detalhes.switch.current_instancia, true, _this.atributo, _this.sub_atributo) diff --git a/plugins/Details_DmgRank/Details_DmgRank.lua b/plugins/Details_DmgRank/Details_DmgRank.lua index 19420a6f..f48cb836 100644 --- a/plugins/Details_DmgRank/Details_DmgRank.lua +++ b/plugins/Details_DmgRank/Details_DmgRank.lua @@ -27,7 +27,7 @@ local function CreatePluginFrames (data) --local --> default rank table - DmgRank.rank = data or {level = 1, dps = 0, dpshistory = {}, lasttry = {}, annouce = true} + DmgRank.rank = DmgRank.db --DmgRank.rank.level = 20 --> OnEvent Table @@ -44,7 +44,6 @@ local function CreatePluginFrames (data) elseif (event == "COMBAT_PLAYER_TIMESTARTED") then --> combat started --print ("recebeu event start") local combat = select (1, ...) - --print (combat) DmgRank:Start() elseif (event == "PLUGIN_DISABLED") then @@ -63,34 +62,34 @@ local function CreatePluginFrames (data) DmgRank.TimeGoal = { --> The 30 seconds Trial - {time = 30, damage = 1500000, name = Loc ["CHALLENGENAME_1"]}, -- Ready to Raid -- rank 2 --> -- Patrulha --> 50K DPS required - {time = 30, damage = 1800000, name = Loc ["CHALLENGENAME_2"]}, -- Damage Practice --rank 3 --> -- Soldier --> 60K DPS required - {time = 30, damage = 2100000, name = Loc ["CHALLENGENAME_3"]}, -- The Training Continue... -- rank 4 --> -- Corporal --> 70K DPS required + {time = 30, damage = 350000, name = Loc ["CHALLENGENAME_1"]}, -- Ready to Raid -- rank 2 --> -- Patrulha --> ~11K DPS required + {time = 30, damage = 420000, name = Loc ["CHALLENGENAME_2"]}, -- Damage Practice --rank 3 --> -- Soldier --> ~14K DPS required + {time = 30, damage = 500000, name = Loc ["CHALLENGENAME_3"]}, -- The Training Continue... -- rank 4 --> -- Corporal --> ~16K DPS required --> 90 seconds bracket - {time = 90, damage = 5080000, name = Loc ["CHALLENGENAME_4"]}, -- You Just Need a Little More Time -- rank 5 --> -- Sergeant --> 56K DPS required - {time = 90, damage = 5814800, name = Loc ["CHALLENGENAME_5"]}, -- Became a Knight -- rank 6 --> -- Sergeant --> 64K DPS required + {time = 90, damage = 1601010, name = Loc ["CHALLENGENAME_4"]}, -- You Just Need a Little More Time -- rank 5 --> -- Sergeant --> ~17K DPS required + {time = 90, damage = 1666660, name = Loc ["CHALLENGENAME_5"]}, -- Became a Knight -- rank 6 --> -- Sergeant --> ~18K DPS required --> middle bracket - {time = 120, damage = 7901760, name = Loc ["CHALLENGENAME_6"]}, -- Two Minutes -- rank 7 --> Iron Knight --> 65K DPS required - {time = 120, damage = 8442112, name = Loc ["CHALLENGENAME_7"]}, --rank 8 --> Steel Knight --> 70K DPS required - {time = 180, damage = 13452000, name = Loc ["CHALLENGENAME_8"]}, --rank 9 --> --> The High Knight --> 74K DPS required - {time = 180, damage = 14152100, name = Loc ["CHALLENGENAME_9"]}, --rank 10 --> Yes Sir! -- Thorium Knight --> 78K DPS required - {time = 180, damage = 15052100, name = Loc ["CHALLENGENAME_10"]}, --rank 11 --> Salute -- Silver Lieutenant --> 83K DPS required + {time = 120, damage = 2254120, name = Loc ["CHALLENGENAME_6"]}, -- Two Minutes -- rank 7 --> Iron Knight --> ~18K DPS required + {time = 120, damage = 2409500, name = Loc ["CHALLENGENAME_7"]}, --rank 8 --> Steel Knight --> ~20K DPS required + {time = 180, damage = 3390000, name = Loc ["CHALLENGENAME_8"]}, --rank 9 --> --> The High Knight --> ~18K DPS required + {time = 180, damage = 3499000, name = Loc ["CHALLENGENAME_9"]}, --rank 10 --> Yes Sir! -- Thorium Knight --> ~19K DPS required + {time = 180, damage = 3784051, name = Loc ["CHALLENGENAME_10"]}, --rank 11 --> Salute -- Silver Lieutenant --> ~21K DPS required --> burst bracket - {time = 40, damage = 5000000, name = Loc ["CHALLENGENAME_11"]}, --rank 12 --> In Burst We Trust -- Gold Lieutenant --> 125K DPS required - {time = 40, damage = 5700000, name = Loc ["CHALLENGENAME_12"]}, --rank 13 --> Watch me Explode -- Stone Guardian --> 142K DPS required - {time = 40, damage = 6300000, name = Loc ["CHALLENGENAME_13"]}, --rank 14 --> T.N.T-- Fel Guardian --> 157K DPS required + {time = 40, damage = 1351144, name = Loc ["CHALLENGENAME_11"]}, --rank 12 --> In Burst We Trust -- Gold Lieutenant --> ~33K DPS required + {time = 40, damage = 1494404, name = Loc ["CHALLENGENAME_12"]}, --rank 13 --> Watch me Explode -- Stone Guardian --> ~37K DPS required + {time = 40, damage = 1569900, name = Loc ["CHALLENGENAME_13"]}, --rank 14 --> T.N.T-- Fel Guardian --> ~39K DPS required --> long run bracket - {time = 300, damage = 35052100, name = Loc ["CHALLENGENAME_14"]}, --rank 15 --> Time is Damage My Friend -- Titan Guardian --> 116K DPS required - {time = 330, damage = 41151120, name = Loc ["CHALLENGENAME_15"]}, --rank 16 - Just a Little Patience --> Bronze Centurion --> 124K DPS required - {time = 360, damage = 47395100, name = Loc ["CHALLENGENAME_16"]}, --rank 17 --> Silver Centurion --> 131K DPS required + {time = 300, damage = 6211201, name = Loc ["CHALLENGENAME_14"]}, --rank 15 --> Time is Damage My Friend -- Titan Guardian --> ~20K DPS required + {time = 300, damage = 6842459, name = Loc ["CHALLENGENAME_15"]}, --rank 16 - Just a Little Patience --> Bronze Centurion --> ~22K DPS required + {time = 300, damage = 7511983, name = Loc ["CHALLENGENAME_16"]}, --rank 17 --> Silver Centurion --> ~25K DPS required - {time = 300, damage = 56911000, name = Loc ["CHALLENGENAME_17"]}, --rank 18 --> Flame Centurion --> ?K DPS required - {time = 360, damage = 71821980, name = Loc ["CHALLENGENAME_18"]}, --rank 19 --> Lower Vanquisher --> ?K DPS required - {time = 180, damage = 45910990, name = Loc ["CHALLENGENAME_19"]}, --rank 20 --> Middle Vanquisher --> ?K DPS required + {time = 120, damage = 4011100, name = Loc ["CHALLENGENAME_17"]}, --rank 18 --> Flame Centurion --> ~33K DPS required + {time = 120, damage = 4300000, name = Loc ["CHALLENGENAME_18"]}, --rank 19 --> Lower Vanquisher --> 35K DPS required + {time = 60, damage = 2650000, name = Loc ["CHALLENGENAME_19"]}, --rank 20 --> Middle Vanquisher --> 44K DPS required --> end {time = nil, damage = nil, name = ""}, --rank 21 --> none @@ -237,23 +236,6 @@ local function CreatePluginFrames (data) background:SetDrawLayer ("background", 1) DmgRank.BackgroundTex = background - local AnimeFrame = CreateFrame ("frame", nil, DmgRankFrame) - AnimeFrame:SetAllPoints (DmgRankFrame) - - local background2 = AnimeFrame:CreateTexture (nil, "background") - background2:SetTexture ("Interface\\AddOns\\Details_DmgRank\\solo_bgtimeattack") - background2:SetPoint ("topleft", DmgRankFrame, "topleft", 2, 0) - background2:SetPoint ("bottomright", DmgRankFrame, "bottomright", -2, 0) - DmgRank.BackgroundTex2 = background2 - background2:SetDrawLayer ("background", 2) - - local RotateAnimGroup = AnimeFrame:CreateAnimationGroup() - local rotate = RotateAnimGroup:CreateAnimation ("Rotation") - rotate:SetDegrees (360) - rotate:SetDuration (120) - RotateAnimGroup:SetLooping ("repeat") - RotateAnimGroup:Play() - --> next rank at display local challengeName = DetailsFrameWork:NewLabel (DmgRankFrame, DmgRankFrame, nil, "challengeName", "", "QuestFont_Shadow_Huge") challengeName:SetPoint ("center", DmgRankFrame, "center") @@ -486,7 +468,7 @@ local function CreatePluginFrames (data) DmgRank.rank.level = DmgRank.rank.level + 1 if (DmgRank.rank.annouce) then - SendChatMessage (UnitName ("player") .. " " .. Loc ["STRING_ANNOUNCE_STRING"] .. " " .. DmgRank.rank.level .. " (" .. self.Titles [DmgRank.rank.level] .. ") " .. Loc ["STRING_ANNOUNCE_ON"] .. " Details! " .. Loc ["STRING_PLUGIN_NAME"] .. ".", "GUILD") + SendChatMessage (UnitName ("player") .. " " .. Loc ["STRING_ANNOUNCE_STRING"] .. " " .. DmgRank.rank.level .. " (" .. self.Titles [DmgRank.rank.level] .. ") " .. Loc ["STRING_ANNOUNCE_ON"] .. " Details!: " .. Loc ["STRING_PLUGIN_NAME"] .. ".", "GUILD") end DmgRank.rank.dps = player.total @@ -545,17 +527,19 @@ function DmgRank:OnEvent (_, event, ...) if (_G._detalhes) then - --> create widgets - CreatePluginFrames (_detalhes_databaseDmgRank) - - local MINIMAL_DETAILS_VERSION_REQUIRED = 1 + local MINIMAL_DETAILS_VERSION_REQUIRED = 50 + local default_config = {level = 1, dps = 0, dpshistory = {}, lasttry = {}, annouce = true} + --> Install plugin inside details - local install, saveddata = _G._detalhes:InstallPlugin ("SOLO", Loc ["STRING_PLUGIN_NAME"], "Interface\\Icons\\ACHIEVEMENT_GUILDPERK_HONORABLEMENTION_RANK2", DmgRank, "DETAILS_PLUGIN_DAMAGE_RANK", MINIMAL_DETAILS_VERSION_REQUIRED, "Details! Team", "v1.1.1") + local install, saveddata = _G._detalhes:InstallPlugin ("SOLO", Loc ["STRING_PLUGIN_NAME"], "Interface\\Icons\\ACHIEVEMENT_GUILDPERK_HONORABLEMENTION_RANK2", DmgRank, "DETAILS_PLUGIN_DAMAGE_RANK", MINIMAL_DETAILS_VERSION_REQUIRED, "Details! Team", "v1.2.0", default_config) if (type (install) == "table" and install.error) then print (install.error) end + --> create widgets + CreatePluginFrames() + --> Register needed events _G._detalhes:RegisterEvent (DmgRank, "COMBAT_PLAYER_TIMESTARTED") diff --git a/plugins/Details_DmgRank/Details_DmgRank.toc b/plugins/Details_DmgRank/Details_DmgRank.toc index 12355416..8073f09f 100644 --- a/plugins/Details_DmgRank/Details_DmgRank.toc +++ b/plugins/Details_DmgRank/Details_DmgRank.toc @@ -1,7 +1,6 @@ ## Interface: 60000 -## Title: Details DamageRank (plugin) +## Title: Details Damage, the Game! (plugin) ## Notes: Plugin for Details -## SavedVariablesPerCharacter: _detalhes_databaseDmgRank ## RequiredDeps: Details ## OptionalDeps: Ace3, LibSharedMedia-3.0, LibBossIDs-1.0, LibGraph-2.0, !ClassColors diff --git a/plugins/Details_DmgRank/enUS.lua b/plugins/Details_DmgRank/enUS.lua index ab764a59..4e903964 100644 --- a/plugins/Details_DmgRank/enUS.lua +++ b/plugins/Details_DmgRank/enUS.lua @@ -5,7 +5,7 @@ if (not Loc) then end --> Labels: -Loc ["STRING_PLUGIN_NAME"] = "Damage Rank" +Loc ["STRING_PLUGIN_NAME"] = "Damage, the Game!" Loc ["STRING_CURRENTRANK"] = "Your current rank is:" Loc ["STRING_ANNOUNCE"] = "announce" Loc ["STRING_ANNOUNCE_STRING"] = "has reached the level" diff --git a/plugins/Details_DmgRank/ptBR.lua b/plugins/Details_DmgRank/ptBR.lua index 82835739..f4aee2c8 100644 --- a/plugins/Details_DmgRank/ptBR.lua +++ b/plugins/Details_DmgRank/ptBR.lua @@ -5,7 +5,7 @@ if (not Loc) then end --> Labels: -Loc ["STRING_PLUGIN_NAME"] = "Rank de Dano" +Loc ["STRING_PLUGIN_NAME"] = "Dano, o Jogo!" Loc ["STRING_CURRENTRANK"] = "Seu rank atual:" Loc ["STRING_LASTTRIES"] = "Ultimas tentativas:" Loc ["STRING_ANNOUNCE"] = "anunciar" diff --git a/plugins/Details_TinyThreat/Details_TinyThreat.lua b/plugins/Details_TinyThreat/Details_TinyThreat.lua index 19e5fce1..21f9bc3f 100644 --- a/plugins/Details_TinyThreat/Details_TinyThreat.lua +++ b/plugins/Details_TinyThreat/Details_TinyThreat.lua @@ -52,6 +52,8 @@ local function CreatePluginFrames (data) --> localize functions ThreatMeter.percent_color = ThreatMeter.percent_color + ThreatMeter.GetOnlyName = ThreatMeter.GetOnlyName + --> window reference local instance local player @@ -367,7 +369,6 @@ local function CreatePluginFrames (data) pullRow:SetLeftText ("Pull Aggro At") local realPercent = _math_floor (aggro / topThreat [6] * 100) pullRow:SetRightText ("+" .. ThreatMeter:ToK2 (aggro - myThreat) .. " (" .. _math_floor (_math_abs ((myThreat / aggro * 100) - realPercent)) .. "%)") -- - --thisRow.textleft:SetTextColor () pullRow:SetValue (100) local myPercentToAggro = myThreat / aggro * 100 @@ -394,7 +395,7 @@ local function CreatePluginFrames (data) local role = threat_actor [4] thisRow._icon:SetTexCoord (_unpack (RoleIconCoord [role])) - thisRow:SetLeftText (threat_actor [1]) + thisRow:SetLeftText (ThreatMeter:GetOnlyName (threat_actor [1])) local pct = threat_actor [2] diff --git a/plugins/Details_Vanguard/Details_Vanguard.lua b/plugins/Details_Vanguard/Details_Vanguard.lua index b248be79..f533bae5 100644 --- a/plugins/Details_Vanguard/Details_Vanguard.lua +++ b/plugins/Details_Vanguard/Details_Vanguard.lua @@ -9,10 +9,12 @@ local _IsInGroup = IsInGroup --> wow api local local _UnitAura = UnitAura --> wow api local local _UnitName = UnitName --> wow api local local _UnitGroupRolesAssigned = UnitGroupRolesAssigned --> wow api local +local _UnitHealth = UnitHealth --> wow api local local _UnitHealthMax = UnitHealthMax --> wow api local local _UnitIsPlayer = UnitIsPlayer --> wow api local local _UnitClass = UnitClass --> wow api local local _UnitDebuff = UnitDebuff --> wow api local +local _UnitGetIncomingHeals = UnitGetIncomingHeals --------------------------------------------------------------------------------------------- local _cstr = string.format --> lua library local local _table_insert = table.insert --> lua library local @@ -22,6 +24,7 @@ local _pairs = pairs --> lua library local local _math_floor = math.floor --> lua library local local _math_abs = math.abs --> lua library local local _math_min = math.min --> lua library local +local _table_sort = table.sort --------------------------------------------------------------------------------------------- --> Create plugin Object @@ -310,7 +313,8 @@ local function CreatePluginFrames (data) local infoFrame = DetailsFrameWork:NewPanel (VanguardFrame, VanguardFrame, "VanguardInfoFrame", "infoFrame", 300, 100) infoFrame:SetPoint ("topleft", VanguardFrame, "topleft") infoFrame:Hide() - infoFrame:SetFrameLevel (5) + infoFrame:SetFrameLevel (VanguardFrame:GetFrameLevel() + 10) + VanguardFrame.InfoShown = false infoFrame:SetBackdrop ("Interface\\DialogFrame\\UI-DialogBox-Background-Dark") @@ -339,24 +343,33 @@ local function CreatePluginFrames (data) ReportButton.tooltip = Loc ["STRING_REPORT_AVOIDANCE_TOOLTIP"] infoFrame:SetHook ("OnMouseUp", function (_, button) - if (string.lower (button):find ("right")) then + --if (string.lower (button):find ("right")) then VanguardFrame.InfoShown = false infoFrame:Hide() if (infoFrame.refreshTick) then Vanguard:CancelTimer (infoFrame.refreshTick) infoFrame.refreshTick = nil end - end + --end end) - local funcInfo = function() - VanguardFrame.InfoShown = true - Vanguard:VanguardRefreshInfoFrame() - local w, h = instancia:GetSize() - infoFrame.width = w - infoFrame.height = h - infoFrame:Show() - infoFrame.refreshTick = Vanguard:ScheduleRepeatingTimer ("VanguardRefreshInfoFrame", 1) + local funcInfo = function (self, button) + if (button == "LeftButton") then + VanguardFrame.InfoShown = true + Vanguard:VanguardRefreshInfoFrame() + local w, h = instancia:GetSize() + infoFrame.width = w + infoFrame.height = h + infoFrame:Show() + infoFrame.refreshTick = Vanguard:ScheduleRepeatingTimer ("VanguardRefreshInfoFrame", 1) + + elseif (button == "RightButton") then + local instance = Vanguard:GetPluginInstance() + if (instance) then + _detalhes.switch:ShowMe (instance) + end + + end end --> Info frame widgets: @@ -456,11 +469,11 @@ local function CreatePluginFrames (data) for actorName, _ in pairs (heal_from) do local thisActor = Vanguard:GetActor ("current", DETAILS_ATTRIBUTE_HEAL, actorName) local targets = thisActor.targets --> targets is a container with target classes - local amount = targets:GetAmount (_track_player_name, "total") + local amount = targets [_track_player_name] or 0 myReceivedHeal [#myReceivedHeal+1] = {actorName, amount} end - table.sort (myReceivedHeal, Vanguard.Sort2) --> Sort2 sort by second index + _table_sort (myReceivedHeal, Vanguard.Sort2) --> Sort2 sort by second index for i = 1, 4 do if (myReceivedHeal[i]) then @@ -724,7 +737,7 @@ local function CreatePluginFrames (data) end function Vanguard:UpdateHealth (index, unit) - local percent = UnitHealth (unit) / UnitHealthMax (unit) * 100 + local percent = _UnitHealth (unit) / _UnitHealthMax (unit) * 100 Vanguard.TankFrames [index].Life (percent) end @@ -940,12 +953,13 @@ local function CreatePluginFrames (data) local on_second_tick = 0 local half_second_tick = 0 + -- úpdate local onupdate = function (self, elapsed) half_second_tick = half_second_tick + elapsed on_second_tick = on_second_tick + elapsed - if (on_second_tick >= 1) then + if (on_second_tick >= 0.3) then --> capture debuffs for TankIndex, TankName in _ipairs (Vanguard.TankList) do @@ -1008,7 +1022,7 @@ local function CreatePluginFrames (data) on_second_tick = 0 end - if (half_second_tick > 0.5 and _track_player_object.avoidance) then + if (half_second_tick > 0.1 and _track_player_object.avoidance) then --> capture the amount of hits and avoids @@ -1089,8 +1103,11 @@ local function CreatePluginFrames (data) local dmgAmt = damage_now / #damage_taken DamageVsHeal:SetRightText (Vanguard:ToK ( _math_floor (dmgAmt))) - local IncomingHeal = UnitGetIncomingHeals (_track_player_name) or 0 - DamageVsHeal:SetLeftText (Vanguard:ToK (IncomingHeal)) + local shields = UnitGetTotalAbsorbs (_track_player_name) or 0 + local IncomingHeal = _UnitGetIncomingHeals (_track_player_name) or 0 + DamageVsHeal:SetLeftText (Vanguard:ToK (IncomingHeal + shields) .. " (|cFFFFFF55A: " .. Vanguard:ToK (shields) .. "|r)") + + IncomingHeal = IncomingHeal + shields if (dmgAmt > 0 and IncomingHeal > 0) then if (dmgAmt > IncomingHeal) then @@ -1125,7 +1142,7 @@ local function CreatePluginFrames (data) local amt = 1 local hp = _UnitHealthMax (_track_player_name)/3 - local last_events_table = _combat_object.player_last_events [MyName] + local last_events_table = _combat_object.player_last_events [_track_player_name or MyName] or _combat_object.player_last_events [MyName] if (last_events_table) then for _, tabela in _ipairs (last_events_table) do if (tabela[1]) then