Merging fixes from tbc

This commit is contained in:
Tercio Jose
2021-11-03 13:05:55 -03:00
parent e701c95fdd
commit 8539e3b3ab
3 changed files with 13 additions and 9 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
## Interface: 20501
## Interface: 20502
## Title: Details! Damage Meter
## Notes: Essential tool to impress that chick in your raid.
## SavedVariables: _detalhes_global
+1 -1
View File
@@ -8,7 +8,7 @@
_detalhes.build_counter = 9108
_detalhes.alpha_build_counter = 9108 --if this is higher than the regular counter, use it instead
_detalhes.bcc_counter = 28
_detalhes.bcc_counter = 29
_detalhes.dont_open_news = true
_detalhes.game_version = version
_detalhes.userversion = version .. _detalhes.build_counter
+11 -7
View File
@@ -433,14 +433,18 @@
Details.SpecialSpellActorsName = {}
--add sanguine affix
Details.SpecialSpellActorsName[Details.SanguineHealActorName] = SPELLID_SANGUINE_HEAL
if (not isTBC) then
if (Details.SanguineHealActorName) then
Details.SpecialSpellActorsName[Details.SanguineHealActorName] = SPELLID_SANGUINE_HEAL
end
--add kyrian weapons
Details.SpecialSpellActorsName[Details.KyrianWeaponActorName] = Details.KyrianWeaponActorSpellId
for spellId in pairs(Details.KyrianWeaponSpellIds) do
local spellName = GetSpellInfo(spellId)
if (spellName) then
Details.SpecialSpellActorsName[spellName] = spellId
--add kyrian weapons
Details.SpecialSpellActorsName[Details.KyrianWeaponActorName] = Details.KyrianWeaponActorSpellId
for spellId in pairs(Details.KyrianWeaponSpellIds) do
local spellName = GetSpellInfo(spellId)
if (spellName) then
Details.SpecialSpellActorsName[spellName] = spellId
end
end
end