Skip to content

Commit 4142de2

Browse files
committed
fix: #2371 - Corruption treated as Immolate
1 parent 2f1fcac commit 4142de2

4 files changed

Lines changed: 13 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## v12.0.9
2+
* Fix #2371 - Corruption treated as Immolate
3+
14
## v12.0.8
25
* Fix assorted errors
36

Components/Core/Common/Auras.lua

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,13 +121,17 @@ if TMW.clientHasSecrets then
121121

122122
local fixes = {
123123
[445474] = function()
124-
-- 445474: Wither (Hellcaller warlock) (overrides Immolate)
124+
-- 445474: Wither (Hellcaller warlock) (overrides Immolate/Corruption)
125125
-- 348: Immolation
126+
-- 172: Corruption
126127
-- IsPlayerSpell doesn't work on wither, so we have to check overrides.
127128
-- If Wither isn't the active override, don't use wither, force this to immolate.
128-
if C_Spell.GetOverrideSpell(348) == 348 then
129+
if IsPlayerSpell(348) and C_Spell.GetOverrideSpell(348) == 348 then
129130
return 348
130131
end
132+
if IsPlayerSpell(172) and C_Spell.GetOverrideSpell(172) == 172 then
133+
return 172
134+
end
131135
end
132136
}
133137

Options/CHANGELOG.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ if not TMW then return end
33
TMW.CHANGELOG_LASTVER="10.0.0"
44

55
TMW.CHANGELOG = [==[
6+
## v12.0.9
7+
* Fix #2371 - Corruption treated as Immolate
8+
69
## v12.0.8
710
* Fix assorted errors
811

TellMeWhen.toc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
## X-WoWI-ID: 10855
1919
## X-Wago-ID: ZQ6aZqKW
2020

21-
## Version: 12.0.7
21+
## Version: 12.0.9
2222
## Author: Cybeloras of Aerie Peak
2323
## IconTexture: Interface\Addons\TellMeWhen\Textures\LDB Icon
2424
## AddonCompartmentFunc: TellMeWhen_OnAddonCompartmentClick

0 commit comments

Comments
 (0)