mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-06 05:30:00 +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
1.2 KiB
Lua
45 lines
1.2 KiB
Lua
pfUI_locale["ruRU"] = {}
|
|
|
|
pfUI_locale["ruRU"]["class"] = {
|
|
["Чернокнижник"] = "WARLOCK",
|
|
["Воин"] = "WARRIOR",
|
|
["Охотник"] = "HUNTER",
|
|
["Маг"] = "MAGE",
|
|
["Жрец"] = "PRIEST",
|
|
["Друид"] = "DRUID",
|
|
["Паладин"] = "PALADIN",
|
|
["Шаман"] = "SHAMAN",
|
|
["Разбойник"] = "ROGUE",
|
|
}
|
|
|
|
pfUI_locale["ruRU"]["healduration"] = {
|
|
["Rejuvenation"] = "Увеличивает время действия \"Омоложения\" на 3 сек.",
|
|
["Renew"] = "Продлевает действие \"Обновления\" на 3 сек.",
|
|
}
|
|
|
|
pfUI_locale["ruRU"]["customcast"] = {
|
|
["AIMEDSHOT"] = "Прицельный выстрел",
|
|
["MULTISHOT"] = "Залп",
|
|
}
|
|
|
|
|
|
|
|
pfUI_locale["ruRU"]["judgements"] = {
|
|
["Правосудие справедливости"] = true,
|
|
["Правосудие света"] = true,
|
|
["Правосудие мудрости"] = true,
|
|
["Правосудие воина света"] = true,
|
|
}
|
|
|
|
pfUI_locale["ruRU"]["resurrections"] = {
|
|
["Воскрешение"] = true,
|
|
["Возрождение"] = true,
|
|
["Искупление"] = true,
|
|
["Дух предков"] = true,
|
|
}
|
|
|
|
|
|
-- custom entries not detected by DBC extractor
|
|
|
|
|