Skip to content

Commit

Permalink
fix: #2181 totem tracking by name broken, added new warlock talents t…
Browse files Browse the repository at this point in the history
…o Guardians icon type
  • Loading branch information
ascott18 committed Jul 26, 2024
1 parent 3df3843 commit 0b9a9f5
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* Fix: #2178 Spell dragging to icons broken (again) in WoW 11.0
* Fix: #2179 Tracking Active condition broken in WoW 11.0
* Fix: #2182 Unlearned choice node talents missing from suggestion list
* Fix: #2181 totem tracking by name broken, added new warlock talents to Guardians icon type

## v11.0.1
* Fix: #2174 - Autocast conditions not working
Expand Down
2 changes: 1 addition & 1 deletion Components/Core/Spells/Spells.lua
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ local function getSpellNames(setting, doLower, firstOnly, convert, hash, allowRe

if C_Spell and C_Spell.GetOverrideSpell then
local spellID = C_Spell.GetOverrideSpell(v or "")
if spellID then
if spellID and spellID ~= 0 then
spells[k] = spellID
end
end
Expand Down
9 changes: 8 additions & 1 deletion Components/IconTypes/IconType_guardian/guardian.lua
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,19 @@ Type.GuardianInfo = TMW.isClassic and {

[210910] = Info(10, 423585, false), -- Doomfiend (Dragonflight s3/s4 warlock tier set bonus)

[135816] = Info(15, 264119, true), -- Summon Vilefiend
[135002] = Info(15, 265187, true), -- Summon Demonic Tyrant

[ 17252] = Info(17, 111898, true), -- Grimorie: Felguard
[107024] = Info(15, 212459, true), -- Call Fel Lord
[107100] = Info(20, 201996, true), -- Call Observer

[135816] = Info(15, 264119, true), -- Summon Vilefiend
-- wowhead.com/npc=226269/charhound
-- wowhead.com/spell=455476/summon-charhound
[226269] = Info(15, 455476, true),
-- wowhead.com/spell=455465/summon-gloomhound
-- wowhead.com/npc=226268/gloomhound
[226268] = Info(15, 455465, true),
}

local GuardianInfo = Type.GuardianInfo
Expand Down
2 changes: 1 addition & 1 deletion Components/IconTypes/IconType_totem/totem.lua
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ function Type:Setup(icon)
name = ""
end

icon.Spells = TMW:GetSpells(name, true)
icon.Spells = TMW:GetSpells(name, false)

icon.FirstTexture = icon.Spells.FirstString and GetSpellTexture(icon.Spells.FirstString)
if not icon.FirstTexture and onlySlot then
Expand Down
1 change: 1 addition & 0 deletions Options/CHANGELOG.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ TMW.CHANGELOG = [==[
* Fix: #2178 Spell dragging to icons broken (again) in WoW 11.0
* Fix: #2179 Tracking Active condition broken in WoW 11.0
* Fix: #2182 Unlearned choice node talents missing from suggestion list
* Fix: #2181 totem tracking by name broken, added new warlock talents to Guardians icon type
## v11.0.1
* Fix: #2174 - Autocast conditions not working
Expand Down

0 comments on commit 0b9a9f5

Please sign in to comment.