| | |
| | | rejectManual = false;
|
| | | if (!model.myTeam.iamCaptainer)
|
| | | {
|
| | | model.RecordHeroAI();
|
| | | HeroAIRecorder.Record();
|
| | | }
|
| | |
|
| | | PlayerDatas.Instance.hero.Behaviour.StopHandupAI();
|
| | |
| | | {
|
| | | if (rejectManual || model.teamPrepare.isError || model.teamPrepare.IsReject())
|
| | | {
|
| | | if (model.autoHandupRecord)
|
| | | if (HeroAIRecorder.autoHandupRecord)
|
| | | {
|
| | | if (PlayerDatas.Instance.hero != null)
|
| | | {
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | if (model.moveToNPCRecord != 0)
|
| | | if (HeroAIRecorder.moveToNPCRecord != 0)
|
| | | {
|
| | | MapTransferUtility.Instance.MoveToNPC(model.moveToNPCRecord);
|
| | | MapTransferUtility.Instance.MoveToNPC(HeroAIRecorder.moveToNPCRecord);
|
| | | }
|
| | | }
|
| | |
|
| | | model.ClearHeroAIRecord();
|
| | | HeroAIRecorder.ClearRecord();
|
| | | model.memberPrepareStateChangeEvent -= ShowPrepareStates;
|
| | | }
|
| | |
|