Skip to content

Commit

Permalink
add some check
Browse files Browse the repository at this point in the history
  • Loading branch information
fxpw committed Nov 22, 2024
1 parent 0daf5fe commit f8917b0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Libraries/SpecializedAbsorbs-1.0/SpecializedAbsorbs-1.0.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
------------------------------------------------------------------------
local _, ns = ...
local Compat = ns.Compat
local MAJOR, MINOR = "SpecializedAbsorbs-1.0", 20
local MAJOR, MINOR = "SpecializedAbsorbs-1.0", 21
local lib, oldminor = LibStub:NewLibrary(MAJOR, MINOR)
if not lib then return end
local Core
Expand Down Expand Up @@ -160,6 +160,13 @@ local function GetSelfMultipleValue()
break
end
end
for k,v in pairs(VIP_MULTIPLY)do
if(IsSpellKnown(k))then
if(v>=self_cached_value)then
self_cached_value=v
end
end
end
end
-- Table of all scaling factors to absorb effects like talents, items, set boni, buffs
-- If there is no mechanism in Cataclysm to obtain the correct absorb amount by any effect
Expand Down

0 comments on commit f8917b0

Please sign in to comment.