首充礼包条件修改
This commit is contained in:
parent
6dc6c75236
commit
2342df9b36
@ -766,14 +766,12 @@ function ShopData:getHasGotFirstRechargeReward()
|
|||||||
return boughtNum > 0
|
return boughtNum > 0
|
||||||
end
|
end
|
||||||
|
|
||||||
-- 侧边栏是否展示 要求功能开启 等级不低于2 未领取该奖励
|
-- 侧边栏是否展示 要求功能开启 未领取该奖励
|
||||||
function ShopData:getShowFirstRechargeSideBar()
|
function ShopData:getShowFirstRechargeSideBar()
|
||||||
if not self:getIsFirstRechargeOpen() then
|
if not self:getIsFirstRechargeOpen() then
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
if not self:getHasGotFirstRechargeReward() then
|
||||||
local lv = DataManager.PlayerData:getLv()
|
|
||||||
if lv > 1 and not self:getHasGotFirstRechargeReward() then
|
|
||||||
return true
|
return true
|
||||||
else
|
else
|
||||||
return false
|
return false
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user