mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-27 01:46:03 +00:00
4e461d766e
Rewrite libdebuff's duration lookups on ClassicAPI's C_UnitAuras, whose expirationTime carries the real, talent-modified remaining time: - GetDuration reads the live duration of a matching aura on the player (C_UnitAuras.GetAuraDataBySpellName) instead of L["debuffs"][effect][rank]. - GetBestAuraCast reads the active aura's expirationTime directly rather than scanning the ownDebuffs/allAuraCasts cast tables -- a unit only ever holds one instance of a given spell, so that is inherently the effective one. - GetMaxRank deleted (it only fed the old GetDuration); AddPending's known-debuff guard removed. The public tracking tables (pfUI.libdebuff_*) are untouched. Drop the now-unused L["debuffs"] and L["dyndebuffs"] tables from every locale.