Skip to content

Commit

Permalink
Merge branch 'main' into classic-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
Luckyone961 committed Apr 4, 2024
2 parents 275b5d9 + ffff65f commit 68f2e84
Show file tree
Hide file tree
Showing 14 changed files with 42 additions and 33 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
### Version 13.61 [ April 2nd 2024 ]
* Microbar Support Ticket button in middle of screen.
* Minimap Icons not hiding when using the keybind for Toggle Minimap.
* No Label, Decimal Length, Custom Label options for the Leech Datatext.
* Minimap Difficulty icon not respecting offsets on Wrath.
* Party and RaidPets not spawning until after combat.
* SoD Mage at low level having incorrect range on friendly NPCs.
* Wrath Nightelf Shadowmeld causing a taint during combat.
* LibDispel Bleed list updated again.
* Chat AFK and DND not displaying on Retail.

### Version 13.60 [ March 19th 2024 ]
* Difficulty Icon on Minimap improved, resolving an issue with the mouseover tooltip.
* Pet Battle XP bar overlapped Pass button.
Expand Down
2 changes: 2 additions & 0 deletions ElvUI/Classic/Filters/Filters.lua
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,7 @@ if E.ClassicSOD then
-- Whitelist World Event Auras
Whitelist[433804] = List(6) -- Blood for the Blood Loa
Whitelist[441785] = List(6) -- Drained of Blood
Whitelist[437751] = List(6) -- Bruised
Whitelist[436351] = List(6) -- Zandalari Ward
Whitelist[429959] = List(2) -- Well-Rested
-- Priest Rune Meditations
Expand Down Expand Up @@ -902,6 +903,7 @@ G.unitframe.ChannelTicks = {
if E.ClassicSOD then
G.unitframe.ChannelTicks[402261] = 3 -- Penance (DPS)
G.unitframe.ChannelTicks[402277] = 3 -- Penance (Healing)
G.unitframe.ChannelTicks[413259] = 5 -- Mind Sear (Rune)
end

-- Spells that chain, second step
Expand Down
2 changes: 1 addition & 1 deletion ElvUI/Core/Defaults/Profile.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2817,7 +2817,7 @@ P.actionbar.bar1.paging.ROGUE = '[bonusbar:1] 7;'..(E.Cata and ' [bonusbar:2] 8;
P.actionbar.bar1.paging.WARLOCK = E.Cata and '[form:1] 7;' or nil
P.actionbar.bar1.paging.DRUID = '[bonusbar:1,nostealth] 7; [bonusbar:1,stealth] 8; [bonusbar:2] 10; [bonusbar:3] 9; [bonusbar:4] 10;'
P.actionbar.bar1.paging.EVOKER = '[bonusbar:1] 7;'
P.actionbar.bar1.paging.PRIEST = '[bonusbar:1] 7;'..(E.Classic and ' [possessbar] 16;' or '')
P.actionbar.bar1.paging.PRIEST = E.Classic and '[form:1] 7;' or '[bonusbar:1] 7;'
P.actionbar.bar1.paging.WARRIOR = '[bonusbar:1] 7; [bonusbar:2] 8; [bonusbar:3] 9;'

P.actionbar.bar3.enabled = true
Expand Down
2 changes: 1 addition & 1 deletion ElvUI/Core/General/Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1993,7 +1993,7 @@ function E:Initialize()
E:Tutorials()
end

if E.Retail or E.Cata then
if E.Retail or E.Cata or E.ClassicSOD then
E.Libs.DualSpec:EnhanceDatabase(E.data, 'ElvUI')
end

Expand Down
2 changes: 1 addition & 1 deletion ElvUI/Core/General/Install.lua
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ function E:SetupChat(noDisplayMsg)
end

-- keys taken from `ChatTypeGroup` but doesnt add: 'OPENING', 'TRADESKILLS', 'PET_INFO', 'COMBAT_MISC_INFO', 'COMMUNITIES_CHANNEL', 'PET_BATTLE_COMBAT_LOG', 'PET_BATTLE_INFO', 'TARGETICONS'
local chatGroup = { 'SYSTEM', 'CHANNEL', 'SAY', 'EMOTE', 'YELL', 'WHISPER', 'PARTY', 'PARTY_LEADER', 'RAID', 'RAID_LEADER', 'RAID_WARNING', 'INSTANCE_CHAT', 'INSTANCE_CHAT_LEADER', 'GUILD', E.ClassicHC and 'GUILD_DEATHS' or nil, 'OFFICER', 'MONSTER_SAY', 'MONSTER_YELL', 'MONSTER_EMOTE', 'MONSTER_WHISPER', 'MONSTER_BOSS_EMOTE', 'MONSTER_BOSS_WHISPER', 'ERRORS', 'AFK', 'DND', 'IGNORED', 'BG_HORDE', 'BG_ALLIANCE', 'BG_NEUTRAL', 'ACHIEVEMENT', 'GUILD_ACHIEVEMENT', 'BN_WHISPER', 'BN_INLINE_TOAST_ALERT' }
local chatGroup = { 'SYSTEM', 'CHANNEL', 'SAY', 'EMOTE', 'YELL', 'WHISPER', 'PARTY', 'PARTY_LEADER', 'RAID', 'RAID_LEADER', 'RAID_WARNING', 'INSTANCE_CHAT', 'INSTANCE_CHAT_LEADER', 'GUILD', 'OFFICER', 'MONSTER_SAY', 'MONSTER_YELL', 'MONSTER_EMOTE', 'MONSTER_WHISPER', 'MONSTER_BOSS_EMOTE', 'MONSTER_BOSS_WHISPER', 'ERRORS', 'AFK', 'DND', 'IGNORED', 'BG_HORDE', 'BG_ALLIANCE', 'BG_NEUTRAL', 'ACHIEVEMENT', 'GUILD_ACHIEVEMENT', 'BN_WHISPER', 'BN_INLINE_TOAST_ALERT' }
ChatFrame_RemoveAllMessageGroups(_G.ChatFrame1)
for _, v in next, chatGroup do
ChatFrame_AddMessageGroup(_G.ChatFrame1, v)
Expand Down
1 change: 0 additions & 1 deletion ElvUI/Core/Modules/ActionBars/MicroBar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ local gsub = gsub
local assert = assert
local unpack = unpack
local tinsert = tinsert
local strfind = strfind
local CreateFrame = CreateFrame
local UpdateMicroButtonsParent = UpdateMicroButtonsParent
local RegisterStateDriver = RegisterStateDriver
Expand Down
34 changes: 13 additions & 21 deletions ElvUI/Core/Modules/Chat/Chat.lua
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ local historyTypes = { -- most of these events are set in FindURL_Events, this i
CHAT_MSG_BN_WHISPER_INFORM = 'WHISPER',
CHAT_MSG_GUILD = 'GUILD',
CHAT_MSG_GUILD_ACHIEVEMENT = 'GUILD',
CHAT_MSG_GUILD_DEATHS = E.ClassicHC and 'GUILD' or nil,
CHAT_MSG_PARTY = 'PARTY',
CHAT_MSG_PARTY_LEADER = 'PARTY',
CHAT_MSG_RAID = 'RAID',
Expand Down Expand Up @@ -327,7 +326,7 @@ do --this can save some main file locals
if E.Classic then
-- Simpy (5099: Myzrael)
z['Player-5099-01947A77'] = itsSimpy -- Warlock: Simpy
-- Luckyone Seasonal (5826: Lone Wolf EU)
-- Luckyone Seasonal (5826: Lone Wolf EU, 5827: Living Flame EU)
z['Player-5826-0202765F'] = ElvBlue -- [Alliance] Hunter
z['Player-5826-020F7F10'] = ElvBlue -- [Alliance] Paladin
z['Player-5826-02172E79'] = ElvBlue -- [Alliance] Warlock
Expand All @@ -336,6 +335,7 @@ do --this can save some main file locals
z['Player-5826-023424EF'] = ElvBlue -- [Alliance] Druid
z['Player-5826-02342520'] = ElvBlue -- [Alliance] Rogue
z['Player-5826-02342556'] = ElvBlue -- [Alliance] Warrior
z['Player-5827-02331C4B'] = ElvBlue -- [Horde] Shaman
-- Luckyone Hardcore
z["Lucky-Nek'Rosh"] = ElvBlue -- [Horde] Rogue
z["Luckyone-Nek'Rosh"] = ElvBlue -- [Horde] Hunter
Expand Down Expand Up @@ -385,7 +385,7 @@ do --this can save some main file locals
z['Player-1401-0421EB9F'] = ElvBlue -- [Alliance] Warrior: Brìtt
z['Player-1401-0421F909'] = ElvRed -- [Alliance] Paladin: Damará
z['Player-1401-0421EC36'] = ElvBlue -- [Alliance] Priest: Jazira
z['Player-1401-041CD0A6'] = ElvYellow -- [Alliance] Rogue: Jústice
z['Player-1401-0A9B0131'] = ElvYellow -- [Alliance] Rogue: Anonia
z['Player-1401-041E4D64'] = ElvGreen -- [Alliance] Monk: Maithilis
z['Player-1401-0648F4AD'] = ElvPurple -- [Alliance] DH: Mattdemôn
z['Player-1401-0421F27B'] = ElvBlue -- [Alliance] Mage: Melisendra
Expand Down Expand Up @@ -1765,25 +1765,18 @@ function CH:ChatFrame_ReplaceIconAndGroupExpressions(message, noIconReplacement,
end

-- copied from ChatFrame.lua
local function GetPFlag(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17)
-- Renaming for clarity:
local specialFlag = arg6
local zoneChannelID = arg7
--local localChannelID = arg8

local function GetPFlag(specialFlag, zoneChannelID, localChannelID)
if specialFlag ~= '' then
if specialFlag == 'GM' or specialFlag == 'DEV' then
-- Add Blizzard Icon if this was sent by a GM/DEV
return [[|TInterface\ChatFrame\UI-ChatIcon-Blizz:12:20:0:0:32:16:4:28:0:16|t ]]
elseif E.Retail then
if specialFlag == 'GUIDE' then
if _G.ChatFrame_GetMentorChannelStatus(CHATCHANNELRULESET_MENTOR, GetChannelRulesetForChannelID(zoneChannelID)) == CHATCHANNELRULESET_MENTOR then
return NPEV2_CHAT_USER_TAG_GUIDE
end
elseif specialFlag == 'NEWCOMER' then
if _G.ChatFrame_GetMentorChannelStatus(PLAYERMENTORSHIPSTATUS_NEWCOMER, GetChannelRulesetForChannelID(zoneChannelID)) == PLAYERMENTORSHIPSTATUS_NEWCOMER then
return _G.NPEV2_CHAT_USER_TAG_NEWCOMER
end
elseif specialFlag == 'GUIDE' and E.Retail then
if _G.ChatFrame_GetMentorChannelStatus(CHATCHANNELRULESET_MENTOR, GetChannelRulesetForChannelID(zoneChannelID)) == CHATCHANNELRULESET_MENTOR then
return NPEV2_CHAT_USER_TAG_GUIDE
end
elseif specialFlag == 'NEWCOMER' and E.Retail then
if _G.ChatFrame_GetMentorChannelStatus(PLAYERMENTORSHIPSTATUS_NEWCOMER, GetChannelRulesetForChannelID(zoneChannelID)) == PLAYERMENTORSHIPSTATUS_NEWCOMER then
return _G.NPEV2_CHAT_USER_TAG_NEWCOMER
end
else
return _G['CHAT_FLAG_'..specialFlag]
Expand Down Expand Up @@ -1922,7 +1915,7 @@ function CH:MessageFormatter(frame, info, chatType, chatGroup, chatTarget, chann
end

-- Player Flags
local pflag = GetPFlag(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17)
local pflag = GetPFlag(arg6, arg7, arg8)
if not bossMonster then
local chatIcon, pluginChatIcon = specialChatIcons[arg12] or specialChatIcons[playerName], CH:GetPluginIcon(arg12, playerName)
if type(chatIcon) == 'function' then
Expand Down Expand Up @@ -1969,7 +1962,7 @@ function CH:MessageFormatter(frame, info, chatType, chatGroup, chatTarget, chann
end
else
if not showLink or arg2 == '' then
if chatType == 'TEXT_EMOTE' or chatType == 'GUILD_DEATHS' then
if chatType == 'TEXT_EMOTE' then
body = message
else
body = format(_G['CHAT_'..chatType..'_GET']..message, pflag..arg2, arg2)
Expand Down Expand Up @@ -2961,7 +2954,6 @@ local FindURL_Events = {
'CHAT_MSG_BN_WHISPER_INFORM',
'CHAT_MSG_BN_INLINE_TOAST_BROADCAST',
'CHAT_MSG_GUILD_ACHIEVEMENT',
E.ClassicHC and 'CHAT_MSG_GUILD_DEATHS' or nil,
'CHAT_MSG_GUILD',
'CHAT_MSG_PARTY',
'CHAT_MSG_PARTY_LEADER',
Expand Down
4 changes: 2 additions & 2 deletions ElvUI/Core/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ end
function E:ParseVersionString(addon)
local version = GetAddOnMetadata(addon, 'Version')
if strfind(version, 'project%-version') then
return 13.60, '13.60-git', nil, true
return 13.61, '13.61-git', nil, true
else
local release, extra = strmatch(version, '^v?([%d.]+)(.*)')
return tonumber(release), release..extra, extra ~= ''
Expand Down Expand Up @@ -161,7 +161,7 @@ do
E:AddLib('AceConfigRegistry', 'AceConfigRegistry-3.0-ElvUI')
E:AddLib('AceDBOptions', 'AceDBOptions-3.0')

if E.Retail or E.Cata then
if E.Retail or E.Cata or E.ClassicSOD then
E:AddLib('DualSpec', 'LibDualSpec-1.0')
end

Expand Down
4 changes: 2 additions & 2 deletions ElvUI/ElvUI_Classic.toc
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
## SavedVariablesPerCharacter: ElvCharacterDB
## OptionalDeps: SharedMedia, Tukui, Masque
## RequiredDeps: ElvUI_Libraries
## Interface: 11501
## X-Interface: 11501
## Interface: 11502
## X-Interface: 11502
## X-Tukui-ProjectID: -2
## X-Tukui-ProjectFolders: ElvUI, ElvUI_Libraries, ElvUI_Options

Expand Down
1 change: 1 addition & 0 deletions ElvUI/Mainline/Modules/Skins/EncounterJournal.lua
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,7 @@ function S:Blizzard_EncounterJournal()

if E.private.skins.parchmentRemoverEnable then
EJ.MonthlyActivitiesFrame.Bg:SetAlpha(0)
EJ.MonthlyActivitiesFrame.ThemeContainer:SetAlpha(0)
_G.EncounterJournalInstanceSelectBG:SetAlpha(0)

local suggestFrame = EJ.suggestFrame
Expand Down
5 changes: 5 additions & 0 deletions ElvUI/Mainline/Modules/Skins/PerksProgram.lua
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,11 @@ function S:Blizzard_PerksProgram()

local frame = _G.PerksProgramFrame
local products = frame.ProductsFrame

if E.private.skins.parchmentRemoverEnable then
frame.ThemeContainer:SetAlpha(0)
end

if products then
S:HandleButton(products.PerksProgramFilter.FilterDropDownButton)

Expand Down
2 changes: 1 addition & 1 deletion ElvUI_Libraries/ElvUI_Libraries_Classic.toc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## Notes: Libraries that power ElvUI
## Author: Elv, Simpy
## Version: @project-version@
## Interface: 11501
## Interface: 11502
## OptionalDeps: LibHealComm-4.0
## X-oUF: ElvUF

Expand Down
3 changes: 1 addition & 2 deletions ElvUI_Options/Core/Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ local MC = E:GetModule('ModuleCopy')
local D = E:GetModule('Distributor')
local S = E:GetModule('Skins')

local GetAddOnMetadata = (C_AddOns and C_AddOns.GetAddOnMetadata) or GetAddOnMetadata
-- GLOBALS: ElvDB

local ACH = E.Libs.ACH
Expand Down Expand Up @@ -312,7 +311,7 @@ E.Options.args.profiles.args.private.order = 2

E.Libs.AceConfig:RegisterOptionsTable('ElvProfiles', E.Options.args.profiles.args.profile)

if E.Retail or E.Cata then
if E.Retail or E.Cata or E.ClassicSOD then
E.Libs.DualSpec:EnhanceOptions(E.Options.args.profiles.args.profile, E.data)
end

Expand Down
2 changes: 1 addition & 1 deletion ElvUI_Options/ElvUI_Options_Classic.toc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## Notes: Powers the configuration window.|n|cffff3333Does not store any profile data.|r
## Author: Elv, Simpy
## Version: @project-version@
## Interface: 11501
## Interface: 11502
## RequiredDeps: ElvUI
## LoadOnDemand: 1

Expand Down

0 comments on commit 68f2e84

Please sign in to comment.