Don't show new version chat message when Suppress Alerts

This commit is contained in:
Tercio Jose
2021-07-01 22:26:00 -03:00
parent 07a60b42ec
commit dbfe4b0fc2
3 changed files with 55 additions and 51 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
_detalhes.build_counter = 8697
_detalhes.alpha_build_counter = 8697 --if this is higher than the regular counter, use it instead
_detalhes.bcc_counter = 24
_detalhes.bcc_counter = 25
_detalhes.dont_open_news = true
_detalhes.game_version = version
_detalhes.userversion = version .. _detalhes.build_counter
+4
View File
@@ -176,6 +176,10 @@
if (_detalhes.debug) then
_detalhes:Msg ("(debug) received version alert ", build_number)
end
if (_detalhes.streamer_config.no_alerts) then
return
end
build_number = tonumber (build_number)
+50 -50
View File
@@ -1209,58 +1209,58 @@ do
[71] = 73, -- Vanguard
}
_detalhes.SpecIDToClass = {
[577] = "DEMONHUNTER", -- Havoc Demon Hunter
[581] = "DEMONHUNTER", -- Vengeance Demon Hunter
[252] = "DEATHKNIGHT", -- Unholy Death Knight
[251] = "DEATHKNIGHT", -- Frost Death Knight
[250] = "DEATHKNIGHT", -- Blood Death Knight
[102] = "DRUID", -- Balance Druid
[103] = "DRUID", -- Feral Druid
[104] = "DRUID", -- Guardian Druid
[105] = "DRUID", -- Restoration Druid
[253] = "HUNTER", -- Beast Mastery Hunter
[254] = "HUNTER", -- Marksmanship Hunter
[255] = "HUNTER", -- Survival Hunter
[62] = "MAGE", -- Arcane Mage
[63] = "MAGE", -- Fire Mage
[64] = "MAGE", -- Frost Mage
[268] = "MONK", -- Brewmaster Monk
[269] = "MONK", -- Windwalker Monk
[270] = "MONK", -- Mistweaver Monk
[65] = "PALADIN", -- Holy Paladin
[66] = "PALADIN", -- Protection Paladin
[70] = "PALADIN", -- Retribution Paladin
[256] = "PRIEST", -- Discipline Priest
[257] = "PRIEST", -- Holy Priest
[258] = "PRIEST", -- Shadow Priest
[259] = "ROGUE", -- Assassination Rogue
[260] = "ROGUE", -- Outlaw Rogue
[261] = "ROGUE", -- Subtlety Rogue
[262] = "SHAMAN", -- Elemental Shaman
[263] = "SHAMAN", -- Enhancement Shaman
[264] = "SHAMAN", -- Restoration Shaman
[265] = "WARLOCK", -- Affliction Warlock
[266] = "WARLOCK", -- Demonology Warlock
[267] = "WARLOCK", -- Destruction Warlock
[71] = "WARRIOR", -- Arms Warrior
[72] = "WARRIOR", -- Fury Warrior
[73] = "WARRIOR", -- Protection Warrior
}
end
_detalhes.SpecIDToClass = {
[577] = "DEMONHUNTER", -- Havoc Demon Hunter
[581] = "DEMONHUNTER", -- Vengeance Demon Hunter
[252] = "DEATHKNIGHT", -- Unholy Death Knight
[251] = "DEATHKNIGHT", -- Frost Death Knight
[250] = "DEATHKNIGHT", -- Blood Death Knight
[102] = "DRUID", -- Balance Druid
[103] = "DRUID", -- Feral Druid
[104] = "DRUID", -- Guardian Druid
[105] = "DRUID", -- Restoration Druid
[253] = "HUNTER", -- Beast Mastery Hunter
[254] = "HUNTER", -- Marksmanship Hunter
[255] = "HUNTER", -- Survival Hunter
[62] = "MAGE", -- Arcane Mage
[63] = "MAGE", -- Fire Mage
[64] = "MAGE", -- Frost Mage
[268] = "MONK", -- Brewmaster Monk
[269] = "MONK", -- Windwalker Monk
[270] = "MONK", -- Mistweaver Monk
[65] = "PALADIN", -- Holy Paladin
[66] = "PALADIN", -- Protection Paladin
[70] = "PALADIN", -- Retribution Paladin
[256] = "PRIEST", -- Discipline Priest
[257] = "PRIEST", -- Holy Priest
[258] = "PRIEST", -- Shadow Priest
[259] = "ROGUE", -- Assassination Rogue
[260] = "ROGUE", -- Outlaw Rogue
[261] = "ROGUE", -- Subtlety Rogue
[262] = "SHAMAN", -- Elemental Shaman
[263] = "SHAMAN", -- Enhancement Shaman
[264] = "SHAMAN", -- Restoration Shaman
[265] = "WARLOCK", -- Affliction Warlock
[266] = "WARLOCK", -- Demonology Warlock
[267] = "WARLOCK", -- Destruction Warlock
[71] = "WARRIOR", -- Arms Warrior
[72] = "WARRIOR", -- Fury Warrior
[73] = "WARRIOR", -- Protection Warrior
}
_detalhes.ClassSpellList = {
--death knight