| | |
| | | PKModel pKModel { get { return m_PKModel ?? (m_PKModel = ModelCenter.Instance.GetModel<PKModel>()); } } |
| | | protected override void BindController() |
| | | { |
| | | string PkStr = ConfigManager.Instance.GetTemplate<FuncConfigConfig>("PKText").Numerical1; |
| | | string PkStr = Config.Instance.Get<FuncConfigConfig>("PKText").Numerical1; |
| | | _dic = ConfigParse.GetDic<int, string>(PkStr); |
| | | } |
| | | |
| | |
| | | protected override void OnPreOpen() |
| | | { |
| | | int MapID = PlayerDatas.Instance.baseData.MapID; |
| | | var config = ConfigManager.Instance.GetTemplate<MapConfig>(MapID); |
| | | var config = Config.Instance.Get<MapConfig>(MapID); |
| | | AtkTypeList = pKModel.GetArea(config.AtkType).ToArray(); |
| | | _PkType = Buffmodel.PkType;//获取当前PK状态 |
| | | if (_PkType != 2) |