Quartz

31M Downloads

Target cast 'notInterruptible' not working on Cataclysm Classic

zetxy opened this issue ยท 0 comments

commented

Quartz Version: 3.7.9
Game Version: Cataclysm Classic

Right now, the info whether target cast is 'interruptible' is not displayed correctly. At this point, every spell is displayed as 'interruptible' - shield icon is missing. This is most likely caused by 'WoWCata' not being registered in 'CastBarTemplate.lua'.

This can be currently patched:

local WoWRetail = (WOW_PROJECT_ID == WOW_PROJECT_MAINLINE)
local WoWWrath = (WOW_PROJECT_ID == WOW_PROJECT_WRATH_CLASSIC)
-- Add WoWCata 
local WoWCata = (WOW_PROJECT_ID == WOW_PROJECT_CATACLYSM_CLASSIC)
local WoWClassic = (WOW_PROJECT_ID == WOW_PROJECT_CLASSIC)

-- ... inside function CastBarTemplate:UNIT_SPELLCAST_START(event, unit, guid, spellID)

-- Add also check for WoWCata
-- this property doesn't exist in BC, and aliases with the spellID
if not WoWRetail and not WoWWrath and not WoWCata then
    notInterruptible = false
end