jobackman / SpellNotifications

A reupload of Veevs original SpellNotifications
2 stars 0 forks source link

Select spellName via CombatLogGetCurrentEventInfo #2

Closed aduth closed 3 years ago

aduth commented 5 years ago

An error occurs when grounding a spell:

2x ...aceSpellNotifications\SpellNotifications-2.0.0.lua:210: attempt to concatenate local 'spellName' (a nil value)
...aceSpellNotifications\SpellNotifications-2.0.0.lua:210: in function `SpellNotifications_OnEvent'
[string "*:OnEvent"]:1: in function <[string "*:OnEvent"]:1>

Locals:
InCombatSkipped

For the same reason as described in the 8.0 update notes, the spellName should be select-ed from CombatLogGetCurrentEventInfo.

Combat Log Event Changes The COMBAT_LOG_EVENT & COMBAT_LOG_EVENT_UNFILTERED events no longer have any event payload. In order to get the information passed down previously with these events, please use the CombatLogGetCurrentEventInfo function.