HeroRotation

HeroRotation

5M Downloads

Lua Error

cyberbook78 opened this issue ยท 2 comments

commented

Message: Interface\AddOns\HeroLib\Class\Item.lua:135: Usage: GetSpellBaseCooldown(spellID)
Time: Wed Apr 20 08:33:27 2022
Count: 10
Stack: Interface\AddOns\HeroLib\Class\Item.lua:135: Usage: GetSpellBaseCooldown(spellID)
[string "=[C]"]: ?
[string "=[C]"]: in function GetSpellBaseCooldown' [string "@Interface\AddOns\HeroLib\Class\Item.lua"]:135: in function Cooldown'
[string "@interface\AddOns\HeroLib\Class\Item.lua"]:178: in function HasCooldown' [string "@Interface\AddOns\HeroRotation_Hunter\Survival.lua"]:314: in function <Interface\AddOns\HeroRotation_Hunter\Survival.lua:286> [string "@Interface\AddOns\HeroRotation_Hunter\Survival.lua"]:864: in function ?'
[string "@interface\AddOns\HeroRotation\Main.lua"]:449: in function <Interface\AddOns\HeroRotation\Main.lua:427>

Locals:

commented

What trinkets are you using when this error occurs?

commented

Added a check to Item:Cooldown() that should prevent the errors mentioned above. This was added in commit herotc/hero-lib@56fee37