Skip to content
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.

Commit

Permalink
Enable loot method change window for dungeons and 40-man raids.
Browse files Browse the repository at this point in the history
Remove old debug msg.
  • Loading branch information
Maczuga committed Jun 1, 2020
1 parent 7e98c3c commit bc72650
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions oqueue.lua
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,15 @@ function oq.verify_loot_rules_acceptance()

local name, type, difficultyIndex, difficultyName, maxPlayers, dynamicDifficulty, isDynamic, mapID =
GetInstanceInfo()
if (difficultyIndex < 3) or (difficultyIndex > 6) then -- only valid for: 10m, 25m, 10m+, 25m+

-- 1 Normal - party
-- 2 Heroic - party
-- 3 10 Player
-- 4 25 Player
-- 5 10 Player (Heroic)
-- 6 25 Player (Heroic)
-- 9 40 Player raid
if (difficultyIndex > 6 and difficultyIndex ~= 9) then
return
end

Expand Down Expand Up @@ -6783,7 +6791,7 @@ function oq.raid_disband(dont_clean)
local raid_tok = oq.raid.raid_token
local m = 'disband,' .. oq.raid.raid_token .. ',' .. token
oq.log(nil, '|cFF808080group disbanded:|r ' .. tostring(oq.raid.name) .. '')
print(dont_clean, token, raid_tok)

oq.announce(m)
oq.recently_disbanded(raid_tok)
oq.mini_count_update(0)
Expand Down

0 comments on commit bc72650

Please sign in to comment.