Commit 2b54056d authored by Ivaria's avatar Ivaria
Browse files

Fixed smart casting of unknown resurrection spells

parent 746e0ca6
......@@ -525,11 +525,20 @@ end
--
local tResurrectionSpells;
local tKnownResurrectionSpells;
function VUHDO_getResurrectionSpells()
tResurrectionSpells = (VUHDO_RESURRECTION_SPELLS[VUHDO_PLAYER_CLASS] or sEmpty)[GetSpecialization() or 0];
if tResurrectionSpells then
return unpack(tResurrectionSpells);
tKnownResurrectionSpells = { };
for _, tResurrectionSpell in ipairs(tResurrectionSpells) do
if VUHDO_isSpellKnown(tResurrectionSpell) then
tinsert(tKnownResurrectionSpells, tResurrectionSpell);
end
end
return tKnownResurrectionSpells;
else
return nil;
end
......
......@@ -16,6 +16,7 @@ Known issues:
Bugfixes:
-- Fixed Priest 'Clarity of Will' maximum shield absorption amount
-- Updated spell ID for Shaman 'Earth Shield' (now an Honor Talent)
-- Fixed smart casting of unknown resurrection spells
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