Commit d009ba81 authored by Ivaria's avatar Ivaria

Fixed Priest 'Spirit Shell' maximum absorption amount

parent 1279f670
......@@ -20,7 +20,6 @@ local VUHDO_SHIELDS = {
--
local VUHDO_PUMP_SHIELDS = {
[VUHDO_SPELL_ID.SPIRIT_SHELL] = 0.6,
}
......@@ -153,6 +152,9 @@ local function VUHDO_initShieldValue(aUnit, aShieldName, anAmount, aDuration)
if sIsPumpAegis and VUHDO_PUMP_SHIELDS[aShieldName] then
VUHDO_SHIELD_SIZE[aUnit][aShieldName] = VUHDO_RAID["player"]["healthmax"] * VUHDO_PUMP_SHIELDS[aShieldName];
elseif aShieldName == VUHDO_SPELL_ID.SPIRIT_SHELL then
-- as of 9.0.5 Priest 'Spirit Shell' cap is 11 times the caster's current intellect
VUHDO_SHIELD_SIZE[aUnit][aShieldName] = select(1, UnitStat("player", 4)) * 11;
else
VUHDO_SHIELD_SIZE[aUnit][aShieldName] = anAmount;
end
......
......@@ -12,6 +12,7 @@ Known issues:
Bugfixes:
-- Added workaround for bug in Blizzard API UnitPhaseReason
-- Fixed shield bar display when health bar is inverted
-- Fixed Priest 'Spirit Shell' maximum absorption amount
Improvements:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment