diff --git a/src/actions/HangAction.lua b/src/actions/HangAction.lua index 107ec41..d28969b 100644 --- a/src/actions/HangAction.lua +++ b/src/actions/HangAction.lua @@ -562,7 +562,7 @@ function _M.startBonusBattleRpc(agent, data) if not bonusData then return 3 end local bonusStar = role:getProperty("bonusStar") - if not bonusStar[bonusData.unlock] or bonusStar[bonusData.unlock] == 0 then return 4 end + if bonusData.unlock ~= 0 and (not bonusStar[bonusData.unlock] or bonusStar[bonusData.unlock] == 0) then return 4 end if bonusStar[id] and bonusStar[id] >= (1 << #bonusData.sweep_condition:toTableArray(true)) - 1 then local bonusC = role.dailyData:getProperty("bonusC") -- libgit2 0.21.2