abunai10 / CaffeineIssues

0 stars 0 forks source link

WoW Classic missing AuraUtil.ForEachAura #23

Closed LordNoxington closed 10 months ago

LordNoxington commented 11 months ago

Unlocker: Tinkr & Daemonic Expansion: WoTLK OS: M3 Client Language: English Explanation:

I have seen this issue since I started using Caffeine. If a mob is off-screen (doesn't have a nameplate), any auras applied to it are not registering correctly. It is almost like an evading mob where a GCD is used, and the spell is casted, but the damage or DoT is never applied.

It is not until I turn the camera to view the mob, will the casted spell apply. I have a feeling this is inherent to Bastion and the way aura_table or spell:Cast() works.

LordNoxington commented 11 months ago

After some further digging, it could be that UnitAuras are not being recorded for off-screen enemies, but the spell is still hitting them... I am not 100% sure though

LordNoxington commented 10 months ago

So after we discussed it, it sounds like it's an issue with AuraUtil.ForEachAura. This problem becomes greatly increased in Classic Era because nameplate rendering only happens at 20 yards, so anything beyond that range auras aren't working.

Classic WotLK (maybe also era) has AuraUtil.FindAura and AuraUtil.FindAuraByName