Detect when blizzard chill effect is applied - WoWInterface
Thread Tools Display Modes
Prev Previous Post   Next Post Next
02-18-20, 06:14 AM   #1
A Cyclonian
AddOn Author - Click to view addons
Join Date: May 2019
Posts: 40
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

WoWInterface » Developer Discussions » Lua/XML Help » Detect when blizzard chill effect is applied

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off