首充礼包条件修改
This commit is contained in:
parent
6dc6c75236
commit
2342df9b36
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user