主城天书密卷入口修改

tcx_xiyou_dev
PC-202302260912\Administrator 2024-05-13 11:43:06 +08:00
parent 08b388cdc9
commit a500fca96f
2 changed files with 4 additions and 0 deletions

View File

@ -1404,6 +1404,7 @@ function this:OnShow()
this.btn_weapon:SetActive(CheckFunctionOpen(FUNCTION_OPEN_TYPE.GodWeapon))
this.btnHongMeng:SetActive(CheckFunctionOpen(FUNCTION_OPEN_TYPE.HongMengZhen))
this.btnZhuZhen:SetActive(CheckFunctionOpen(FUNCTION_OPEN_TYPE.HelpFight))
this.btnTianShuMiJuan:SetActive(CheckFunctionOpen(FUNCTION_OPEN_TYPE.tianshumijuan))
--检测灵兽红点
PokemonManager.CheckRedPointStatusPokemonMainCityRed()

View File

@ -35,6 +35,9 @@ function this.OnLevelChange()
end
function this.CheckRedPointType(redType)
if CheckFunctionOpen(FUNCTION_OPEN_TYPE.tianshumijuan)==false then
return false
end
if redType == RedPointType.Hero_Fetter then
return this.CheckRedPoint(1)
elseif redType == RedPointType.SoulPrint_Fetter then