Skip to content

Commit

Permalink
Bugfix for Wrath
Browse files Browse the repository at this point in the history
  • Loading branch information
d87 committed Feb 23, 2024
1 parent 4ffc194 commit 581b6bb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion ClassicSpellActivations.lua
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,13 @@ function ns.knownEngravedSpell(spellID)
end

function ns.findHighestRank(spellName)
if C_Engraving and runeSpells[spellName] then return runeSpells[spellName] end
if C_Engraving then
if runeSpells[spellName] then
return runeSpells[spellName]
elseif not reverseSpellRanks[spellName] then
return
end
end
for _, spellID in ipairs(reverseSpellRanks[spellName]) do
if IsPlayerSpell(spellID) then return spellID end
end
Expand Down

0 comments on commit 581b6bb

Please sign in to comment.