| System/Team/MyTeamWin.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| System/Team/TeamModel.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| System/Team/TeamPrepareWin.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| System/Welfare/NPracticePointWin.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
System/Team/MyTeamWin.cs
@@ -158,6 +158,10 @@ { if (model.myTeam.iamCaptainer) { if (model.myTeam.iamCaptainer) { model.RecordHeroAI(); } GroupDungeonChallengeProcessor.Instance.GroupChallengeDungeon(model.myTeam.mission.mapId, model.myTeam.mission.mapEx, false); } else System/Team/TeamModel.cs
@@ -1108,6 +1108,20 @@ } } public bool autoHandupRecord = false; public int moveToNPCRecord = 0; public void RecordHeroAI() { autoHandupRecord = PlayerDatas.Instance.hero.aiHandler.IsAuto(); moveToNPCRecord = MapTransferUtility.Instance.NpcID; } public void ClearHeroAIRecord() { autoHandupRecord = false; moveToNPCRecord = 0; } } } System/Team/TeamPrepareWin.cs
@@ -31,9 +31,6 @@ float timer = 0f; bool alreadyAutoPrepare = false; bool autoHandupRecord = false; int moveToNPCRecord = 0; bool rejectManual = false; TeamModel model { get { return ModelCenter.Instance.GetModel<TeamModel>(); } } @@ -52,8 +49,10 @@ protected override void OnPreOpen() { rejectManual = false; autoHandupRecord = PlayerDatas.Instance.hero.aiHandler.IsAuto(); moveToNPCRecord = MapTransferUtility.Instance.NpcID; if (!model.myTeam.iamCaptainer) { model.RecordHeroAI(); } PlayerDatas.Instance.hero.Behaviour.StopHandupAI(); MapTransferUtility.Instance.Clear(); @@ -85,23 +84,21 @@ { if (rejectManual || model.teamPrepare.isError || model.teamPrepare.IsReject()) { if (autoHandupRecord) if (model.autoHandupRecord) { if (PlayerDatas.Instance.hero != null) { PlayerDatas.Instance.hero.Behaviour.StartHandupAI(); } autoHandupRecord = false; } if (moveToNPCRecord != 0) if (model.moveToNPCRecord != 0) { MapTransferUtility.Instance.MoveToNPC(moveToNPCRecord); moveToNPCRecord = 0; MapTransferUtility.Instance.MoveToNPC(model.moveToNPCRecord); } } model.ClearHeroAIRecord(); model.memberPrepareStateChangeEvent -= ShowPrepareStates; } System/Welfare/NPracticePointWin.cs
@@ -10,6 +10,7 @@ [SerializeField] Text remainTimeText; [SerializeField] Button gotoBtn; [SerializeField] Image multipleRealmImg; [SerializeField] Image multipleRealmImg2; [SerializeField] Text activeRuleText; OperationBase operation; MultipleRealmPointModel multipleRealm { get { return ModelCenter.Instance.GetModel<MultipleRealmPointModel>(); } } @@ -55,6 +56,7 @@ if (GeneralConfig.Instance.multipleRealmImgDict.ContainsKey(multipleRealm)) { multipleRealmImg.SetSprite(GeneralConfig.Instance.multipleRealmImgDict[multipleRealm]); multipleRealmImg2.SetSprite(GeneralConfig.Instance.multipleRealmImgDict[multipleRealm]); } activeRuleText.text = Language.Get("MultipleXXDRemind", Language.Get(StringUtility.Contact("Num_CHS_",multipleRealm))); }