10366 【越南】【英语】【BT】【砍树】仙盟攻城战-客户端
1.修复推送界面物品详情读错itemid
2.当玩家没有参赛资格时,不触发仙盟协助,神龙召唤,大本营,城池进入入口的红点
3.修复城池等级详情文字显示,加上%
4.修复大本营城池星级显示,修复城池界面星级显示
5.玩家仙盟id以封包为准
| | |
| | |
|
| | | public void UpdateLowContributionRedPoint()
|
| | | {
|
| | | // 没有参赛资格
|
| | | if (!hasQualification())
|
| | | return;
|
| | | int stateValue;
|
| | | if (!TryGetCurrentStateValue(out stateValue))
|
| | | return;
|
| | |
| | |
|
| | | public void UpdateHighContributionRedPoint()
|
| | | {
|
| | | // 没有参赛资格
|
| | | if (!hasQualification())
|
| | | return;
|
| | | int stateValue;
|
| | | if (!TryGetCurrentStateValue(out stateValue))
|
| | | return;
|
| | |
| | |
|
| | | private void UpdateSummonDragonFLZTRedpoint()
|
| | | {
|
| | | // 没有参赛资格
|
| | | if (!hasQualification())
|
| | | return;
|
| | | int stateValue;
|
| | | if (!TryGetCurrentStateValue(out stateValue))
|
| | | return;
|
| | |
| | |
|
| | | private void UpdateSummonDragonLTWJRedpoint()
|
| | | {
|
| | | // 没有参赛资格
|
| | | if (!hasQualification())
|
| | | return;
|
| | | int stateValue;
|
| | | if (!TryGetCurrentStateValue(out stateValue))
|
| | | return;
|
| | |
| | |
|
| | | public void UpdateAtkRedpoint()
|
| | | {
|
| | | // 没有参赛资格
|
| | | if (!hasQualification())
|
| | | return;
|
| | | int stateValue;
|
| | | if (!TryGetCurrentStateValue(out stateValue))
|
| | | return;
|
| | |
| | | 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)));
|
| | |
| | | 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))
|
| | | {
|
| | |
| | | {
|
| | | model.isClickCity = true;
|
| | | // 不能攻击自己的城池
|
| | | if (data.FamilyID == PlayerDatas.Instance.fairyData.fairy.FamilyID)
|
| | | if (data.FamilyID == model.myFamilyID)
|
| | | {
|
| | | SysNotifyMgr.Instance.ShowTip("FairySiege07");
|
| | | return;
|
| | |
| | | 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;
|
| | |
| | | {
|
| | | if (!IsOpen)
|
| | | return;
|
| | | // 没有参赛资格
|
| | | if (!fairySiegeActModel.hasQualification())
|
| | | return;
|
| | | int stateValue;
|
| | | if (!fairySiegeActModel.TryGetCurrentStateValue(out stateValue))
|
| | | return;
|
| | |
| | | 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));
|
| | | }
|
| | | }
|
| | | } |