| | |
| | | public override void Init(int MapID, int FuncLineID, JsonData _extendData, |
| | | List<TeamBase> _redTeamList, List<TeamBase> _blueTeamList, byte turnMax) |
| | | { |
| | | |
| | | chapter = FuncLineID / 10000; |
| | | wave = MapID == 1 ? FuncLineID % 100 : 1;//第几波怪 |
| | | level = (FuncLineID % 10000) / 100; |
| | |
| | | |
| | | byte reqType; |
| | | |
| | | if (battleState == StoryBattleState.Break || AutoFightModel.Instance.restartMainStoryBattle) |
| | | if (battleState == StoryBattleState.Break) |
| | | { |
| | | AutoFightModel.Instance.restartMainStoryBattle = false; |
| | | reqType = 2; |
| | | } |
| | | else if (battleState == StoryBattleState.Battle) |