From cb6e519afee205f2c63a296cd28024a32c443d00 Mon Sep 17 00:00:00 2001 From: Sumsebrum Date: Mon, 26 Jul 2021 11:28:04 +0200 Subject: [PATCH] add MSBT to Announcements --- Modules/Announcements.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Modules/Announcements.lua b/Modules/Announcements.lua index eaa14cb..afeca6a 100644 --- a/Modules/Announcements.lua +++ b/Modules/Announcements.lua @@ -177,9 +177,9 @@ function Announcements:Send(msg, throttle, color) RaidNotice_AddMessage(RaidBossEmoteFrame, msg, color) elseif (dest == "fct" and IsAddOnLoaded("Blizzard_CombatText")) then CombatText_AddMessage(msg, nil, color.r, color.g, color.b, "crit", 1) - --[[elseif (dest == "msbt" and IsAddOnLoaded("MikScrollingBattleText")) then - MikSBT.DisplayMessage(msg, MikSBT.DISPLAYTYPE_NOTIFICATION, true, color.r * 255, color.g * 255, color.b * 255) - elseif (dest == "sct" and IsAddOnLoaded("sct")) then + elseif (dest == "msbt" and IsAddOnLoaded("MikScrollingBattleText")) then + MikSBT.Animations.DisplayMessage(msg, MikSBT.DISPLAYTYPE_NOTIFICATION, true, color.r * 255, color.g * 255, color.b * 255) + --[[elseif (dest == "sct" and IsAddOnLoaded("sct")) then SCT:DisplayText(msg, color, true, "event", 1) elseif (dest == "parrot" and IsAddOnLoaded("parrot")) then Parrot:ShowMessage(msg, "Notification", true, color.r, color.g, color.b)--]] @@ -211,6 +211,7 @@ function Announcements:GetOptions() ["party"] = L["Party"], ["rw"] = L["Raid Warning"], ["fct"] = L["Blizzard's Floating Combat Text"], + ["msbt"] = L["MikScrollingBattleText"], } return {