Fixed #3140 前端】副本中,死亡复活后1秒后立即开启自动战斗 配置提交
| | |
| | | case 0:
|
| | | if (DungeonStage.CurrentMapType != MapType.OpenCountry)
|
| | | {
|
| | | if (!GeneralConfig.Instance.RebornAutoFightMapID.Contains(PlayerDatas.Instance.baseData.MapID))
|
| | | if (GeneralConfig.Instance.RebornAutoFightMapID.Contains(PlayerDatas.Instance.baseData.MapID))
|
| | | {
|
| | | _hero.Behaviour.StartHandupAI();
|
| | | }
|
| | | else
|
| | | {
|
| | | _hero.Behaviour.StopHandupAI();
|
| | | _hero.Behaviour.StopKillUntilDieAI();
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | func = Config.Instance.Get<FuncConfigConfig>("RebornAutoFightDungeon");
|
| | | RebornAutoFightMapID = new List<int>(GetIntArray(func.Numerical1));
|
| | | int[] mapIDs = GetIntArray("RebornAutoFightDungeon");
|
| | | RebornAutoFightMapID = new List<int>(mapIDs);
|
| | | }
|
| | | catch (Exception ex)
|
| | | {
|