convert all spell names to lowercase to avoid case sensitive issues

This commit is contained in:
pepopo978
2025-01-08 08:51:52 -08:00
parent 196675a7b3
commit 4d273b151c
11 changed files with 416 additions and 415 deletions
+122 -122
View File
@@ -86,83 +86,83 @@ L:RegisterTranslations("enUS", function()
["Rank 4"] = true,
-- druid
["Entangling Roots"] = true,
["Sleep"] = true,
["Faerie Fire"] = true,
["Faerie Fire (Bear)"] = true,
["Faerie Fire (Feral)"] = true,
["Hibernate"] = true,
["Insect Swarm"] = true,
["Moonfire"] = true,
["Rake"] = true,
["Rip"] = true,
["Soothe Animal"] = true,
["Bash"] = true,
["entangling roots"] = true,
["sleep"] = true,
["faerie fire"] = true,
["faerie fire (bear)"] = true,
["faerie fire (feral)"] = true,
["hibernate"] = true,
["insect swarm"] = true,
["moonfire"] = true,
["rake"] = true,
["rip"] = true,
["soothe animal"] = true,
["bash"] = true,
["Maim"] = true,
["Demoralizing Roar"] = true,
["Challenging Roar"] = true,
["demoralizing roar"] = true,
["challenging roar"] = true,
-- hunter
["Scorpid Sting"] = true,
["Serpent Sting"] = true,
["Viper Sting"] = true,
["Wing Clip"] = true,
["Concussive Shot"] = true,
["Wyvern Sting"] = true,
["Counterattack"] = true,
["Hunter\'s Mark"] = true,
["Freezing Trap"] = true,
["scorpid sting"] = true,
["serpent sting"] = true,
["viper sting"] = true,
["wing clip"] = true,
["concussive shot"] = true,
["wyvern sting"] = true,
["counterattack"] = true,
["hunter's mark"] = true,
["freezing trap"] = true,
-- mage
["Polymorph"] = true,
["Polymorph: Cow"] = true,
["Polymorph: Turtle"] = true,
["Polymorph: Pig"] = true,
["polymorph"] = true,
["polymorph: cow"] = true,
["polymorph: turtle"] = true,
["polymorph: pig"] = true,
-- priest
["Shackle Undead"] = true,
["Mind Soothe"] = true,
["Mind Control"] = true,
["Devouring Plague"] = true,
["Hex of Weakness"] = true,
["Shadow Word: Pain"] = true,
["Vampiric Embrace"] = true,
["Holy Fire"] = true,
["shackle undead"] = true,
["mind soothe"] = true,
["mind control"] = true,
["devouring plague"] = true,
["hex of weakness"] = true,
["shadow word: pain"] = true,
["vampiric embrace"] = true,
["holy fire"] = true,
-- Paladin
["Turn Undead"] = true,
-- rogue
["Blind"] = true,
["Sap"] = true,
["Gouge"] = true,
["Expose Armor"] = true,
["Garrote"] = true,
["Deadly Poison"] = true,
["Deadly Poison II"] = true,
["Deadly Poison III"] = true,
["Deadly Poison IV"] = true,
["Deadly Poison V"] = true,
["blind"] = true,
["sap"] = true,
["gouge"] = true,
["expose armor"] = true,
["garrote"] = true,
["deadly poison"] = true,
["deadly poison II"] = true,
["deadly poison III"] = true,
["deadly poison IV"] = true,
["deadly poison V"] = true,
-- shaman
["Flame Shock"] = true,
["flame shock"] = true,
-- warlock
["Conflagrate"] = true,
["Corruption"] = true,
["Curse of Agony"] = true,
["Curse of Doom"] = true,
["Curse of Recklessness"] = true,
["Curse of Shadow"] = true,
["Curse of the Elements"] = true,
["Curse of Tongues"] = true,
["Curse of Weakness"] = true,
["Curse of Exhaustion"] = true,
["Immolate"] = true,
["Death Coil"] = true,
["Banish"] = true,
["Siphon Life"] = true,
["Fear"] = true,
["conflagrate"] = true,
["corruption"] = true,
["curse of agony"] = true,
["curse of doom"] = true,
["curse of recklessness"] = true,
["curse of shadow"] = true,
["curse of the elements"] = true,
["curse of tongues"] = true,
["curse of weakness"] = true,
["curse of exhaustion"] = true,
["immolate"] = true,
["death coil"] = true,
["banish"] = true,
["siphon life"] = true,
["fear"] = true,
}
end)
@@ -250,82 +250,82 @@ L:RegisterTranslations("zhCN", function()
["Rank 4"] = "等级 4",
-- druid
["Entangling Roots"] = "纠缠根须",
["Sleep"] = "沉睡",
["Faerie Fire"] = "精灵之火",
["Faerie Fire (Bear)"] = "精灵之火(熊形态)",
["Faerie Fire (Feral)"] = "精灵之火(野性形态)",
["Hibernate"] = "休眠",
["Insect Swarm"] = "虫群",
["Moonfire"] = "月火术",
["Rake"] = "扫击",
["Rip"] = "撕扯",
["Soothe Animal"] = "安抚动物",
["Bash"] = "重击",
["entangling roots"] = "纠缠根须",
["sleep"] = "沉睡",
["faerie fire"] = "精灵之火",
["faerie fire (bear)"] = "精灵之火(熊形态)",
["faerie fire (feral)"] = "精灵之火(野性形态)",
["hibernate"] = "休眠",
["insect swarm"] = "虫群",
["moonfire"] = "月火术",
["rake"] = "扫击",
["rip"] = "撕扯",
["soothe animal"] = "安抚动物",
["bash"] = "重击",
["Maim"] = "致残",
["Demoralizing Roar"] = "挫志咆哮",
["Challenging Roar"] = "挑战咆哮",
["demoralizing roar"] = "挫志咆哮",
["challenging roar"] = "挑战咆哮",
-- hunter
["Scorpid Sting"] = "毒蝎钉刺",
["Serpent Sting"] = "毒蛇钉刺",
["Viper Sting"] = "蝰蛇钉刺",
["Wing Clip"] = "摔绊",
["Concussive Shot"] = "震荡射击",
["Wyvern Sting"] = "翼龙钉刺",
["Counterattack"] = "反击",
["Hunter's Mark"] = "猎人印记",
["Freezing Trap"] = "冰冻陷阱",
["scorpid sting"] = "毒蝎钉刺",
["serpent sting"] = "毒蛇钉刺",
["viper sting"] = "蝰蛇钉刺",
["wing clip"] = "摔绊",
["concussive shot"] = "震荡射击",
["wyvern sting"] = "翼龙钉刺",
["counterattack"] = "反击",
["hunter's mark"] = "猎人印记",
["freezing trap"] = "冰冻陷阱",
-- mage
["Polymorph"] = "变形术",
["Polymorph: Cow"] = "变形术:奶牛",
["Polymorph: Turtle"] = "变形术:龟",
["Polymorph: Pig"] = "变形术:猪",
["polymorph"] = "变形术",
["polymorph: cow"] = "变形术:奶牛",
["polymorph: turtle"] = "变形术:龟",
["polymorph: pig"] = "变形术:猪",
-- priest
["Shackle Undead"] = "束缚亡灵",
["Mind Soothe"] = "安抚心灵",
["Mind Control"] = "心灵控制",
["Devouring Plague"] = "吞噬瘟疫",
["Hex of Weakness"] = "虚弱妖术",
["Shadow Word: Pain"] = "暗言术:痛",
["Vampiric Embrace"] = "吸血鬼的拥抱",
["Holy Fire"] = "神圣之火",
["shackle undead"] = "束缚亡灵",
["mind soothe"] = "安抚心灵",
["mind control"] = "心灵控制",
["devouring plague"] = "吞噬瘟疫",
["hex of weakness"] = "虚弱妖术",
["shadow word: pain"] = "暗言术:痛",
["vampiric embrace"] = "吸血鬼的拥抱",
["holy fire"] = "神圣之火",
-- Paladin
["Turn Undead"] = "超度亡灵",
-- rogue
["Blind"] = "致盲",
["Sap"] = "闷棍",
["Gouge"] = "凿击",
["Expose Armor"] = "破甲", -- no idea if right
["Garrote"] = "锁喉", -- no idea if right
["Deadly Poison"] = "致命毒药", -- no idea if right
["Deadly Poison II"] = "致命毒药 II",
["Deadly Poison III"] = "致命毒药 III",
["Deadly Poison IV"] = "致命毒药 IV",
["Deadly Poison V"] = "致命毒药 V",
["blind"] = "致盲",
["sap"] = "闷棍",
["gouge"] = "凿击",
["expose armor"] = "破甲", -- no idea if right
["garrote"] = "锁喉", -- no idea if right
["deadly poison"] = "致命毒药", -- no idea if right
["deadly poison II"] = "致命毒药 II",
["deadly poison III"] = "致命毒药 III",
["deadly poison IV"] = "致命毒药 IV",
["deadly poison V"] = "致命毒药 V",
-- shaman
["Flame Shock"] = "烈焰震击", -- no idea if right
["flame shock"] = "烈焰震击", -- no idea if right
-- warlock
["Conflagrate"] = "引燃", -- no idea if right
["Corruption"] = "腐蚀术",
["Curse of Agony"] = "痛苦诅咒",
["Curse of Doom"] = "末日诅咒",
["Curse of Recklessness"] = "鲁莽诅咒",
["Curse of Shadow"] = "暗影诅咒",
["Curse of the Elements"] = "元素诅咒",
["Curse of Tongues"] = "语言诅咒",
["Curse of Weakness"] = "虚弱诅咒",
["Curse of Exhaustion"] = "疲劳诅咒",
["Immolate"] = "献祭",
["Death Coil"] = "死亡缠绕",
["Banish"] = "放逐",
["Siphon Life"] = "生命虹吸",
["Fear"] = "恐惧",
["conflagrate"] = "引燃", -- no idea if right
["corruption"] = "腐蚀术",
["curse of agony"] = "痛苦诅咒",
["curse of doom"] = "末日诅咒",
["curse of recklessness"] = "鲁莽诅咒",
["curse of shadow"] = "暗影诅咒",
["curse of the elements"] = "元素诅咒",
["curse of tongues"] = "语言诅咒",
["curse of weakness"] = "虚弱诅咒",
["curse of exhaustion"] = "疲劳诅咒",
["immolate"] = "献祭",
["death coil"] = "死亡缠绕",
["banish"] = "放逐",
["siphon life"] = "生命虹吸",
["fear"] = "恐惧",
}
end)
+13 -13
View File
@@ -25,7 +25,7 @@ so that it doesn't block your clicks when it's not displaying mobs.
`/cursive curse <spellName:str>|<guid?:str>|<options?:comma separated str>`: Casts spell if not already on target/guid
EXAMPLE: `/cursive curse Corruption|target` will attempt to cast Corruption on your target if it's not already on them
EXAMPLE: `/cursive curse corruption|target` will attempt to cast corruption on your target if it's not already on them
and they aren't cc'ed.
### Multicurse
@@ -33,7 +33,7 @@ and they aren't cc'ed.
`/cursive multicurse <spellName:str>|<priority?:str>|<options?:comma separated str>`: Picks target based on priority and
casts spell if not already on target and they aren't cc'ed.
EXAMPLE: `/cursive multicurse Corruption|HIGHEST_HP` will attempt to cast Corruption picking the target with the highest
EXAMPLE: `/cursive multicurse corruption|HIGHEST_HP` will attempt to cast corruption picking the target with the highest
HP that doesn't already have it and will warn you if it does nothing.
## Priority Options
@@ -82,8 +82,8 @@ All commands can take the following options separated by commas:
- `ignorespellid=<number>` : "Ignore targets with the specified spell id already on them. Useful for ignoring targets that already have a shared debuff.",
- `ignorespelltexture=<number>` : "Ignore targets with the specified spell texture already on them. Useful for ignoring targets that already have a shared debuff.",
EXAMPLE: `/cursive multicurse Corruption|HIGHEST_HP|warnings,resistsound,expiringsound,minhp=10000,refreshtime=2`
EXAMPLE: `/cursive multicurse Curse of Recklessness|RAID_MARK|name=Touched Warrior,ignorespelltexture=Spell_Shadow_UnholyStrength,resistsound,expiringsound`
EXAMPLE: `/cursive multicurse corruption|HIGHEST_HP|warnings,resistsound,expiringsound,minhp=10000,refreshtime=2`
EXAMPLE: `/cursive multicurse curse of recklessness|RAID_MARK|name=Touched Warrior,ignorespelltexture=Spell_Shadow_UnholyStrength,resistsound,expiringsound`
## Important info
@@ -93,16 +93,16 @@ Otherwise, all commands will prioritize targets within 28 yards of you first to
All commands will ignore targets with the following CCs on them:
- Sleep
- Entangling Roots
- Shackle Undead
- Polymorph
- sleep
- entangling roots
- shackle undead
- polymorph
- Turn Undead
- Blind
- Sap
- Gouge
- Freezing Trap
- Banish
- blind
- sap
- gouge
- freezing trap
- banish
Multicurse will only ever target enemies that are already in combat (except if you target a mob directly first) to
prevent pulling things you didn't intend like marked patrols.
+44 -44
View File
@@ -112,58 +112,58 @@ local function handleSlashCommands(msg, editbox)
end
local crowdControlledSpellIds = {
[700] = { name = L["Sleep"], rank = 1, duration = 20 },
[1090] = { name = L["Sleep"], rank = 2, duration = 30 },
[2937] = { name = L["Sleep"], rank = 3, duration = 40 },
[700] = { name = L["sleep"], rank = 1, duration = 20 },
[1090] = { name = L["sleep"], rank = 2, duration = 30 },
[2937] = { name = L["sleep"], rank = 3, duration = 40 },
[339] = { name = L["Entangling Roots"], rank = 1, duration = 12 },
[1062] = { name = L["Entangling Roots"], rank = 2, duration = 15 },
[5195] = { name = L["Entangling Roots"], rank = 3, duration = 18 },
[5196] = { name = L["Entangling Roots"], rank = 4, duration = 21 },
[9852] = { name = L["Entangling Roots"], rank = 5, duration = 24 },
[9853] = { name = L["Entangling Roots"], rank = 6, duration = 27 },
[339] = { name = L["entangling roots"], rank = 1, duration = 12 },
[1062] = { name = L["entangling roots"], rank = 2, duration = 15 },
[5195] = { name = L["entangling roots"], rank = 3, duration = 18 },
[5196] = { name = L["entangling roots"], rank = 4, duration = 21 },
[9852] = { name = L["entangling roots"], rank = 5, duration = 24 },
[9853] = { name = L["entangling roots"], rank = 6, duration = 27 },
[2637] = { name = L["Hibernate"], rank = 1, duration = 20 },
[18657] = { name = L["Hibernate"], rank = 2, duration = 30 },
[18658] = { name = L["Hibernate"], rank = 3, duration = 40 },
[2637] = { name = L["hibernate"], rank = 1, duration = 20 },
[18657] = { name = L["hibernate"], rank = 2, duration = 30 },
[18658] = { name = L["hibernate"], rank = 3, duration = 40 },
[1425] = { name = L["Shackle Undead"], rank = 1, duration = 30 },
[9486] = { name = L["Shackle Undead"], rank = 2, duration = 40 },
[10956] = { name = L["Shackle Undead"], rank = 3, duration = 50 },
[1425] = { name = L["shackle undead"], rank = 1, duration = 30 },
[9486] = { name = L["shackle undead"], rank = 2, duration = 40 },
[10956] = { name = L["shackle undead"], rank = 3, duration = 50 },
-- polymorph
[118] = { name = L["Polymorph"], rank = L["Rank 1"], duration = 20 },
[12824] = { name = L["Polymorph"], rank = L["Rank 2"], duration = 30 },
[12825] = { name = L["Polymorph"], rank = L["Rank 3"], duration = 40 },
[12826] = { name = L["Polymorph"], rank = L["Rank 4"], duration = 50 },
[118] = { name = L["polymorph"], rank = L["Rank 1"], duration = 20 },
[12824] = { name = L["polymorph"], rank = L["Rank 2"], duration = 30 },
[12825] = { name = L["polymorph"], rank = L["Rank 3"], duration = 40 },
[12826] = { name = L["polymorph"], rank = L["Rank 4"], duration = 50 },
[28270] = { name = L["Polymorph: Cow"], rank = L["Rank 1"], duration = 50 },
[28271] = { name = L["Polymorph: Turtle"], rank = L["Rank 1"], duration = 50 },
[28272] = { name = L["Polymorph: Pig"], rank = L["Rank 1"], duration = 50 },
[28270] = { name = L["polymorph: cow"], rank = L["Rank 1"], duration = 50 },
[28271] = { name = L["polymorph: turtle"], rank = L["Rank 1"], duration = 50 },
[28272] = { name = L["polymorph: pig"], rank = L["Rank 1"], duration = 50 },
[2878] = { name = L["Turn Undead"], rank = 1, duration = 10 },
[5627] = { name = L["Turn Undead"], rank = 2, duration = 15 },
[10326] = { name = L["Turn Undead"], rank = 3, duration = 20 },
[2094] = { name = L["Blind"], rank = 1, duration = 10 },
[21060] = { name = L["Blind"], rank = 1, duration = 10 },
[2094] = { name = L["blind"], rank = 1, duration = 10 },
[21060] = { name = L["blind"], rank = 1, duration = 10 },
[6770] = { name = L["Sap"], rank = 1, duration = 25 },
[2070] = { name = L["Sap"], rank = 2, duration = 35 },
[11297] = { name = L["Sap"], rank = 3, duration = 45 },
[6770] = { name = L["sap"], rank = 1, duration = 25 },
[2070] = { name = L["sap"], rank = 2, duration = 35 },
[11297] = { name = L["sap"], rank = 3, duration = 45 },
[1776] = { name = L["Gouge"], rank = 1, duration = 4 },
[1777] = { name = L["Gouge"], rank = 2, duration = 4 },
[8629] = { name = L["Gouge"], rank = 3, duration = 4 },
[11285] = { name = L["Gouge"], rank = 4, duration = 4 },
[11286] = { name = L["Gouge"], rank = 5, duration = 4 },
[1776] = { name = L["gouge"], rank = 1, duration = 4 },
[1777] = { name = L["gouge"], rank = 2, duration = 4 },
[8629] = { name = L["gouge"], rank = 3, duration = 4 },
[11285] = { name = L["gouge"], rank = 4, duration = 4 },
[11286] = { name = L["gouge"], rank = 5, duration = 4 },
[3355] = { name = L["Freezing Trap"], rank = 1, duration = 10 },
[14308] = { name = L["Freezing Trap"], rank = 2, duration = 15 },
[14309] = { name = L["Freezing Trap"], rank = 3, duration = 20 },
[3355] = { name = L["freezing trap"], rank = 1, duration = 10 },
[14308] = { name = L["freezing trap"], rank = 2, duration = 15 },
[14309] = { name = L["freezing trap"], rank = 3, duration = 20 },
[710] = { name = L["Banish"], rank = 1, duration = 30 },
[18647] = { name = L["Banish"], rank = 2, duration = 30 },
[710] = { name = L["banish"], rank = 1, duration = 30 },
[18647] = { name = L["banish"], rank = 2, duration = 30 },
-- mind control effects
[28410] = { name = "Chains of Kel'Thuzad" }, -- we aren't casting these, name doesn't matter
@@ -183,15 +183,15 @@ local crowdControlledSpellIds = {
[20740] = { name = "Dominate Mind" },
[17405] = { name = "Domination" },
[3442] = { name = "Enslave" },
[13181] = { name = "Gnomish Mind Control Cap" },
[26740] = { name = "Gnomish Mind Control Cap" },
[13181] = { name = "Gnomish mind control Cap" },
[26740] = { name = "Gnomish mind control Cap" },
[12483] = { name = "Hex of Jammal'an" },
[25772] = { name = "Mental Domination" },
[7967] = { name = "Naralex's Nightmare" },
[19469] = { name = "Poison Mind" },
[17244] = { name = "Possess" },
[22667] = { name = "Shadow Command" },
[20668] = { name = "Sleepwalk" },
[20668] = { name = "sleepwalk" },
[785] = { name = "True Fulfillment" },
[26195] = { name = "Whisperings of C'Thun" },
[26197] = { name = "Whisperings of C'Thun" },
@@ -462,10 +462,10 @@ function Cursive:Curse(spellName, targetedGuid, options)
end
-- remove (Rank x) from spellName if it exists
local spellNameNoRank = string.gsub(spellName, "%(.+%)", "")
local spellNameNoRank = string.lower(string.gsub(spellName, "%(.+%)", ""))
if targetedGuid and not Cursive.curses:HasCurse(spellNameNoRank, targetedGuid, options["refreshtime"]) and not isMobCrowdControlled(targetedGuid) then
castSpellWithOptions(spellName, spellNameNoRank, targetedGuid, options)
castSpellWithOptions(string.lower(spellName),spellNameNoRank, targetedGuid, options)
elseif options["warnings"] then
DEFAULT_CHAT_FRAME:AddMessage(curseNoTarget)
end
@@ -488,12 +488,12 @@ function Cursive:Multicurse(spellName, priority, options)
local selectedPriority = priority or PRIORITY_HIGHEST_HP
-- remove (Rank x) from spellName if it exists
local spellNameNoRank = string.gsub(spellName, "%(.+%)", "")
local spellNameNoRank = string.lower(string.gsub(spellName, "%(.+%)", ""))
local targetedGuid = pickTarget(selectedPriority, spellNameNoRank, true, options)
if targetedGuid then
castSpellWithOptions(spellName, spellNameNoRank, targetedGuid, options)
castSpellWithOptions(string.lower(spellName), spellNameNoRank, targetedGuid, options)
elseif options["warnings"] then
DEFAULT_CHAT_FRAME:AddMessage(curseNoTarget)
end
+17 -16
View File
@@ -23,8 +23,6 @@ local curses = {
}
-- combat events for curses
local afflict_test = "^(.+) is afflicted by (.+) %((%d+)%)" -- for stacks 2-5 will be "Fire Vulnerability (2)".
local gains_test = "^(.+) gains (.+) %((%d+)%)" -- for stacks 2-5 will be "Fire Vulnerability (2)".
local fades_test = L["(.+) fades from (.+)"]
local resist_test = L["Your (.+) was resisted by (.+)"]
@@ -65,7 +63,7 @@ function curses:LoadCurses()
spellrank = "Rank 1"
end
curses.trackedCurseNameRanksToSpellSlots[spellname .. spellrank] = i
curses.trackedCurseNameRanksToSpellSlots[string.lower(spellname) .. spellrank] = i
i = i + 1
end
@@ -161,7 +159,7 @@ Cursive:RegisterEvent("UNIT_CASTEVENT", function(casterGuid, targetGuid, event,
lastGuid = targetGuid
Cursive:ScheduleEvent("addCurse" .. targetGuid .. curses.trackedCurseIds[spellID].name, curses.ApplyCurse, 0.2, self, spellID, targetGuid, GetTime())
elseif curses.conflagrateSpellIds[spellID] then
Cursive:ScheduleEvent("updateCurse" .. targetGuid .. L["Conflagrate"], curses.UpdateCurse, 0.2, self, spellID, targetGuid, GetTime())
Cursive:ScheduleEvent("updateCurse" .. targetGuid .. L["conflagrate"], curses.UpdateCurse, 0.2, self, spellID, targetGuid, GetTime())
end
elseif event == "START" then
if curses.trackedCurseIds[spellID] then
@@ -192,19 +190,21 @@ end)
Cursive:RegisterEvent("CHAT_MSG_SPELL_SELF_DAMAGE",
function(message)
-- check for resist
local _, _, spell, target = string.find(message, resist_test)
if spell and target then
local _, _, spellName, target = string.find(message, resist_test)
if spellName and target then
spellName = string.lower(spellName)
-- clear pending cast
curses.pendingCast = {}
if curses.trackedCurseNamesToTextures[spell] and lastGuid then
Cursive:CancelScheduledEvent("addCurse" .. lastGuid .. spell)
if curses.trackedCurseNamesToTextures[spellName] and lastGuid then
Cursive:CancelScheduledEvent("addCurse" .. lastGuid .. spellName)
-- check if sound should be played
if curses:ShouldPlayResistSound(lastGuid) then
PlaySoundFile("Interface\\AddOns\\Cursive\\Sounds\\resist.mp3")
end
elseif spell == L["Conflagrate"] and lastGuid then
Cursive:CancelScheduledEvent("updateCurse" .. lastGuid .. spell)
elseif spellName == L["conflagrate"] and lastGuid then
Cursive:CancelScheduledEvent("updateCurse" .. lastGuid .. spellName)
end
end
end
@@ -212,13 +212,14 @@ Cursive:RegisterEvent("CHAT_MSG_SPELL_SELF_DAMAGE",
Cursive:RegisterEvent("CHAT_MSG_SPELL_AURA_GONE_OTHER", function(message)
-- check if spell that faded is relevant
local _, _, spell, target = string.find(message, fades_test)
if spell and target then
if curses.trackedCurseNamesToTextures[spell] then
local _, _, spellName, target = string.find(message, fades_test)
if spellName and target then
spellName = string.lower(spellName)
if curses.trackedCurseNamesToTextures[spellName] then
-- loop through targets with active curses
for guid, data in pairs(curses.guids) do
for curseName, curseData in pairs(data) do
if curseName == spell then
if curseName == spellName then
-- see if target still has that curse
if not curses:ScanGuidForCurse(guid, curseData.spellID) then
-- remove curse
@@ -337,9 +338,9 @@ function curses:UpdateCurse(spellID, targetGuid, startTime)
if curses.conflagrateSpellIds[spellID] then
-- check if target has immolate
if curses:HasCurse(L["Immolate"], targetGuid) then
if curses:HasCurse(L["immolate"], targetGuid) then
-- reduce duration by 3 sec
curses.guids[targetGuid][L["Immolate"]].duration = curses.guids[targetGuid][L["Immolate"]].duration - 3
curses.guids[targetGuid][L["immolate"]].duration = curses.guids[targetGuid][L["immolate"]].duration - 3
end
end
end
+61 -61
View File
@@ -1,79 +1,79 @@
local L = AceLibrary("AceLocale-2.2"):new("Cursive")
function getDruidSpells()
return {
[339] = { name = L["Entangling Roots"], rank = 1, duration = 12 },
[1062] = { name = L["Entangling Roots"], rank = 2, duration = 15 },
[5195] = { name = L["Entangling Roots"], rank = 3, duration = 18 },
[5196] = { name = L["Entangling Roots"], rank = 4, duration = 21 },
[9852] = { name = L["Entangling Roots"], rank = 5, duration = 24 },
[9853] = { name = L["Entangling Roots"], rank = 6, duration = 27 },
[339] = { name = L["entangling roots"], rank = 1, duration = 12 },
[1062] = { name = L["entangling roots"], rank = 2, duration = 15 },
[5195] = { name = L["entangling roots"], rank = 3, duration = 18 },
[5196] = { name = L["entangling roots"], rank = 4, duration = 21 },
[9852] = { name = L["entangling roots"], rank = 5, duration = 24 },
[9853] = { name = L["entangling roots"], rank = 6, duration = 27 },
[700] = { name = L["Sleep"], rank = 1, duration = 20 },
[1090] = { name = L["Sleep"], rank = 2, duration = 30 },
[2937] = { name = L["Sleep"], rank = 3, duration = 40 },
[700] = { name = L["sleep"], rank = 1, duration = 20 },
[1090] = { name = L["sleep"], rank = 2, duration = 30 },
[2937] = { name = L["sleep"], rank = 3, duration = 40 },
[770] = { name = L["Faerie Fire"], rank = 1, duration = 40 },
[778] = { name = L["Faerie Fire"], rank = 2, duration = 40 },
[9749] = { name = L["Faerie Fire"], rank = 3, duration = 40 },
[9907] = { name = L["Faerie Fire"], rank = 4, duration = 40 },
[770] = { name = L["faerie fire"], rank = 1, duration = 40 },
[778] = { name = L["faerie fire"], rank = 2, duration = 40 },
[9749] = { name = L["faerie fire"], rank = 3, duration = 40 },
[9907] = { name = L["faerie fire"], rank = 4, duration = 40 },
[16855] = { name = L["Faerie Fire (Bear)"], rank = 1, duration = 40 },
[17387] = { name = L["Faerie Fire (Bear)"], rank = 2, duration = 40 },
[17388] = { name = L["Faerie Fire (Bear)"], rank = 3, duration = 40 },
[17389] = { name = L["Faerie Fire (Bear)"], rank = 4, duration = 40 },
[16855] = { name = L["faerie fire (bear)"], rank = 1, duration = 40 },
[17387] = { name = L["faerie fire (bear)"], rank = 2, duration = 40 },
[17388] = { name = L["faerie fire (bear)"], rank = 3, duration = 40 },
[17389] = { name = L["faerie fire (bear)"], rank = 4, duration = 40 },
[16857] = { name = L["Faerie Fire (Feral)"], rank = 1, duration = 40 },
[17390] = { name = L["Faerie Fire (Feral)"], rank = 2, duration = 40 },
[17391] = { name = L["Faerie Fire (Feral)"], rank = 3, duration = 40 },
[17392] = { name = L["Faerie Fire (Feral)"], rank = 4, duration = 40 },
[16857] = { name = L["faerie fire (feral)"], rank = 1, duration = 40 },
[17390] = { name = L["faerie fire (feral)"], rank = 2, duration = 40 },
[17391] = { name = L["faerie fire (feral)"], rank = 3, duration = 40 },
[17392] = { name = L["faerie fire (feral)"], rank = 4, duration = 40 },
[2637] = { name = L["Hibernate"], rank = 1, duration = 20 },
[18657] = { name = L["Hibernate"], rank = 2, duration = 30 },
[18658] = { name = L["Hibernate"], rank = 3, duration = 40 },
[2637] = { name = L["hibernate"], rank = 1, duration = 20 },
[18657] = { name = L["hibernate"], rank = 2, duration = 30 },
[18658] = { name = L["hibernate"], rank = 3, duration = 40 },
[5570] = { name = L["Insect Swarm"], rank = 1, duration = 18, variable_duration = true },
[24974] = { name = L["Insect Swarm"], rank = 2, duration = 18, variable_duration = true },
[24975] = { name = L["Insect Swarm"], rank = 3, duration = 18, variable_duration = true },
[24976] = { name = L["Insect Swarm"], rank = 4, duration = 18, variable_duration = true },
[24977] = { name = L["Insect Swarm"], rank = 5, duration = 18, variable_duration = true },
[5570] = { name = L["insect swarm"], rank = 1, duration = 18, variable_duration = true },
[24974] = { name = L["insect swarm"], rank = 2, duration = 18, variable_duration = true },
[24975] = { name = L["insect swarm"], rank = 3, duration = 18, variable_duration = true },
[24976] = { name = L["insect swarm"], rank = 4, duration = 18, variable_duration = true },
[24977] = { name = L["insect swarm"], rank = 5, duration = 18, variable_duration = true },
[8921] = { name = L["Moonfire"], rank = 1, duration = 9, variable_duration = true },
[8924] = { name = L["Moonfire"], rank = 2, duration = 18, variable_duration = true },
[8925] = { name = L["Moonfire"], rank = 3, duration = 18, variable_duration = true },
[8926] = { name = L["Moonfire"], rank = 4, duration = 18, variable_duration = true },
[8927] = { name = L["Moonfire"], rank = 5, duration = 18, variable_duration = true },
[8928] = { name = L["Moonfire"], rank = 6, duration = 18, variable_duration = true },
[8929] = { name = L["Moonfire"], rank = 7, duration = 18, variable_duration = true },
[9833] = { name = L["Moonfire"], rank = 8, duration = 18, variable_duration = true },
[9834] = { name = L["Moonfire"], rank = 9, duration = 18, variable_duration = true },
[9835] = { name = L["Moonfire"], rank = 10, duration = 18, variable_duration = true },
[8921] = { name = L["moonfire"], rank = 1, duration = 9, variable_duration = true },
[8924] = { name = L["moonfire"], rank = 2, duration = 18, variable_duration = true },
[8925] = { name = L["moonfire"], rank = 3, duration = 18, variable_duration = true },
[8926] = { name = L["moonfire"], rank = 4, duration = 18, variable_duration = true },
[8927] = { name = L["moonfire"], rank = 5, duration = 18, variable_duration = true },
[8928] = { name = L["moonfire"], rank = 6, duration = 18, variable_duration = true },
[8929] = { name = L["moonfire"], rank = 7, duration = 18, variable_duration = true },
[9833] = { name = L["moonfire"], rank = 8, duration = 18, variable_duration = true },
[9834] = { name = L["moonfire"], rank = 9, duration = 18, variable_duration = true },
[9835] = { name = L["moonfire"], rank = 10, duration = 18, variable_duration = true },
[1822] = { name = L["Rake"], rank = 1, duration = 9, variable_duration = true },
[1823] = { name = L["Rake"], rank = 2, duration = 9, variable_duration = true },
[1824] = { name = L["Rake"], rank = 3, duration = 9, variable_duration = true },
[9904] = { name = L["Rake"], rank = 4, duration = 9, variable_duration = true },
[1822] = { name = L["rake"], rank = 1, duration = 9, variable_duration = true },
[1823] = { name = L["rake"], rank = 2, duration = 9, variable_duration = true },
[1824] = { name = L["rake"], rank = 3, duration = 9, variable_duration = true },
[9904] = { name = L["rake"], rank = 4, duration = 9, variable_duration = true },
[1079] = { name = L["Rip"], rank = 1, duration = 12, variable_duration = true },
[9492] = { name = L["Rip"], rank = 2, duration = 12, variable_duration = true },
[9493] = { name = L["Rip"], rank = 3, duration = 12, variable_duration = true },
[9752] = { name = L["Rip"], rank = 4, duration = 12, variable_duration = true },
[9894] = { name = L["Rip"], rank = 5, duration = 12, variable_duration = true },
[9896] = { name = L["Rip"], rank = 6, duration = 12, variable_duration = true },
[1079] = { name = L["rip"], rank = 1, duration = 12, variable_duration = true },
[9492] = { name = L["rip"], rank = 2, duration = 12, variable_duration = true },
[9493] = { name = L["rip"], rank = 3, duration = 12, variable_duration = true },
[9752] = { name = L["rip"], rank = 4, duration = 12, variable_duration = true },
[9894] = { name = L["rip"], rank = 5, duration = 12, variable_duration = true },
[9896] = { name = L["rip"], rank = 6, duration = 12, variable_duration = true },
[2908] = { name = L["Soothe Animal"], rank = 1, duration = 15 },
[8955] = { name = L["Soothe Animal"], rank = 2, duration = 15 },
[9901] = { name = L["Soothe Animal"], rank = 3, duration = 15 },
[2908] = { name = L["soothe animal"], rank = 1, duration = 15 },
[8955] = { name = L["soothe animal"], rank = 2, duration = 15 },
[9901] = { name = L["soothe animal"], rank = 3, duration = 15 },
[5211] = { name = L["Bash"], rank = 1, duration = 2 },
[6798] = { name = L["Bash"], rank = 2, duration = 3 },
[8983] = { name = L["Bash"], rank = 3, duration = 4 },
[5211] = { name = L["bash"], rank = 1, duration = 2 },
[6798] = { name = L["bash"], rank = 2, duration = 3 },
[8983] = { name = L["bash"], rank = 3, duration = 4 },
[99] = { name = L["Demoralizing Roar"], rank = 1, duration = 30 },
[1735] = { name = L["Demoralizing Roar"], rank = 2, duration = 30 },
[9490] = { name = L["Demoralizing Roar"], rank = 3, duration = 30 },
[9747] = { name = L["Demoralizing Roar"], rank = 4, duration = 30 },
[9898] = { name = L["Demoralizing Roar"], rank = 5, duration = 30 },
[99] = { name = L["demoralizing roar"], rank = 1, duration = 30 },
[1735] = { name = L["demoralizing roar"], rank = 2, duration = 30 },
[9490] = { name = L["demoralizing roar"], rank = 3, duration = 30 },
[9747] = { name = L["demoralizing roar"], rank = 4, duration = 30 },
[9898] = { name = L["demoralizing roar"], rank = 5, duration = 30 },
[5209] = { name = L["Challenging Roar"], rank = 1, duration = 6 },
[5209] = { name = L["challenging roar"], rank = 1, duration = 6 },
}
end
+30 -30
View File
@@ -1,42 +1,42 @@
local L = AceLibrary("AceLocale-2.2"):new("Cursive")
function getHunterSpells()
return {
[3043] = { name = L["Scorpid Sting"], rank = 1, duration = 20 },
[14275] = { name = L["Scorpid Sting"], rank = 2, duration = 20 },
[14276] = { name = L["Scorpid Sting"], rank = 3, duration = 20 },
[14277] = { name = L["Scorpid Sting"], rank = 4, duration = 20 },
[3043] = { name = L["scorpid sting"], rank = 1, duration = 20 },
[14275] = { name = L["scorpid sting"], rank = 2, duration = 20 },
[14276] = { name = L["scorpid sting"], rank = 3, duration = 20 },
[14277] = { name = L["scorpid sting"], rank = 4, duration = 20 },
[1978] = { name = L["Serpent Sting"], rank = 1, duration = 15 },
[13549] = { name = L["Serpent Sting"], rank = 2, duration = 15 },
[13550] = { name = L["Serpent Sting"], rank = 3, duration = 15 },
[13551] = { name = L["Serpent Sting"], rank = 4, duration = 15 },
[13552] = { name = L["Serpent Sting"], rank = 5, duration = 15 },
[13553] = { name = L["Serpent Sting"], rank = 6, duration = 15 },
[13554] = { name = L["Serpent Sting"], rank = 7, duration = 15 },
[13555] = { name = L["Serpent Sting"], rank = 8, duration = 15 },
[25295] = { name = L["Serpent Sting"], rank = 9, duration = 15 },
[1978] = { name = L["serpent sting"], rank = 1, duration = 15 },
[13549] = { name = L["serpent sting"], rank = 2, duration = 15 },
[13550] = { name = L["serpent sting"], rank = 3, duration = 15 },
[13551] = { name = L["serpent sting"], rank = 4, duration = 15 },
[13552] = { name = L["serpent sting"], rank = 5, duration = 15 },
[13553] = { name = L["serpent sting"], rank = 6, duration = 15 },
[13554] = { name = L["serpent sting"], rank = 7, duration = 15 },
[13555] = { name = L["serpent sting"], rank = 8, duration = 15 },
[25295] = { name = L["serpent sting"], rank = 9, duration = 15 },
[3034] = { name = L["Viper Sting"], rank = 1, duration = 8 },
[14279] = { name = L["Viper Sting"], rank = 2, duration = 8 },
[14280] = { name = L["Viper Sting"], rank = 3, duration = 8 },
[3034] = { name = L["viper sting"], rank = 1, duration = 8 },
[14279] = { name = L["viper sting"], rank = 2, duration = 8 },
[14280] = { name = L["viper sting"], rank = 3, duration = 8 },
[2974] = { name = L["Wing Clip"], rank = 1, duration = 10 },
[14267] = { name = L["Wing Clip"], rank = 2, duration = 10 },
[14268] = { name = L["Wing Clip"], rank = 3, duration = 10 },
[2974] = { name = L["wing clip"], rank = 1, duration = 10 },
[14267] = { name = L["wing clip"], rank = 2, duration = 10 },
[14268] = { name = L["wing clip"], rank = 3, duration = 10 },
[5116] = { name = L["Concussive Shot"], rank = 1, duration = 4 },
[5116] = { name = L["concussive shot"], rank = 1, duration = 4 },
[19386] = { name = L["Wyvern Sting"], rank = 1, duration = 12 },
[24132] = { name = L["Wyvern Sting"], rank = 2, duration = 12 },
[24133] = { name = L["Wyvern Sting"], rank = 3, duration = 12 },
[19386] = { name = L["wyvern sting"], rank = 1, duration = 12 },
[24132] = { name = L["wyvern sting"], rank = 2, duration = 12 },
[24133] = { name = L["wyvern sting"], rank = 3, duration = 12 },
[19306] = { name = L["Counterattack"], rank = 1, duration = 5 },
[20909] = { name = L["Counterattack"], rank = 2, duration = 5 },
[20910] = { name = L["Counterattack"], rank = 3, duration = 5 },
[19306] = { name = L["counterattack"], rank = 1, duration = 5 },
[20909] = { name = L["counterattack"], rank = 2, duration = 5 },
[20910] = { name = L["counterattack"], rank = 3, duration = 5 },
[1130] = { name = L["Hunter\'s Mark"], rank = 1, duration = 120 },
[14323] = { name = L["Hunter\'s Mark"], rank = 2, duration = 120 },
[14324] = { name = L["Hunter\'s Mark"], rank = 3, duration = 120 },
[14325] = { name = L["Hunter\'s Mark"], rank = 4, duration = 120 },
[1130] = { name = L["hunter's mark"], rank = 1, duration = 120 },
[14323] = { name = L["hunter's mark"], rank = 2, duration = 120 },
[14324] = { name = L["hunter's mark"], rank = 3, duration = 120 },
[14325] = { name = L["hunter's mark"], rank = 4, duration = 120 },
}
end
+7 -7
View File
@@ -1,13 +1,13 @@
local L = AceLibrary("AceLocale-2.2"):new("Cursive")
function getMageSpells()
return {
[118] = { name = L["Polymorph"], rank = L["Rank 1"], duration = 20 },
[12824] = { name = L["Polymorph"], rank = L["Rank 2"], duration = 30 },
[12825] = { name = L["Polymorph"], rank = L["Rank 3"], duration = 40 },
[12826] = { name = L["Polymorph"], rank = L["Rank 4"], duration = 50 },
[118] = { name = L["polymorph"], rank = 1, duration = 20 },
[12824] = { name = L["polymorph"], rank = 2, duration = 30 },
[12825] = { name = L["polymorph"], rank = 3, duration = 40 },
[12826] = { name = L["polymorph"], rank = 4, duration = 50 },
[28270] = { name = L["Polymorph: Cow"], rank = L["Rank 1"], duration = 50 },
[28271] = { name = L["Polymorph: Turtle"], rank = L["Rank 1"], duration = 50 },
[28272] = { name = L["Polymorph: Pig"], rank = L["Rank 1"], duration = 50 },
[28270] = { name = L["polymorph: cow"], rank = 1, duration = 50 },
[28271] = { name = L["polymorph: turtle"], rank =1, duration = 50 },
[28272] = { name = L["polymorph: pig"], rank = 1, duration = 50 },
}
end
+38 -38
View File
@@ -1,50 +1,50 @@
local L = AceLibrary("AceLocale-2.2"):new("Cursive")
function getPriestSpells()
return {
[1425] = { name = L["Shackle Undead"], rank = 1, duration = 30 },
[9486] = { name = L["Shackle Undead"], rank = 2, duration = 40 },
[10956] = { name = L["Shackle Undead"], rank = 3, duration = 50 },
[1425] = { name = L["shackle undead"], rank = 1, duration = 30 },
[9486] = { name = L["shackle undead"], rank = 2, duration = 40 },
[10956] = { name = L["shackle undead"], rank = 3, duration = 50 },
[453] = { name = L["Mind Soothe"], rank = 1, duration = 15 },
[8192] = { name = L["Mind Soothe"], rank = 2, duration = 15 },
[10953] = { name = L["Mind Soothe"], rank = 3, duration = 15 },
[453] = { name = L["mind soothe"], rank = 1, duration = 15 },
[8192] = { name = L["mind soothe"], rank = 2, duration = 15 },
[10953] = { name = L["mind soothe"], rank = 3, duration = 15 },
[605] = { name = L["Mind Control"], rank = 1, duration = 60 },
[10911] = { name = L["Mind Control"], rank = 2, duration = 30 },
[10912] = { name = L["Mind Control"], rank = 3, duration = 30 },
[605] = { name = L["mind control"], rank = 1, duration = 60 },
[10911] = { name = L["mind control"], rank = 2, duration = 30 },
[10912] = { name = L["mind control"], rank = 3, duration = 30 },
[2944] = { name = L["Devouring Plague"], rank = 1, duration = 24 },
[19276] = { name = L["Devouring Plague"], rank = 2, duration = 24 },
[19277] = { name = L["Devouring Plague"], rank = 3, duration = 24 },
[19278] = { name = L["Devouring Plague"], rank = 4, duration = 24 },
[19279] = { name = L["Devouring Plague"], rank = 5, duration = 24 },
[19280] = { name = L["Devouring Plague"], rank = 6, duration = 24 },
[2944] = { name = L["devouring plague"], rank = 1, duration = 24 },
[19276] = { name = L["devouring plague"], rank = 2, duration = 24 },
[19277] = { name = L["devouring plague"], rank = 3, duration = 24 },
[19278] = { name = L["devouring plague"], rank = 4, duration = 24 },
[19279] = { name = L["devouring plague"], rank = 5, duration = 24 },
[19280] = { name = L["devouring plague"], rank = 6, duration = 24 },
[9035] = { name = L["Hex of Weakness"], rank = 1, duration = 120 },
[19281] = { name = L["Hex of Weakness"], rank = 2, duration = 120 },
[19282] = { name = L["Hex of Weakness"], rank = 3, duration = 120 },
[19283] = { name = L["Hex of Weakness"], rank = 4, duration = 120 },
[19284] = { name = L["Hex of Weakness"], rank = 5, duration = 120 },
[19285] = { name = L["Hex of Weakness"], rank = 6, duration = 120 },
[9035] = { name = L["hex of weakness"], rank = 1, duration = 120 },
[19281] = { name = L["hex of weakness"], rank = 2, duration = 120 },
[19282] = { name = L["hex of weakness"], rank = 3, duration = 120 },
[19283] = { name = L["hex of weakness"], rank = 4, duration = 120 },
[19284] = { name = L["hex of weakness"], rank = 5, duration = 120 },
[19285] = { name = L["hex of weakness"], rank = 6, duration = 120 },
[589] = { name = L["Shadow Word: Pain"], rank = 1, duration = 24 }, -- assume they have talent
[594] = { name = L["Shadow Word: Pain"], rank = 2, duration = 24 },
[970] = { name = L["Shadow Word: Pain"], rank = 3, duration = 24 },
[992] = { name = L["Shadow Word: Pain"], rank = 4, duration = 24 },
[2767] = { name = L["Shadow Word: Pain"], rank = 5, duration = 24 },
[10892] = { name = L["Shadow Word: Pain"], rank = 6, duration = 24 },
[10893] = { name = L["Shadow Word: Pain"], rank = 7, duration = 24 },
[10894] = { name = L["Shadow Word: Pain"], rank = 8, duration = 24 },
[589] = { name = L["shadow word: pain"], rank = 1, duration = 24 }, -- assume they have talent
[594] = { name = L["shadow word: pain"], rank = 2, duration = 24 },
[970] = { name = L["shadow word: pain"], rank = 3, duration = 24 },
[992] = { name = L["shadow word: pain"], rank = 4, duration = 24 },
[2767] = { name = L["shadow word: pain"], rank = 5, duration = 24 },
[10892] = { name = L["shadow word: pain"], rank = 6, duration = 24 },
[10893] = { name = L["shadow word: pain"], rank = 7, duration = 24 },
[10894] = { name = L["shadow word: pain"], rank = 8, duration = 24 },
[15286] = { name = L["Vampiric Embrace"], rank = 1, duration = 60 },
[15286] = { name = L["vampiric embrace"], rank = 1, duration = 60 },
[14914] = { name = L["Holy Fire"], rank = 1, duration = 10 },
[15262] = { name = L["Holy Fire"], rank = 2, duration = 10 },
[15263] = { name = L["Holy Fire"], rank = 3, duration = 10 },
[15264] = { name = L["Holy Fire"], rank = 4, duration = 10 },
[15265] = { name = L["Holy Fire"], rank = 5, duration = 10 },
[15266] = { name = L["Holy Fire"], rank = 6, duration = 10 },
[15267] = { name = L["Holy Fire"], rank = 7, duration = 10 },
[15261] = { name = L["Holy Fire"], rank = 8, duration = 10 },
[14914] = { name = L["holy fire"], rank = 1, duration = 10 },
[15262] = { name = L["holy fire"], rank = 2, duration = 10 },
[15263] = { name = L["holy fire"], rank = 3, duration = 10 },
[15264] = { name = L["holy fire"], rank = 4, duration = 10 },
[15265] = { name = L["holy fire"], rank = 5, duration = 10 },
[15266] = { name = L["holy fire"], rank = 6, duration = 10 },
[15267] = { name = L["holy fire"], rank = 7, duration = 10 },
[15261] = { name = L["holy fire"], rank = 8, duration = 10 },
}
end
+26 -26
View File
@@ -1,36 +1,36 @@
local L = AceLibrary("AceLocale-2.2"):new("Cursive")
function getRogueSpells()
return {
[2094] = { name = L["Blind"], rank = 1, duration = 10 },
[21060] = { name = L["Blind"], rank = 1, duration = 10 },
[2094] = { name = L["blind"], rank = 1, duration = 10 },
[21060] = { name = L["blind"], rank = 1, duration = 10 },
[6770] = { name = L["Sap"], rank = 1, duration = 25 },
[2070] = { name = L["Sap"], rank = 2, duration = 35 },
[11297] = { name = L["Sap"], rank = 3, duration = 45 },
[6770] = { name = L["sap"], rank = 1, duration = 25 },
[2070] = { name = L["sap"], rank = 2, duration = 35 },
[11297] = { name = L["sap"], rank = 3, duration = 45 },
[1776] = { name = L["Gouge"], rank = 1, duration = 4 },
[1777] = { name = L["Gouge"], rank = 2, duration = 4 },
[8629] = { name = L["Gouge"], rank = 3, duration = 4 },
[11285] = { name = L["Gouge"], rank = 4, duration = 4 },
[11286] = { name = L["Gouge"], rank = 5, duration = 4 },
[1776] = { name = L["gouge"], rank = 1, duration = 4 },
[1777] = { name = L["gouge"], rank = 2, duration = 4 },
[8629] = { name = L["gouge"], rank = 3, duration = 4 },
[11285] = { name = L["gouge"], rank = 4, duration = 4 },
[11286] = { name = L["gouge"], rank = 5, duration = 4 },
[8647] = { name = L["Expose Armor"], rank = 1, duration = 30 }, -- this is a shared debuff but almost always only done by 1 rogue
[8649] = { name = L["Expose Armor"], rank = 2, duration = 30 },
[8650] = { name = L["Expose Armor"], rank = 3, duration = 30 },
[11197] = { name = L["Expose Armor"], rank = 4, duration = 30 },
[11198] = { name = L["Expose Armor"], rank = 5, duration = 30 },
[8647] = { name = L["expose armor"], rank = 1, duration = 30 }, -- this is a shared debuff but almost always only done by 1 rogue
[8649] = { name = L["expose armor"], rank = 2, duration = 30 },
[8650] = { name = L["expose armor"], rank = 3, duration = 30 },
[11197] = { name = L["expose armor"], rank = 4, duration = 30 },
[11198] = { name = L["expose armor"], rank = 5, duration = 30 },
[703] = { name = L["Garrote"], rank = 1, duration = 18 },
[8631] = { name = L["Garrote"], rank = 2, duration = 18 },
[8632] = { name = L["Garrote"], rank = 3, duration = 18 },
[8633] = { name = L["Garrote"], rank = 4, duration = 18 },
[11289] = { name = L["Garrote"], rank = 5, duration = 18 },
[11290] = { name = L["Garrote"], rank = 6, duration = 18 },
[703] = { name = L["garrote"], rank = 1, duration = 18 },
[8631] = { name = L["garrote"], rank = 2, duration = 18 },
[8632] = { name = L["garrote"], rank = 3, duration = 18 },
[8633] = { name = L["garrote"], rank = 4, duration = 18 },
[11289] = { name = L["garrote"], rank = 5, duration = 18 },
[11290] = { name = L["garrote"], rank = 6, duration = 18 },
[2818] = { name = L["Deadly Poison"], rank = 1, duration = 12 },
[2819] = { name = L["Deadly Poison II"], rank = 2, duration = 12 },
[11353] = { name = L["Deadly Poison III"], rank = 3, duration = 12 },
[11354] = { name = L["Deadly Poison IV"], rank = 4, duration = 12 },
[25349] = { name = L["Deadly Poison V"], rank = 5, duration = 12 },
[2818] = { name = L["deadly poison"], rank = 1, duration = 12 },
[2819] = { name = L["deadly poison II"], rank = 2, duration = 12 },
[11353] = { name = L["deadly poison III"], rank = 3, duration = 12 },
[11354] = { name = L["deadly poison IV"], rank = 4, duration = 12 },
[25349] = { name = L["deadly poison V"], rank = 5, duration = 12 },
}
end
+6 -6
View File
@@ -1,11 +1,11 @@
local L = AceLibrary("AceLocale-2.2"):new("Cursive")
function getShamanSpells()
return {
[8050] = { name = L["Flame Shock"], rank = 1, duration = 12, variable_duration = true },
[8052] = { name = L["Flame Shock"], rank = 2, duration = 12, variable_duration = true },
[8053] = { name = L["Flame Shock"], rank = 3, duration = 12, variable_duration = true },
[10447] = { name = L["Flame Shock"], rank = 4, duration = 12, variable_duration = true },
[10448] = { name = L["Flame Shock"], rank = 5, duration = 12, variable_duration = true },
[29228] = { name = L["Flame Shock"], rank = 6, duration = 12, variable_duration = true },
[8050] = { name = L["flame shock"], rank = 1, duration = 12, variable_duration = true },
[8052] = { name = L["flame shock"], rank = 2, duration = 12, variable_duration = true },
[8053] = { name = L["flame shock"], rank = 3, duration = 12, variable_duration = true },
[10447] = { name = L["flame shock"], rank = 4, duration = 12, variable_duration = true },
[10448] = { name = L["flame shock"], rank = 5, duration = 12, variable_duration = true },
[29228] = { name = L["flame shock"], rank = 6, duration = 12, variable_duration = true },
}
end
+52 -52
View File
@@ -1,70 +1,70 @@
local L = AceLibrary("AceLocale-2.2"):new("Cursive")
function getWarlockSpells()
return {
[172] = { name = L["Corruption"], rank = 1, duration = 12, variable_duration = true },
[6222] = { name = L["Corruption"], rank = 2, duration = 15, variable_duration = true },
[6223] = { name = L["Corruption"], rank = 3, duration = 18, variable_duration = true },
[7648] = { name = L["Corruption"], rank = 4, duration = 18, variable_duration = true },
[11671] = { name = L["Corruption"], rank = 5, duration = 18, variable_duration = true },
[11672] = { name = L["Corruption"], rank = 6, duration = 18, variable_duration = true },
[25311] = { name = L["Corruption"], rank = 7, duration = 18, variable_duration = true },
[172] = { name = L["corruption"], rank = 1, duration = 12, variable_duration = true },
[6222] = { name = L["corruption"], rank = 2, duration = 15, variable_duration = true },
[6223] = { name = L["corruption"], rank = 3, duration = 18, variable_duration = true },
[7648] = { name = L["corruption"], rank = 4, duration = 18, variable_duration = true },
[11671] = { name = L["corruption"], rank = 5, duration = 18, variable_duration = true },
[11672] = { name = L["corruption"], rank = 6, duration = 18, variable_duration = true },
[25311] = { name = L["corruption"], rank = 7, duration = 18, variable_duration = true },
[980] = { name = L["Curse of Agony"], rank = 1, duration = 24, variable_duration = true },
[1014] = { name = L["Curse of Agony"], rank = 2, duration = 24, variable_duration = true },
[6217] = { name = L["Curse of Agony"], rank = 3, duration = 24, variable_duration = true },
[11711] = { name = L["Curse of Agony"], rank = 4, duration = 24, variable_duration = true },
[11712] = { name = L["Curse of Agony"], rank = 5, duration = 24, variable_duration = true },
[11713] = { name = L["Curse of Agony"], rank = 6, duration = 24, variable_duration = true },
[980] = { name = L["curse of agony"], rank = 1, duration = 24, variable_duration = true },
[1014] = { name = L["curse of agony"], rank = 2, duration = 24, variable_duration = true },
[6217] = { name = L["curse of agony"], rank = 3, duration = 24, variable_duration = true },
[11711] = { name = L["curse of agony"], rank = 4, duration = 24, variable_duration = true },
[11712] = { name = L["curse of agony"], rank = 5, duration = 24, variable_duration = true },
[11713] = { name = L["curse of agony"], rank = 6, duration = 24, variable_duration = true },
[603] = { name = L["Curse of Doom"], rank = 1, duration = 60 },
[603] = { name = L["curse of doom"], rank = 1, duration = 60 },
[704] = { name = L["Curse of Recklessness"], rank = 1, duration = 120 },
[7658] = { name = L["Curse of Recklessness"], rank = 2, duration = 120 },
[7659] = { name = L["Curse of Recklessness"], rank = 3, duration = 120 },
[11717] = { name = L["Curse of Recklessness"], rank = 4, duration = 120 },
[704] = { name = L["curse of recklessness"], rank = 1, duration = 120 },
[7658] = { name = L["curse of recklessness"], rank = 2, duration = 120 },
[7659] = { name = L["curse of recklessness"], rank = 3, duration = 120 },
[11717] = { name = L["curse of recklessness"], rank = 4, duration = 120 },
[17862] = { name = L["Curse of Shadow"], rank = 1, duration = 300 },
[17937] = { name = L["Curse of Shadow"], rank = 2, duration = 300 },
[17862] = { name = L["curse of shadow"], rank = 1, duration = 300 },
[17937] = { name = L["curse of shadow"], rank = 2, duration = 300 },
[1490] = { name = L["Curse of the Elements"], rank = 1, duration = 300 },
[11721] = { name = L["Curse of the Elements"], rank = 2, duration = 300 },
[11722] = { name = L["Curse of the Elements"], rank = 3, duration = 300 },
[1490] = { name = L["curse of the elements"], rank = 1, duration = 300 },
[11721] = { name = L["curse of the elements"], rank = 2, duration = 300 },
[11722] = { name = L["curse of the elements"], rank = 3, duration = 300 },
[1714] = { name = L["Curse of Tongues"], rank = 1, duration = 30 },
[11719] = { name = L["Curse of Tongues"], rank = 2, duration = 30 },
[1714] = { name = L["curse of tongues"], rank = 1, duration = 30 },
[11719] = { name = L["curse of tongues"], rank = 2, duration = 30 },
[702] = { name = L["Curse of Weakness"], rank = 1, duration = 120 },
[1108] = { name = L["Curse of Weakness"], rank = 2, duration = 120 },
[6205] = { name = L["Curse of Weakness"], rank = 3, duration = 120 },
[7646] = { name = L["Curse of Weakness"], rank = 4, duration = 120 },
[11707] = { name = L["Curse of Weakness"], rank = 5, duration = 120 },
[11708] = { name = L["Curse of Weakness"], rank = 6, duration = 120 },
[702] = { name = L["curse of weakness"], rank = 1, duration = 120 },
[1108] = { name = L["curse of weakness"], rank = 2, duration = 120 },
[6205] = { name = L["curse of weakness"], rank = 3, duration = 120 },
[7646] = { name = L["curse of weakness"], rank = 4, duration = 120 },
[11707] = { name = L["curse of weakness"], rank = 5, duration = 120 },
[11708] = { name = L["curse of weakness"], rank = 6, duration = 120 },
[18223] = { name = L["Curse of Exhaustion"], rank = 1, duration = 12 },
[18223] = { name = L["curse of exhaustion"], rank = 1, duration = 12 },
[348] = { name = L["Immolate"], rank = 1, duration = 15 },
[707] = { name = L["Immolate"], rank = 2, duration = 15 },
[1094] = { name = L["Immolate"], rank = 3, duration = 15 },
[2941] = { name = L["Immolate"], rank = 4, duration = 15 },
[11665] = { name = L["Immolate"], rank = 5, duration = 15 },
[11667] = { name = L["Immolate"], rank = 6, duration = 15 },
[11668] = { name = L["Immolate"], rank = 7, duration = 15 },
[25309] = { name = L["Immolate"], rank = 8, duration = 15 },
[348] = { name = L["immolate"], rank = 1, duration = 15 },
[707] = { name = L["immolate"], rank = 2, duration = 15 },
[1094] = { name = L["immolate"], rank = 3, duration = 15 },
[2941] = { name = L["immolate"], rank = 4, duration = 15 },
[11665] = { name = L["immolate"], rank = 5, duration = 15 },
[11667] = { name = L["immolate"], rank = 6, duration = 15 },
[11668] = { name = L["immolate"], rank = 7, duration = 15 },
[25309] = { name = L["immolate"], rank = 8, duration = 15 },
[6789] = { name = L["Death Coil"], rank = 1, duration = 3 },
[17925] = { name = L["Death Coil"], rank = 2, duration = 3 },
[17926] = { name = L["Death Coil"], rank = 3, duration = 3 },
[6789] = { name = L["death coil"], rank = 1, duration = 3 },
[17925] = { name = L["death coil"], rank = 2, duration = 3 },
[17926] = { name = L["death coil"], rank = 3, duration = 3 },
[710] = { name = L["Banish"], rank = 1, duration = 20 },
[18647] = { name = L["Banish"], rank = 2, duration = 30 },
[710] = { name = L["banish"], rank = 1, duration = 20 },
[18647] = { name = L["banish"], rank = 2, duration = 30 },
[18265] = { name = L["Siphon Life"], rank = 1, duration = 30, variable_duration = true },
[18879] = { name = L["Siphon Life"], rank = 2, duration = 30, variable_duration = true },
[18880] = { name = L["Siphon Life"], rank = 3, duration = 30, variable_duration = true },
[18881] = { name = L["Siphon Life"], rank = 4, duration = 30, variable_duration = true },
[18265] = { name = L["siphon life"], rank = 1, duration = 30, variable_duration = true },
[18879] = { name = L["siphon life"], rank = 2, duration = 30, variable_duration = true },
[18880] = { name = L["siphon life"], rank = 3, duration = 30, variable_duration = true },
[18881] = { name = L["siphon life"], rank = 4, duration = 30, variable_duration = true },
[5782] = { name = L["Fear"], rank = 1, duration = 10 },
[6213] = { name = L["Fear"], rank = 2, duration = 15 },
[6215] = { name = L["Fear"], rank = 3, duration = 20 },
[5782] = { name = L["fear"], rank = 1, duration = 10 },
[6213] = { name = L["fear"], rank = 2, duration = 15 },
[6215] = { name = L["fear"], rank = 3, duration = 20 },
}
end