From d165af063d7365e143d92c3a950a0b52e683a66e Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期五, 23 一月 2026 15:33:29 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts
---
Main/System/BoneField/BoneFieldChallengeButton.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Main/System/BoneField/BoneFieldChallengeButton.cs b/Main/System/BoneField/BoneFieldChallengeButton.cs
index e3d552d..e7cb0dc 100644
--- a/Main/System/BoneField/BoneFieldChallengeButton.cs
+++ b/Main/System/BoneField/BoneFieldChallengeButton.cs
@@ -21,8 +21,8 @@
this.isHasNextLineID = isHasNextLineID;
this.lvLimitMin = lvLimitMin;
isLvOk = PlayerDatas.Instance.baseData.LV >= lvLimitMin;
- long myFightPower = PlayerDatas.Instance.baseData.FightPower;
- imgChallengeRed.SetActive(isLvOk && isHasNextLineID && myFightPower >= bossFightPower);
+ bool isShowRed = BoneFieldManager.Instance.IsShowChallengeRed();
+ imgChallengeRed.SetActive(isShowRed);
txtChallengeLv.SetActive(!isLvOk);
txtChallengeLv.text = Language.Get("BoneField07", lvLimitMin);
txtChallengeYes.SetActive(isLvOk && isHasNextLineID);
--
Gitblit v1.8.0