diff --git a/src/actions/RoleAction.lua b/src/actions/RoleAction.lua index 0ce9152..8d1bc47 100644 --- a/src/actions/RoleAction.lua +++ b/src/actions/RoleAction.lua @@ -578,8 +578,11 @@ function _M.storyBookRewardRpc(agent, data) if not storyBookData then return end local storyStatus = role:getProperty("storyB") + local status = (storyStatus[storyId] or {}).s - if not storyStatus[storyId] or not storyStatus[storyId].s or storyStatus[storyId].s ~= 1 then + if status == -1 then return end + + if not status or status ~= 1 then if storyBookData.unlockType == 1 and role:getProperty("hangInfo").carbonId == tonumber(storyBookData.unlockData) then -- 挂机剧情正在挂机也可以领奖 else return -- libgit2 0.21.2