From ee432f456a6b4d20bf2da59db54b6c5f10bb6258 Mon Sep 17 00:00:00 2001 From: Tercio Date: Mon, 26 Jan 2015 02:28:08 -0200 Subject: [PATCH] - RaidCheck (plugin): added an option to be able to use the report panel. - You Are Not Prepared (plugin): added Auto Close the window, can be disabled through its options panel. - Vanguard (plugin): Added Options Panel. - Details! is now using 'LibWindow-1.1' to save and restore the positioning of the windows, bug might appear, please report if something weird happen. - Improved specialization detection in order to try detect spec changes. - Added options to change the brackets and the separator for dps/percent block. - Added options for show (or hide) totals, dps and percent amount. - Added Segments shortcut menu pressing Shift + Right click. - Fixed positioning after reopen a window previously closed on last logon. - Fixed enemies display where sometimes the bars were black instead of red. - Fixed few places where spec icons wasn't being used on. - Fixed avoidance panel on Player Details Window where sometimes was giving errors. - Fixed priest shadow and holy detection. - Fixed blood and unholy spec icons. - Fixed an issue with 'Always Show me' feature where it was showing the player on Enemies display. --- core/parser.lua | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/core/parser.lua b/core/parser.lua index 17f29b6b..8050f10c 100644 --- a/core/parser.lua +++ b/core/parser.lua @@ -677,7 +677,7 @@ [115069] = true, -- Stance of the Sturdy Ox (Monk) [20711] = true, -- Spirit of Redemption (Priest) } - + function parser:heal_absorb (token, time, who_serial, who_name, who_flags, alvo_serial, alvo_name, alvo_flags, spellid, spellname, spellschool, owner_serial, owner_name, owner_flags, owner_flags2, shieldid, shieldname, shieldtype, amount) --[[statistics]]-- _detalhes.statistics.absorbs_calls = _detalhes.statistics.absorbs_calls + 1 @@ -688,6 +688,13 @@ if (ignored_shields [shieldid]) then return + + elseif (shieldid == 110913) then + --dark bargain + local max_health = _UnitHealthMax (owner_name) + if ((amount or 0) > (max_health or 1) * 4) then + return + end end --if (not absorb_spell_list [shieldid] and not gotit[shieldid]) then