From aa5be325d516744837a53cd7c4b33054b1f0c8f4 Mon Sep 17 00:00:00 2001 From: evil_morfar <10189576+evil-morfar@users.noreply.github.com> Date: Tue, 5 Nov 2024 17:33:33 +0100 Subject: [PATCH 1/2] Rolls: "?" when waiting for rolls --- .../VotingFrame/ReannounceOrRequestRoll.spec.lua | 4 ++-- changelog.md | 6 ++++++ core.lua | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.specs/Integration/VotingFrame/ReannounceOrRequestRoll.spec.lua b/.specs/Integration/VotingFrame/ReannounceOrRequestRoll.spec.lua index 63b8c87b..eec9aeb9 100644 --- a/.specs/Integration/VotingFrame/ReannounceOrRequestRoll.spec.lua +++ b/.specs/Integration/VotingFrame/ReannounceOrRequestRoll.spec.lua @@ -161,8 +161,8 @@ describe("#VotingFrame #ReannounceOrRequestRoll", function() for ses, data in ipairs(VotingFrame:GetLootTable()) do for name, v in pairs(data.candidates) do -- We might have autopassed - if name == addon.player.name and v.roll == "-" then - assert.equal("-", v.roll) + if name == addon.player.name and v.roll == "?" then + assert.equal("?", v.roll) else assert.Nil(v.roll) end diff --git a/changelog.md b/changelog.md index b7949ac7..56d5e178 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,9 @@ +## Changes + +### Request rolls + +Asking a candidate to roll will now change their roll to "?" when they have received the request. + # 3.14.4 ## Changes diff --git a/core.lua b/core.lua index 7af9424d..f08ff5aa 100644 --- a/core.lua +++ b/core.lua @@ -1153,7 +1153,7 @@ function RCLootCouncil:SendLootAck(table, skip) toSend.gear2[session] = g2 and ItemUtils:GetItemStringClean(g2) or nil toSend.diff[session] = diff toSend.response[session] = v.autopass - toSend.roll[session] = v.isRoll and "-" or nil + toSend.roll[session] = (v.isRoll and v.autopass and "-") or v.isRoll and "?" or nil end end if not next(toSend.roll) then toSend.roll = nil end From 52a13b83aff56efab906c4a1bd206eae337d18bf Mon Sep 17 00:00:00 2001 From: evil_morfar <10189576+evil-morfar@users.noreply.github.com> Date: Wed, 18 Dec 2024 17:01:41 +0100 Subject: [PATCH 2/2] v3.14.5 patch 11.0.7 --- RCLootCouncil.toc | 6 +++--- changelog.md | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/RCLootCouncil.toc b/RCLootCouncil.toc index 0aa0928c..406dc4cd 100644 --- a/RCLootCouncil.toc +++ b/RCLootCouncil.toc @@ -1,8 +1,8 @@ ## Author: Potdisc -## Interface: 110005 -## Notes: Interface for running a Loot Council v3.14.4 +## Interface: 110007 +## Notes: Interface for running a Loot Council v3.14.5 ## Title: RCLootCouncil -## Version: 3.14.4 +## Version: 3.14.5 ## SavedVariables: RCLootCouncilDB, RCLootCouncilLootDB ## OptionalDeps: LibStub, CallbackHandler-1.0, Ace3, lib-st, LibWindow-1.1, LibDialog-1.0 ## X-Curse-Project-ID: 39928 diff --git a/changelog.md b/changelog.md index 56d5e178..b0212f81 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,9 @@ +# 3.14.5 + ## Changes +Updated for patch 11.0.7. + ### Request rolls Asking a candidate to roll will now change their roll to "?" when they have received the request.