Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REQUEST] Please add option for Blood Beast swing hit #197

Open
anzz1 opened this issue Jan 28, 2024 · 1 comment
Open

[REQUEST] Please add option for Blood Beast swing hit #197

anzz1 opened this issue Jan 28, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@anzz1
Copy link

anzz1 commented Jan 28, 2024

Is your feature request related to a problem? Please describe.

Add option to inform about Blood Beast swing hits on Deathbringer Saurfang so raid can wake up.

Desired solution

Something like this, but modified for DBM

do
	local f = CreateFrame("Frame")
	f:SetScript("OnEvent", function(_, _, _, cEvent, _, sourceName, _, _, destName)
		if (cEvent == "SWING_DAMAGE" and sourceName == "Blood Beast" and IsInRaid()) then
			SendChatMessage(">> Saurfang Blood Power generated, Blood Beast swing hit: " .. destName .. " <<", "RAID")
		end
	end)
	f:RegisterEvent("COMBAT_LOG_EVENT_UNFILTERED")
end

Describe alternatives you've considered

No response

Anything else?

No response

@anzz1 anzz1 added the enhancement New feature or request label Jan 28, 2024
@Zidras
Copy link
Owner

Zidras commented Jan 30, 2024

Thank you for the suggestion, I can implement it, but never as a chat spam.
SA however looks like a viable approach

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants