Enable/Disable loot-sounds

This commit is contained in:
Cinecom
2025-08-22 14:18:54 +02:00
parent 49ce904b9e
commit ff125ad585
3 changed files with 90 additions and 31 deletions
+6 -2
View File
@@ -989,8 +989,12 @@ function sepgp:bidPrint(link, masterlooter, need, greed, bid)
local msg = string.format(L["Click $MS or $PRIOOS or $OS for %s"], link)
math.randomseed(GetTime() * 1000)
local randomSound = math.random(1, 24)
PlaySoundFile("Interface\\AddOns\\shootyepgp\\Sounds\\loot-" .. randomSound .. ".wav")
local randomSound = math.random(1, 25)
if sepgp_sound == 1 then
PlaySoundFile("Interface\\AddOns\\shootyepgp\\Sounds\\loot-" .. randomSound .. ".wav")
end
-- Decide which placeholders to keep/remove based on need/greed/bid