libdebuff: add support for improved gouge

This commit is contained in:
shagu
2018-10-29 12:48:25 +01:00
parent 8ec6aa8697
commit fdce950e99
8 changed files with 11 additions and 0 deletions
+1
View File
@@ -129,6 +129,7 @@ pfUI_locale["deDE"]["dyndebuffs"] = {
["Shadow Word: Pain"] = "Schattenwort: Schmerz", ["Shadow Word: Pain"] = "Schattenwort: Schmerz",
["Demoralizing Shout"] = "Demoralisierungsruf", ["Demoralizing Shout"] = "Demoralisierungsruf",
["Frostbolt"] = "Frostblitz", ["Frostbolt"] = "Frostblitz",
["Gouge"] = "Solarplexus",
} }
pfUI_locale["deDE"]["interrupts"] = { pfUI_locale["deDE"]["interrupts"] = {
+1
View File
@@ -129,6 +129,7 @@ pfUI_locale["enUS"]["dyndebuffs"] = {
["Shadow Word: Pain"] = "Shadow Word: Pain", ["Shadow Word: Pain"] = "Shadow Word: Pain",
["Demoralizing Shout"] = "Demoralizing Shout", ["Demoralizing Shout"] = "Demoralizing Shout",
["Frostbolt"] = "Frostbolt", ["Frostbolt"] = "Frostbolt",
["Gouge"] = "Gouge",
} }
pfUI_locale["enUS"]["interrupts"] = { pfUI_locale["enUS"]["interrupts"] = {
+1
View File
@@ -129,6 +129,7 @@ pfUI_locale["esES"]["dyndebuffs"] = {
["Shadow Word: Pain"] = "Palabra de las Sombras: dolor", ["Shadow Word: Pain"] = "Palabra de las Sombras: dolor",
["Demoralizing Shout"] = "Grito desmoralizador", ["Demoralizing Shout"] = "Grito desmoralizador",
["Frostbolt"] = "Descarga de Escarcha", ["Frostbolt"] = "Descarga de Escarcha",
["Gouge"] = "Incapacitación",
} }
pfUI_locale["esES"]["interrupts"] = { pfUI_locale["esES"]["interrupts"] = {
+1
View File
@@ -124,6 +124,7 @@ pfUI_locale["frFR"]["dyndebuffs"] = {
["Shadow Word: Pain"] = "Mot de l'ombre : Douleur", ["Shadow Word: Pain"] = "Mot de l'ombre : Douleur",
["Demoralizing Shout"] = "Cri démoralisant", ["Demoralizing Shout"] = "Cri démoralisant",
["Frostbolt"] = "Eclair de givre", ["Frostbolt"] = "Eclair de givre",
["Gouge"] = "Suriner",
} }
pfUI_locale["frFR"]["interrupts"] = { pfUI_locale["frFR"]["interrupts"] = {
+1
View File
@@ -129,6 +129,7 @@ pfUI_locale["koKR"]["dyndebuffs"] = {
["Shadow Word: Pain"] = "어둠의 권능: 고통", ["Shadow Word: Pain"] = "어둠의 권능: 고통",
["Demoralizing Shout"] = "사기의 외침", ["Demoralizing Shout"] = "사기의 외침",
["Frostbolt"] = "얼음 화살", ["Frostbolt"] = "얼음 화살",
["Gouge"] = "후려치기",
} }
pfUI_locale["koKR"]["interrupts"] = { pfUI_locale["koKR"]["interrupts"] = {
+1
View File
@@ -129,6 +129,7 @@ pfUI_locale["ruRU"]["dyndebuffs"] = {
["Shadow Word: Pain"] = "Слово Тьмы: Боль", ["Shadow Word: Pain"] = "Слово Тьмы: Боль",
["Demoralizing Shout"] = "Деморализующий крик", ["Demoralizing Shout"] = "Деморализующий крик",
["Frostbolt"] = "Ледяная стрела", ["Frostbolt"] = "Ледяная стрела",
["Gouge"] = "Парализующий удар",
} }
pfUI_locale["ruRU"]["interrupts"] = { pfUI_locale["ruRU"]["interrupts"] = {
+1
View File
@@ -124,6 +124,7 @@ pfUI_locale["zhCN"]["dyndebuffs"] = {
["Shadow Word: Pain"] = "暗言术:痛", ["Shadow Word: Pain"] = "暗言术:痛",
["Demoralizing Shout"] = "挫志怒吼", ["Demoralizing Shout"] = "挫志怒吼",
["Frostbolt"] = "寒冰箭", ["Frostbolt"] = "寒冰箭",
["Gouge"] = "凿击",
} }
pfUI_locale["zhCN"]["interrupts"] = { pfUI_locale["zhCN"]["interrupts"] = {
+4
View File
@@ -38,6 +38,10 @@ function libdebuff:GetDuration(effect, rank)
-- Permafrost: +1s per talent -- Permafrost: +1s per talent
local _,_,_,_,count = GetTalentInfo(3,7) local _,_,_,_,count = GetTalentInfo(3,7)
if count and count > 0 then duration = duration + count end if count and count > 0 then duration = duration + count end
elseif effect == L["dyndebuffs"]["Gouge"] then
-- Improved Gouge: +.5s per talent
local _,_,_,_,count = GetTalentInfo(2,1)
if count and count > 0 then duration = duration + (count*.5) end
end end
return duration return duration
elseif L["debuffs"][effect] and L["debuffs"][effect][0] then elseif L["debuffs"][effect] and L["debuffs"][effect][0] then