add warrior rend spell (#31)

This commit is contained in:
Plokertonne
2025-04-15 10:19:20 -07:00
committed by GitHub
parent 0203f0a06c
commit fa03a011b5
4 changed files with 21 additions and 0 deletions
+1
View File
@@ -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
+6
View File
@@ -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)
+2
View File
@@ -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
+12
View File
@@ -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