add warrior rend spell (#31)
This commit is contained in:
@@ -35,6 +35,7 @@ spells\priest.lua
|
||||
spells\rogue.lua
|
||||
spells\shaman.lua
|
||||
spells\warlock.lua
|
||||
spells\warrior.lua
|
||||
curses.lua
|
||||
filter.lua
|
||||
ui.lua
|
||||
|
||||
@@ -183,6 +183,9 @@ L:RegisterTranslations("enUS", function()
|
||||
["banish"] = true,
|
||||
["siphon life"] = true,
|
||||
["fear"] = true,
|
||||
|
||||
-- warrior
|
||||
["rend"] = true,
|
||||
}
|
||||
end)
|
||||
|
||||
@@ -371,5 +374,8 @@ L:RegisterTranslations("zhCN", function()
|
||||
["banish"] = "放逐",
|
||||
["siphon life"] = "生命虹吸",
|
||||
["fear"] = "恐惧",
|
||||
|
||||
-- warrior
|
||||
["rend"] = '撕裂', -- no idea if right
|
||||
}
|
||||
end)
|
||||
|
||||
@@ -61,6 +61,8 @@ function curses:LoadCurses()
|
||||
curses.trackedCurseIds = getRogueSpells()
|
||||
elseif playerClassName == "SHAMAN" then
|
||||
curses.trackedCurseIds = getShamanSpells()
|
||||
elseif playerClassName == "WARRIOR" then
|
||||
curses.trackedCurseIds = getWarriorSpells()
|
||||
end
|
||||
|
||||
-- go through spell slots and
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
local L = AceLibrary("AceLocale-2.2"):new("Cursive")
|
||||
function getWarriorSpells()
|
||||
return {
|
||||
[772] = { name = L["rend"], rank = 1, duration = 9 },
|
||||
[6546] = { name = L["rend"], rank = 2, duration = 12 },
|
||||
[6547] = { name = L["rend"], rank = 3, duration = 15 },
|
||||
[6548] = { name = L["rend"], rank = 4, duration = 18 },
|
||||
[11572] = { name = L["rend"], rank = 5, duration = 21 },
|
||||
[11573] = { name = L["rend"], rank = 6, duration = 21 },
|
||||
[11574] = { name = L["rend"], rank = 7, duration = 21 },
|
||||
}
|
||||
end
|
||||
Reference in New Issue
Block a user