Files
pfUI/env/locales_esES.lua
T
Brues 4e461d766e Read debuff durations from C_UnitAuras instead of a static table
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.
2026-08-09 19:02:35 -05:00

45 lines
990 B
Lua

pfUI_locale["esES"] = {}
pfUI_locale["esES"]["class"] = {
["Brujo"] = "WARLOCK",
["Guerrero"] = "WARRIOR",
["Cazador"] = "HUNTER",
["Mago"] = "MAGE",
["Sacerdote"] = "PRIEST",
["Druida"] = "DRUID",
["Paladín"] = "PALADIN",
["Chamán"] = "SHAMAN",
["Pícaro"] = "ROGUE",
}
pfUI_locale["esES"]["healduration"] = {
["Rejuvenation"] = "Aumenta 3 s la duración de tu hechizo Rejuvenecimiento.",
["Renew"] = "Aumenta en 3 s la duración de tu hechizo Renovar.",
}
pfUI_locale["esES"]["customcast"] = {
["AIMEDSHOT"] = "Disparo de puntería",
["MULTISHOT"] = "Multidisparo",
}
pfUI_locale["esES"]["judgements"] = {
["Sentencia de Justicia"] = true,
["Sentencia de Luz"] = true,
["Sentencia de Sabiduría"] = true,
["Sentencia del Cruzado"] = true,
}
pfUI_locale["esES"]["resurrections"] = {
["Resurrección"] = true,
["Renacer"] = true,
["Redención"] = true,
["Espíritu ancestral"] = true,
}
-- custom entries not detected by DBC extractor