[Bug]: "Interface/AddOns/HeroLib/Class/Spell/Cooldown.lua:44: attempt to index local 'SpellInfo' (a nil value)"
BalefireBombshell opened this issue ยท 2 comments
What version of HeroLib are you using?
11.0.0.02
What is the issue?
HeroLib/Rotation fails after initial spell cast. LUA Error is as follows:
Message: Interface/AddOns/HeroLib/Class/Spell/Cooldown.lua:44: attempt to index local 'SpellInfo' (a nil value)
Time: Wed Jul 24 04:06:58 2024
Count: 43
Stack: Interface/AddOns/HeroLib/Class/Spell/Cooldown.lua:44: attempt to index local 'SpellInfo' (a nil value)
[string "@Interface/AddOns/HeroLib/Class/Spell/Cooldown.lua"]:44: in function ChargesInfo' [string "@Interface/AddOns/HeroLib/Class/Spell/Cooldown.lua"]:50: in function
Cooldown'
[string "@Interface/AddOns/HeroRotation_Warlock/Destruction.lua"]:609: in function <...nterface/AddOns/HeroRotation_Warlock/Destruction.lua:604>
[string "@Interface/AddOns/HeroRotation_Warlock/Destsruction.lua"]:664: in function `?'
[string "@Interface/AddOns/HeroRotation/Main.lua"]:476: in function <Interface/AddOns/HeroRotation/Main.lua:455>
Locals: self =
{LastCastTime = 0
LastHitTime = 0
LastAppliedOnPlayerTime = 0
LastRemovedFromPlayerTime = 0
SpellName = "Summon Infernal"
IsMelee = false
SpellType = "Player"
MaximumRange = 30
MinimumRange = 0
LastDisplayTime = 0
SpellID = 1122
}
SpellID = 1122
SpellInfo = nil
(*temporary) = 1122
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index local 'SpellInfo' (a nil value)"
Destruction Warlock has not yet been updated. Supported rotations will be listed here as they are updated.
I applied a quick fix in commit herotc/hero-rotation@b4b7d49
Please note that the spec profile has NOT been updated, though, so it's usage might be less than optimal.