首充礼包条件修改

This commit is contained in:
CloudJ 2023-06-05 15:20:29 +08:00
parent 6dc6c75236
commit 2342df9b36

View File

@ -766,14 +766,12 @@ function ShopData:getHasGotFirstRechargeReward()
return boughtNum > 0
end
-- 侧边栏是否展示 要求功能开启 等级不低于2 未领取该奖励
-- 侧边栏是否展示 要求功能开启 未领取该奖励
function ShopData:getShowFirstRechargeSideBar()
if not self:getIsFirstRechargeOpen() then
return false
end
local lv = DataManager.PlayerData:getLv()
if lv > 1 and not self:getHasGotFirstRechargeReward() then
if not self:getHasGotFirstRechargeReward() then
return true
else
return false