From b6f70e53938aac4f448102a47e30123a7b9c9a47 Mon Sep 17 00:00:00 2001 From: Buds Date: Mon, 9 Oct 2023 15:10:02 +0200 Subject: [PATCH] Load condition - Spell Known: fix overrided spells test fixes #4638 --- WeakAuras/Prototypes.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/WeakAuras/Prototypes.lua b/WeakAuras/Prototypes.lua index 4e84d4012a..27ce2d8a63 100644 --- a/WeakAuras/Prototypes.lua +++ b/WeakAuras/Prototypes.lua @@ -1024,6 +1024,7 @@ function WeakAuras.IsPlayerSpellOrOverridesAndBaseIsPlayerSpell(spell) end function WeakAuras.IsSpellKnownForLoad(spell, exact) + spell = tonumber(spell) or spell local result = IsPlayerSpell(spell) or IsSpellKnownOrOverridesAndBaseIsKnown(spell, false) or IsSpellKnownOrOverridesAndBaseIsKnown(spell, true)