WoWInterface - View Single Post - Detect when blizzard chill effect is applied
View Single Post
02-18-20, 06:14 AM   #1
A Cyclonian
AddOn Author - Click to view addons
Join Date: May 2019
Posts: 42
Detect when blizzard chill effect is applied

I am trying to detect on my player when the chill effect from blizzard is applied to me.

This is the lua i'm using to try to detect when the debuff is applied.

local function CombatLogEventUnfiltered(...)
	timeStamp, event, _, sourceGUID, sourceName, sourceFlags, sourceRaidFlags, destGUID, destName, destFlags, destRaidFlags, spellID, spellName = CombatLogGetCurrentEventInfo()
    if (spellName) then 
        if (destName) then
            print("Event [|c0044DD33" .. event .. "|r] Spell [|c0044DD33" .. spellName .. "|r(" .. spellID .. ")] Target [|c0044DD33" .. destName .. "|r]")
            print("Event [|c0044DD33" .. event .. "|r] Spell [|c0044DD33" .. spellName .. "|r(" .. spellID .. ")]")
This is the results i'm getting.

I'm assuming the applied "blizzard" aura is an invisible aura as the effect i'm actually looking for is called Chilled. I believe this might be the effect? https://classic.wowhead.com/spell=12486/chilled

Any ideas how I can detect exactly when this debuff is applied? I know I could iterate through my debuffs, but i'm wanting to find an event based way to detect when it is applied rather than checking constantly for it and comparing vs the remaining duration.
  Reply With Quote