We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6e86a3 commit defd97fCopy full SHA for defd97f
System/Functions/Spell.lua
@@ -361,10 +361,11 @@ end
361
362
-- if br.isKnown(106832) then
363
function br.isKnown(spellID)
364
+ local baseSpellID = br._G.FindBaseSpellByID(spellID)
365
local _, _, spellInBookType = br.getSpellInSpellBook(spellID)
366
return spellID ~= nil and spellInBookType ~= "Future Spell" and
367
( --[[spellInBookType ~= nil or]] br._G.IsPlayerSpell(tonumber(spellID))
- or br._G.IsSpellKnown(spellID)) -- or spellInBookType == "Spell")
368
+ or br._G.IsSpellKnown(spellID) or br._G.IsPlayerSpell(tonumber(baseSpellID) or br._G.IsSpellKnown(baseSpellID))) -- or spellInBookType == "Spell")
369
end
370
371
function br.isActiveEssence(spellID)
0 commit comments