| | |
| | | |
| | | public class StoryBossBattleField : BattleField |
| | | { |
| | | protected JsonData extendData; |
| | | |
| | | protected MainLevelConfig levelConfig; |
| | | |
| | | protected MainChapterConfig chapterConfig; |
| | |
| | | public override void Init(int MapID, int FuncLineID, JsonData _extendData, |
| | | List<TeamBase> _redTeamList, List<TeamBase> _blueTeamList, byte turnMax) |
| | | { |
| | | base.Init(MapID, FuncLineID, extendData, _redTeamList, _blueTeamList, turnMax); |
| | | |
| | | int level = FuncLineID;// 关卡 |
| | | extendData = _extendData; |
| | | levelConfig = MainLevelConfig.Get(level); |
| | | chapterConfig = MainChapterConfig.Get(levelConfig.ChapterID); |
| | | |
| | | base.Init(MapID, FuncLineID, extendData, _redTeamList, _blueTeamList, turnMax); |
| | | |
| | | SetBattleMode(BattleMode.Record); |
| | | } |
| | | |