寻宝任务红点修改
parent
02838f0801
commit
ea1052a841
|
@ -44,9 +44,9 @@ function this.RefreshFindTreasureRedPoint()
|
|||
if BagManager.GetItemCountById(FindTreasureManager.materialItemId) >= mazeTreasureMax then
|
||||
return true
|
||||
end
|
||||
if this.GetShowFindTreasureVipRedPoint() then
|
||||
return true
|
||||
end
|
||||
-- if this.GetShowFindTreasureVipRedPoint() then
|
||||
-- return true
|
||||
-- end
|
||||
return false
|
||||
end
|
||||
function this.SetShowFindTreasureVipRedPoint(isShow)
|
||||
|
@ -55,6 +55,7 @@ function this.SetShowFindTreasureVipRedPoint(isShow)
|
|||
CheckRedPointStatus(RedPointType.SecretTer_FindTreasure)
|
||||
end
|
||||
function this.GetShowFindTreasureVipRedPoint()
|
||||
|
||||
if this.isShowFindTreasureVipRedPoint then
|
||||
local gaoState = PrivilegeManager.GetPrivilegeOpenStatus(PRIVILEGE_TYPE.GoFindTreasure)
|
||||
local haoState = PrivilegeManager.GetPrivilegeOpenStatus(PRIVILEGE_TYPE.HaoFindTreasure)
|
||||
|
|
Loading…
Reference in New Issue