- akaari's soul workaround.

This commit is contained in:
Tercio
2016-09-29 17:23:57 -03:00
parent a5d0ca6dae
commit cda1626ac9
2 changed files with 8 additions and 1 deletions
+7
View File
@@ -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
+1 -1
View File
@@ -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