LUA error spellcooldown with unknown spell
Hemario opened this issue ยท 0 comments
Describe the bug
Getting a LUA error on retribution paladin
2x Ovale\states/SpellBook.lua:302: Usage: IsSpellKnown(spellID[, isPet])
[string "=[C]"]: ?
[string "@Ovale\states/SpellBook.lua"]:302: in function `IsKnownSpell'
[string "@Ovale\states/Spells.lua"]:109: in function `IsUsableSpell'
[string "@Ovale\states/conditions.lua"]:1357: in function <Ovale\states/conditions.lua:1348>
[string "=(tail call)"]: ?
[string "@Ovale\engine/runner.lua"]:289: in function `visitor'
[string "@Ovale\engine/runner.lua"]:546: in function `RecursiveCompute'
[string "@Ovale\engine/runner.lua"]:526: in function `PostOrderCompute'
[string "@Ovale\engine/runner.lua"]:498: in function <Ovale\engine/runner.lua:487>
[string "=(tail call)"]: ?
[string "@Ovale\engine/runner.lua"]:272: in function `visitor'
[string "@Ovale\engine/runner.lua"]:546: in function `RecursiveCompute'
...
[string "@Ovale\engine/runner.lua"]:498: in function <Ovale\engine/runner.lua:487>
[string "=(tail call)"]: ?
[string "@Ovale\engine/runner.lua"]:272: in function `visitor'
[string "@Ovale\engine/runner.lua"]:546: in function `RecursiveCompute'
[string "@Ovale\engine/runner.lua"]:526: in function `PostOrderCompute'
[string "@Ovale\engine/runner.lua"]:498: in function `PostOrderCompute'
[string "@Ovale\engine/best-action.lua"]:240: in function `GetAction'
[string "@Ovale\ui/Frame.lua"]:573: in function `getIconAction'
[string "@Ovale\ui/Frame.lua"]:163: in function <Ovale\ui/Frame.lua:131>
[string "=(tail call)"]: ?
Locals:
(*temporary) = "hammer_of_wrath_empowered"
Most likely because hammer_of_wrath_empowered
is not defined.
AddFunction RetributionTimeToHPG
{
SpellCooldown(crusader_strike hammer_of_wrath hammer_of_wrath_empowered judgment usable=1)
}