WeakAuras

WeakAuras

209M Downloads

Attempt to call global 'GetSpellLossOfControlCooldown' (a nil value)

marett opened this issue ยท 0 comments

commented

Is there an existing issue for this?

  • I have searched the existing open and closed issues.

Description

After TWW pre-patch went live existing WA's started generating a number of LUA errors related to "GetSpellLossOfControlCooldown".

I have found un-ticking the "! Show loss of control" option from the 'Extra options" for each affected trigger works as a temporary fix.

WeakAuras Version

5.15.1

World of Warcraft Flavor

Retail (Default)

World of Warcraft Region

US/NA

Tested with only WeakAuras

I got this issue with only WeakAuras enabled

Lua Error

45x Lua error in aura '_judgment 2': Trigger 1
WeakAuras Version: 5.15.1
[string ""]:15: attempt to call global 'GetSpellLossOfControlCooldown' (a nil value)
[string ""]:15: in function <[string ""]:2>
[string "=[C]"]: in function `xpcall'
[string "@WeakAuras/GenericTrigger.lua"]:702: in function <WeakAuras/GenericTrigger.lua:625>
[string "@WeakAuras/GenericTrigger.lua"]:1085: in function `ScanWithFakeEvent'
[string "@WeakAuras/GenericTrigger.lua"]:1439: in function `LoadDisplays'
[string "@WeakAuras/WeakAuras.lua"]:2032: in function `LoadDisplays'
[string "@WeakAuras/WeakAuras.lua"]:1814: in function <WeakAuras/WeakAuras.lua:1658>
[string "@WeakAuras/WeakAuras.lua"]:1857: in function `ScanForLoads'
[string "@WeakAuras/WeakAuras.lua"]:1927: in function <WeakAuras/WeakAuras.lua:1925>

Locals:
state = <table> {
}
event = "SPELL_COOLDOWN_FORCE"
_ = nil
spellname = "Judgment"
ignoreRuneCD = false
showgcd = true
showlossofcontrol = true
ignoreSpellKnown = false
followoverride = true
track = "auto"
name = "Judgment"
_ = nil
icon = 135959
startTime = 330164.434000
duration = 6.497000
gcdCooldown = nil
readyTime = nil
modRate = 1
paused = false
charges = 1
maxCharges = 2
spellCount = 0
chargeGainTime = nil
chargeLostTime = nil
stacks = 1
(*temporary) = nil
(*temporary) = "Judgment"
(*temporary) = "attempt to call global 'GetSpellLossOfControlCooldown' (a nil value)"

Reproduction Steps

create a WA:
Spell -> Cooldown/charges/count -> Extra options -> tick [!] Show loss of control

Last Good Version

No response

Screenshots

No response

Export String

No response

Bisector Report

No response