Error when selecting the Exact Spell Match option
Nightwarden24 opened this issue · 0 comments
Describe the bug
You'll get an error message if you select the Exact Spell Match option in the Spell Known trigger.
Do you have an error log of what happened?
4x WeakAuras\Prototypes.lua:923: Usage: IsPlayerSpell(spellID)
[string "@WeakAuras\Prototypes.lua"]:923: in function `IsSpellKnown'
[string "--[==[ Error in 'New 2' ]==] return function(event)
local spellName = tonumber("0");
local usePet = false;
if((spellName and WeakAuras.IsSpellKnown(spellName, usePet))) then
return true else return false end end"]:4: in function <[string "--[==[ Error in 'New 2' ]==] return functio..."]:1>
[string "=[C]"]: in function `xpcall'
[string "@WeakAuras\GenericTrigger.lua"]:601: in function <WeakAuras\GenericTrigger.lua:537>
[string "@WeakAuras\GenericTrigger.lua"]:761: in function `CreateFakeStates'
[string "@WeakAuras\WeakAuras-3.0.4-2-g969bb36.lua"]:3773: in function `UpdateFakeStatesFor'
[string "@WeakAuras\WeakAuras-3.0.4-2-g969bb36.lua"]:3749: in function `FakeStatesFor'
[string "@WeakAuras\WeakAuras-3.0.4-2-g969bb36.lua"]:2773: in function <WeakAuras\WeakAuras.lua:2664>
[string "@WeakAuras\WeakAuras-3.0.4-2-g969bb36.lua"]:2793: in function `Add'
[string "@WeakAurasOptions\LoadOptions.lua"]:531: in function <WeakAurasOptions\LoadOptions.lua:529>
[string "=[C]"]: ?
[string "@WeakAuras\Libs\AceConfig-3.0-3\AceConfigDialog-3.0\AceConfigDialog-3.0-79.lua"]:51: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:49>
[string "@WeakAuras\Libs\AceConfig-3.0-3\AceConfigDialog-3.0\AceConfigDialog-3.0-79.lua"]:843: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:664>
[string "=[C]"]: ?
[string "@WeakAuras\Libs\AceGUI-3.0\AceGUI-3.0-41.lua"]:72: in function <...faceWeakAuras\Libs\AceGUI-3.0\AceGUI-3.0.lua:70>
[string "@WeakAuras\Libs\AceGUI-3.0\AceGUI-3.0-41.lua"]:306: in function `Fire'
[string "@WeakAuras\Libs\AceGUI-3.0-41\widgets\AceGUIWidget-CheckBox.lua"]:68: in function <...as\Libs\AceGUI-3.0\widgets\AceGUIWidget-CheckBox.lua:57>
To Reproduce
Steps to reproduce the behavior:
- Create a new aura
- Select Status → Action Usable trigger
- Select Status → Spell Known trigger
- Check the Exact Spell Match option
- See error
Did you try having WeakAuras as the only enabled addon and everything else (especially something like ElvUI) disabled?
Other addons are disabled.
Which version of WeakAuras are you using?
Version: 3.0.4-2-g969bb36
Are you on World of Warcraft Classic or Retail?
- Classic
- Retail
Additional Info
There will be no error if the "Ignore Lua errors on OPTIONS event" option is enabled