WoWInterface SVN BattlegroundTargets2

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 3 to Rev 4
    Reverse comparison

Rev 3 → Rev 4

CHANGELOG.html New file
0,0 → 1,5
<strong>80000.1-beta (02.08.2018)</strong>
<ul>
<li>Added Seething Shore bg</li>
</ul>
<br>
\ No newline at end of file
BattlegroundTargets.lua
154,7 → 154,6
local IsSpellKnown = IsSpellKnown
local RequestBattlefieldScoreData = RequestBattlefieldScoreData
local SetBattlefieldScoreFaction = SetBattlefieldScoreFaction
local SetMapToCurrentZone = SetMapToCurrentZone
local UnitBuff = UnitBuff
local UnitClass = UnitClass
local UnitDebuff = UnitDebuff
408,6 → 407,7
elseif bgID == 708 then mapID[860] = localizedName bgMaps[localizedName] = {bgSize = 10, flagBG = 0} -- Silvershard Mines
elseif bgID == 754 then mapID[935] = localizedName bgMaps[localizedName] = {bgSize = 15, flagBG = 4} -- Deepwind Gorge
elseif bgID == 789 then bgMaps[localizedName] = {bgSize = 40, flagBG = 0} -- Southshore vs Tarren Mill
elseif bgID == 894 then mapID[907] = localizedName bgMaps[localizedName] = {bgSize = 10, flagBG = 0} -- Бурлящий берег
end
end
end
7030,8 → 7030,7
if not currentBGMap then
local wmf = WorldMapFrame
if wmf and not wmf:IsShown() then
SetMapToCurrentZone()
local mapId = GetCurrentMapAreaID()
local mapId = C_Map.GetBestMapForUnit("player");
mapName = mapID[mapId]
if bgMaps[mapName] then
currentBGMap = mapName