From cda1626ac9565222c7a908f601dc2814eb19cec5 Mon Sep 17 00:00:00 2001 From: Tercio Date: Thu, 29 Sep 2016 17:23:57 -0300 Subject: [PATCH] - akaari's soul workaround. --- core/parser.lua | 7 +++++++ functions/link.lua | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/core/parser.lua b/core/parser.lua index e2b6b149..bf735308 100644 --- a/core/parser.lua +++ b/core/parser.lua @@ -103,6 +103,7 @@ local OBJECT_TYPE_PETS = 0x00003000 local AFFILIATION_GROUP = 0x00000007 local REACTION_FRIENDLY = 0x00000010 + local REACTION_MINE = 0x00000001 local ENVIRONMENTAL_FALLING_NAME = Loc ["STRING_ENVIRONMENTAL_FALLING"] local ENVIRONMENTAL_DROWNING_NAME = Loc ["STRING_ENVIRONMENTAL_DROWNING"] @@ -253,6 +254,12 @@ who_serial, who_name, who_flags = parser:GetRealHitSourceFromBuffOwner (shaman_slash, who_serial, who_name, who_flags, SPELLNAME_SHAMAN_SLASH) end + if (spellid == 220893) then --Rogue's Akaari's Soul - Soul Rip + if (who_flags and _bit_band (who_flags, REACTION_MINE) ~= 0) then + who_serial, who_name, who_flags = UnitGUID ("player"), _detalhes.playername, 0x00000417 + end + end + --> REMOVE AFTER LEGION LAUNCH --if (soul_capacitor [who_serial]) then -- if (soul_capacitor [who_serial]+12 < _tempo) then diff --git a/functions/link.lua b/functions/link.lua index 1d833ce0..d3067a46 100644 --- a/functions/link.lua +++ b/functions/link.lua @@ -1960,7 +1960,7 @@ local addon_options = function() local t = {} if (WeakAuras) then - tinsert (t, {label = "Weak Auras 2", value = "WA", icon = [[Interface\AddOns\WeakAuras\icon]]}) + tinsert (t, {label = "Weak Auras 2", value = "WA", icon = [[Interface\AddOns\WeakAuras\Media\Textures\icon]]}) end return t end