mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-04 04:30:01 +00:00
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.
45 lines
972 B
Lua
45 lines
972 B
Lua
pfUI_locale["enUS"] = {}
|
|
|
|
pfUI_locale["enUS"]["class"] = {
|
|
["Warlock"] = "WARLOCK",
|
|
["Warrior"] = "WARRIOR",
|
|
["Hunter"] = "HUNTER",
|
|
["Mage"] = "MAGE",
|
|
["Priest"] = "PRIEST",
|
|
["Druid"] = "DRUID",
|
|
["Paladin"] = "PALADIN",
|
|
["Shaman"] = "SHAMAN",
|
|
["Rogue"] = "ROGUE",
|
|
}
|
|
|
|
pfUI_locale["enUS"]["healduration"] = {
|
|
["Rejuvenation"] = "Increases the duration of your Rejuvenation spell by 3 sec.",
|
|
["Renew"] = "Increases the duration of your Renew spell by 3 sec.",
|
|
}
|
|
|
|
pfUI_locale["enUS"]["customcast"] = {
|
|
["AIMEDSHOT"] = "Aimed Shot",
|
|
["MULTISHOT"] = "Multi-Shot",
|
|
}
|
|
|
|
|
|
|
|
pfUI_locale["enUS"]["judgements"] = {
|
|
["Judgement of Justice"] = true,
|
|
["Judgement of Light"] = true,
|
|
["Judgement of Wisdom"] = true,
|
|
["Judgement of the Crusader"] = true,
|
|
}
|
|
|
|
pfUI_locale["enUS"]["resurrections"] = {
|
|
["Resurrection"] = true,
|
|
["Rebirth"] = true,
|
|
["Redemption"] = true,
|
|
["Ancestral Spirit"] = true,
|
|
}
|
|
|
|
|
|
-- custom entries not detected by DBC extractor
|
|
|
|
|