syntharis wrote:Can any of these addons alert you with a sound when a rare is found? and can you add npc's yourself?
I've done this in this way:
Open
Core.lua in your
Silverdragon folder and find (empty) line #204, between this part of code
- Code: Select all
if self.db.profile.announce.chat then
self:Print(string.format(L["%s seen!"], name), dead and L["(it's dead)"] or '')
end
and this one
- Code: Select all
self.lastseen[name] = time()
Add this to that empty line:
- Code: Select all
PlaySound("RaidWarning")
Alternativetly, add this for auto-targeting:
- Code: Select all
TargetByName(name, true)
Full code will look like this:
- Code: Select all
if self.db.profile.announce.chat then
self:Print(string.format(L["%s seen!"], name), dead and L["(it's dead)"] or '')
end
PlaySound("RaidWarning")
TargetByName(name, true)
self.lastseen[name] = time()
Tested it on Sludge Beast rare mob in The Barrens:
https://youtu.be/QIn1Dh9fBQw (no auto-target example)