From 87f518125d34267b1c11952d785b73a75f6da720 Mon Sep 17 00:00:00 2001 From: hch <305670599@qq.com> Date: 星期一, 13 十一月 2023 14:54:09 +0800 Subject: [PATCH] 0312 境界塔防0报错 --- System/Realm/RealmModel.cs | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/System/Realm/RealmModel.cs b/System/Realm/RealmModel.cs index 57803d0..4e096d7 100644 --- a/System/Realm/RealmModel.cs +++ b/System/Realm/RealmModel.cs @@ -1045,9 +1045,12 @@ } } - + //0 鍙寫鎴� 1 澧冪晫涓嶈冻 2 宸查�氬叧 private int GetErrorOfChallenge() { + if (selectFloorID == 0) + return 1; + if (RealmTowerConfig.Get(selectFloorID).NeedRealmLV > PlayerDatas.Instance.baseData.realmLevel) { return 1; -- Gitblit v1.8.0