Skip to content

Commit 3dd9383

Browse files
committed
Fix rune type order issue (frost/unholy changed from original game)
1 parent 8a6cbbe commit 3dd9383

File tree

1 file changed

+7
-16
lines changed

1 file changed

+7
-16
lines changed

MagicRunes.lua

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -100,53 +100,44 @@ local runeInfo = {
100100
local runeSets = {
101101
["Blizzard Improved"] = {
102102
"Interface\\AddOns\\MagicRunes\\Textures\\BlizzardBlood.tga",
103-
"Interface\\AddOns\\MagicRunes\\Textures\\BlizzardUnholy.tga",
104103
"Interface\\AddOns\\MagicRunes\\Textures\\BlizzardFrost.tga",
104+
"Interface\\AddOns\\MagicRunes\\Textures\\BlizzardUnholy.tga",
105105
"Interface\\AddOns\\MagicRunes\\Textures\\BlizzardDeath.tga",
106106
},
107107
["Blizzard"] = {
108108
"Interface\\PlayerFrame\\UI-PlayerFrame-Deathknight-Blood",
109-
"Interface\\PlayerFrame\\UI-PlayerFrame-Deathknight-Unholy";
110109
"Interface\\PlayerFrame\\UI-PlayerFrame-Deathknight-Frost",
110+
"Interface\\PlayerFrame\\UI-PlayerFrame-Deathknight-Unholy";
111111
"Interface\\PlayerFrame\\UI-PlayerFrame-Deathknight-Death"
112112
},
113113
Japanese = {
114114
"Interface\\AddOns\\MagicRunes\\Textures\\JapaneseBlood.tga",
115-
"Interface\\AddOns\\MagicRunes\\Textures\\JapaneseUnholy.tga",
116115
"Interface\\AddOns\\MagicRunes\\Textures\\JapaneseFrost.tga",
116+
"Interface\\AddOns\\MagicRunes\\Textures\\JapaneseUnholy.tga",
117117
"Interface\\AddOns\\MagicRunes\\Textures\\JapaneseDeath.tga",
118118
},
119119
["DKI/Vixen"] = {
120120
"Interface\\AddOns\\MagicRunes\\Textures\\VixenBlood.tga",
121-
"Interface\\AddOns\\MagicRunes\\Textures\\VixenUnholy.tga",
122121
"Interface\\AddOns\\MagicRunes\\Textures\\VixenFrost.tga",
122+
"Interface\\AddOns\\MagicRunes\\Textures\\VixenUnholy.tga",
123123
"Interface\\AddOns\\MagicRunes\\Textures\\VixenDeath.tga",
124124
},
125125
["Gloss Orb by Camalus"] = {
126126
"Interface\\AddOns\\MagicRunes\\Textures\\GlossOrbBlood.tga",
127-
"Interface\\AddOns\\MagicRunes\\Textures\\GlossOrbUnholy.tga",
128127
"Interface\\AddOns\\MagicRunes\\Textures\\GlossOrbFrost.tga",
128+
"Interface\\AddOns\\MagicRunes\\Textures\\GlossOrbUnholy.tga",
129129
"Interface\\AddOns\\MagicRunes\\Textures\\GlossOrbDeath.tga",
130130
},
131131
["Punished by Lichborne"] = {
132132
"Interface\\AddOns\\MagicRunes\\Textures\\PunishedBlood.tga",
133-
"Interface\\AddOns\\MagicRunes\\Textures\\PunishedUnholy.tga",
134133
"Interface\\AddOns\\MagicRunes\\Textures\\PunishedFrost.tga",
134+
"Interface\\AddOns\\MagicRunes\\Textures\\PunishedUnholy.tga",
135135
"Interface\\AddOns\\MagicRunes\\Textures\\PunishedDeath.tga",
136136
},
137137
}
138138

139139
if GetRuneType == nil then
140-
GetRuneType = function(type)
141-
local spec = GetSpecialization()
142-
if spec == 2 then
143-
return 3
144-
elseif spec == 3 then
145-
return 2
146-
else
147-
return 1
148-
end
149-
end
140+
GetRuneType = GetSpecialization()
150141
end
151142

152143
mod.spellCache = {}

0 commit comments

Comments
 (0)