localize
This commit is contained in:
@@ -126,6 +126,7 @@ L:RegisterTranslations("enUS", function()
|
||||
["Gouge"] = true,
|
||||
|
||||
-- warlock
|
||||
["Conflagrate"] = true,
|
||||
["Corruption"] = true,
|
||||
["Curse of Agony"] = true,
|
||||
["Curse of Doom"] = true,
|
||||
@@ -267,6 +268,7 @@ L:RegisterTranslations("zhCN", function()
|
||||
["Gouge"] = "凿击",
|
||||
|
||||
-- warlock
|
||||
["Conflagrate"] = "引燃", -- no idea if right
|
||||
["Corruption"] = "腐蚀术",
|
||||
["Curse of Agony"] = "痛苦诅咒",
|
||||
["Curse of Doom"] = "末日诅咒",
|
||||
|
||||
+5
-5
@@ -146,9 +146,9 @@ Cursive:RegisterEvent("UNIT_CASTEVENT", function(casterGuid, targetGuid, event,
|
||||
Cursive:ScheduleEvent("addCurse" .. targetGuid .. curses.trackedCurseIds[spellID].name, curses.ApplyCurse, 0.2, self, spellID, targetGuid, GetTime())
|
||||
elseif curses.conflagrateSpellIds[spellID] then
|
||||
-- check if target has immolate
|
||||
if curses:HasCurse("Immolate", targetGuid) then
|
||||
if curses:HasCurse(L["Immolate"], targetGuid) then
|
||||
-- reduce duration by 3 sec
|
||||
curses.guids[targetGuid]["Immolate"].duration = curses.guids[targetGuid]["Immolate"].duration - 3
|
||||
curses.guids[targetGuid][L["Immolate"]].duration = curses.guids[targetGuid][L["Immolate"]].duration - 3
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -165,10 +165,10 @@ Cursive:RegisterEvent("CHAT_MSG_SPELL_SELF_DAMAGE",
|
||||
if curses:ShouldPlayResistSound(lastGuid) then
|
||||
PlaySoundFile("Interface\\AddOns\\Cursive\\Sounds\\resist.mp3")
|
||||
end
|
||||
elseif spell == "Conflagrate" and lastGuid then
|
||||
if curses:HasCurse("Immolate", lastGuid) then
|
||||
elseif spell == L["Conflagrate"] and lastGuid then
|
||||
if curses:HasCurse(L["Immolate"], lastGuid) then
|
||||
-- increase duration by 3 sec to undo the deduction due to resist
|
||||
curses.guids[lastGuid]["Immolate"].duration = curses.guids[lastGuid]["Immolate"].duration + 3
|
||||
curses.guids[lastGuid][L["Immolate"]].duration = curses.guids[lastGuid][L["Immolate"]].duration + 3
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user