mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-09 07:00: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
927 B
Lua
45 lines
927 B
Lua
pfUI_locale["zhCN"] = {}
|
|
|
|
pfUI_locale["zhCN"]["class"] = {
|
|
["术士"] = "WARLOCK",
|
|
["战士"] = "WARRIOR",
|
|
["猎人"] = "HUNTER",
|
|
["法师"] = "MAGE",
|
|
["牧师"] = "PRIEST",
|
|
["德鲁伊"] = "DRUID",
|
|
["圣骑士"] = "PALADIN",
|
|
["萨满祭司"] = "SHAMAN",
|
|
["盗贼"] = "ROGUE",
|
|
}
|
|
|
|
pfUI_locale["zhCN"]["healduration"] = {
|
|
["Rejuvenation"] = "使你的回春术的持续时间延长3秒。",
|
|
["Renew"] = "使你的恢复术的持续时间延长3秒。",
|
|
}
|
|
|
|
pfUI_locale["zhCN"]["customcast"] = {
|
|
["AIMEDSHOT"] = "瞄准射击",
|
|
["MULTISHOT"] = "多重射击",
|
|
}
|
|
|
|
|
|
|
|
pfUI_locale["zhCN"]["judgements"] = {
|
|
["公正审判"] = true,
|
|
["圣光审判"] = true,
|
|
["智慧审判"] = true,
|
|
["十字军审判"] = true,
|
|
}
|
|
|
|
pfUI_locale["zhCN"]["resurrections"] = {
|
|
["复活术"] = true,
|
|
["复生"] = true,
|
|
["救赎"] = true,
|
|
["先祖之魂"] = true,
|
|
}
|
|
|
|
|
|
-- custom entries not detected by DBC extractor
|
|
|
|
|