少年修仙传客户端代码仓库
lcy
2025-05-09 9b2a6782fe2d228fcd98ab04dbca000f3d7b092b
10366 【越南】【英语】【BT】【砍树】仙盟攻城战-客户端

1.修复推送界面物品详情读错itemid
2.当玩家没有参赛资格时,不触发仙盟协助,神龙召唤,大本营,城池进入入口的红点
3.修复城池等级详情文字显示,加上%
4.修复大本营城池星级显示,修复城池界面星级显示
5.玩家仙盟id以封包为准
7个文件已修改
43 ■■■■ 已修改文件
System/FairySiege/FairySiegeActModel.cs 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/FairySiege/FairySiegeBaseLvInfoNormalCell.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/FairySiege/FairySiegeBaseMemberWin.cs 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/FairySiege/FairySiegeCityItem.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/FairySiege/FairySiegeCityWin.cs 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/FairySiege/FairySiegeHelpModel.cs 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/FairySiege/FairySiegePushCell.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/FairySiege/FairySiegeActModel.cs
@@ -996,6 +996,9 @@
        public void UpdateLowContributionRedPoint()
        {
            // 没有参赛资格
            if (!hasQualification())
                return;
            int stateValue;
            if (!TryGetCurrentStateValue(out stateValue))
                return;
@@ -1016,6 +1019,9 @@
        public void UpdateHighContributionRedPoint()
        {
            // 没有参赛资格
            if (!hasQualification())
                return;
            int stateValue;
            if (!TryGetCurrentStateValue(out stateValue))
                return;
@@ -1079,6 +1085,9 @@
        private void UpdateSummonDragonFLZTRedpoint()
        {
            // 没有参赛资格
            if (!hasQualification())
                return;
            int stateValue;
            if (!TryGetCurrentStateValue(out stateValue))
                return;
@@ -1099,6 +1108,9 @@
        private void UpdateSummonDragonLTWJRedpoint()
        {
            // 没有参赛资格
            if (!hasQualification())
                return;
            int stateValue;
            if (!TryGetCurrentStateValue(out stateValue))
                return;
@@ -1119,6 +1131,9 @@
        public void UpdateAtkRedpoint()
        {
            // 没有参赛资格
            if (!hasQualification())
                return;
            int stateValue;
            if (!TryGetCurrentStateValue(out stateValue))
                return;
System/FairySiege/FairySiegeBaseLvInfoNormalCell.cs
@@ -14,7 +14,7 @@
                return;
            FamilyGCZCampLVConfig config = FamilyGCZCampLVConfig.Get(campLV);
            FamilyGCZCampLVConfig lastConfig = FamilyGCZCampLVConfig.Get(lastCampLV);
            string baseStr = Language.Get("FairySiege100", UIHelper.AppendColor(TextColType.DarkGreen, Language.Get("FairySiege101", config.AddHPPer)));
            string baseStr = Language.Get("FairySiege100", UIHelper.AppendColor(TextColType.DarkGreen, Language.Get("FairySiege101", Language.Get("BlessedLand039", config.AddHPPer))));
            txtInfo.text = !FamilyGCZCampLVConfig.Has(lastCampLV) || lastConfig.StarCount >= config.StarCount ?
                baseStr :
                StringUtility.Contact(baseStr, " ", UIHelper.AppendColor(TextColType.DarkGreen, Language.Get("FairySiege128")), " ", UIHelper.AppendColor(TextColType.DarkGreen, Language.Get("FairySiege102", config.StarCount - lastConfig.StarCount)));
System/FairySiege/FairySiegeBaseMemberWin.cs
@@ -72,7 +72,12 @@
            txtCombatantCnt.text = Language.Get("FairySiege060", combatantCnt, JoinFamilyCnt);
            txtBaseHP.text = Language.Get("FairySiege061", UIHelper.ReplaceLargeNum(model.myCityHPBase));
            txtAllHP.text = Language.Get("FairySiege063", UIHelper.ReplaceLargeNum(model.myCityHPMax));
            memberStarGroup.Display(model.myCampLV);
            if (FamilyGCZCampLVConfig.Has(model.myCampLV))
            {
                FamilyGCZCampLVConfig config = FamilyGCZCampLVConfig.Get(model.myCampLV);
                memberStarGroup.Display(config.StarCount);
            }
            if (model.campMemberDict != null && model.campMemberDict.TryGetValue(PlayerDatas.Instance.PlayerId, out var info))
            {
System/FairySiege/FairySiegeCityItem.cs
@@ -39,7 +39,7 @@
            {
                model.isClickCity = true;
                // 不能攻击自己的城池
                if (data.FamilyID == PlayerDatas.Instance.fairyData.fairy.FamilyID)
                if (data.FamilyID == model.myFamilyID)
                {
                    SysNotifyMgr.Instance.ShowTip("FairySiege07");
                    return;
System/FairySiege/FairySiegeCityWin.cs
@@ -369,17 +369,19 @@
                return;
            if (model.showBatType != battleType || model.showBatGroup != battleGroup)
                return;
            if (!FamilyGCZCampLVConfig.Has(model.myCityLV))
                return;
            if (!model.TryGetBatSceneCityInfo(battleType, battleGroup, model.myFamilyID, out FairySiegeBatSceneCity batSceneCity))
                return;
            if (!model.TryGetFairySiegeFamilyInfo(model.myFamilyID, out FairySiegeFamilyInfo familyInfo))
                return;
            transMyFairy.SetActive(true);
            FamilyGCZCampLVConfig config = FamilyGCZCampLVConfig.Get(model.myCityLV);
            starGroup.Display(config.StarCount);
            if (FamilyGCZCampLVConfig.Has(model.myCityLV))
            {
                FamilyGCZCampLVConfig config = FamilyGCZCampLVConfig.Get(model.myCityLV);
                starGroup.Display(config.StarCount);
            }
            float fillAmount = Mathf.Round((float)batSceneCity.HP / batSceneCity.HPMax * 1000f) / 1000f;
            string info = Language.Get("FairySiege125", UIHelper.ReplaceLargeNum(batSceneCity.HP), UIHelper.ReplaceLargeNum(batSceneCity.HPMax));
            slidFairy.value = fillAmount;
System/FairySiege/FairySiegeHelpModel.cs
@@ -221,6 +221,9 @@
        {
            if (!IsOpen)
                return;
            // 没有参赛资格
            if (!fairySiegeActModel.hasQualification())
                return;
            int stateValue;
            if (!fairySiegeActModel.TryGetCurrentStateValue(out stateValue))
                return;
System/FairySiege/FairySiegePushCell.cs
@@ -16,7 +16,7 @@
            var itemId = arr[0];
            var count = arr[1];
            itemCell.Init(new ItemCellModel(itemId, false, (ulong)count));
            itemCell.button.SetListener(() => ItemTipUtility.Show(count));
            itemCell.button.SetListener(() => ItemTipUtility.Show(itemId));
        }
    }
}