LittleWigs

LittleWigs

79M Downloads

Error in fury warrior mage tower "UNIT_HEALTH_FREQUENT"?

rakkarage opened this issue ยท 0 comments

commented

Describe the problem

i get this error when entering mage tower, as fury warrior I think it worked fine before the recent update but also just changed from dbm to bigwigs again so idk

Message: Interface\AddOns\BigWigs_Core\BossPrototype.lua:633: Attempt to register unknown event "UNIT_HEALTH_FREQUENT"
Time: Wed Dec 15 21:26:39 2021
Count: 1
Stack: Interface\AddOns\BigWigs_Core\BossPrototype.lua:633: Attempt to register unknown event "UNIT_HEALTH_FREQUENT"
[string "=[C]"]: in function `RegisterUnitEvent'
[string "@Interface\AddOns\BigWigs_Core\BossPrototype.lua"]:633: in function `RegisterUnitEvent'
[string "@Interface\AddOns\LittleWigs_Legion\ArtifactScenarios\Agatha.lua"]:104: in function `OnEngage'
[string "@Interface\AddOns\BigWigs_Core\BossPrototype.lua"]:937: in function `Engage'
[string "@Interface\AddOns\BigWigs_Core\BossPrototype.lua"]:741: in function `CheckForEncounterEngage'
[string "@Interface\AddOns\BigWigs_Core\BossPrototype.lua"]:765: in function `?'
[string "@Interface\AddOns\BigWigs_Core\Core.lua"]:59: in function <Interface\AddOns\BigWigs_Core\Core.lua:54>

Locals: (*temporary) = <unnamed> {
 0 = <userdata>
}
(*temporary) = "UNIT_HEALTH_FREQUENT"
(*temporary) = "boss1"

What steps will reproduce the problem?

  1. disable all addons except big and little wigs
  2. enter mage tower as fury war
  3. get error message about UNIT_HEALTH_FREQUENT as soon as combat starts

What version of LittleWigs are you using? (Stating 'latest' is not useful)

LittleWigs-v9.1.5

Any additional information? (example: WoW language if not English)

Details apparently fixes it by checking before using that classic variable? idk

	{(IS_WOW_PROJECT_NOT_MAINLINE) and "UNIT_HEALTH_FREQUENT", true}, -- this one is classic-only...