| | |
| | | {
|
| | | public const int PREPOSE_SECONDS = 300;
|
| | | public const int FINDPRECIOUS_REDPOINTID = 76000;
|
| | | public const int LOOTPRECIOUs_REDPOINTID = 77000;
|
| | |
|
| | | Redpoint findPreciousRedpoint = new Redpoint(FINDPRECIOUS_REDPOINTID);
|
| | | Redpoint lootPreciousRedpoint = new Redpoint(LOOTPRECIOUs_REDPOINTID);
|
| | |
|
| | | int m_ViewKillRecordsBoss = 0;
|
| | | public int ViewKillRecordsBoss {
|
| | |
| | | WorldBossModel worldBossModel { get { return ModelCenter.Instance.GetModel<WorldBossModel>(); } }
|
| | | BossHomeModel bossHomeModel { get { return ModelCenter.Instance.GetModel<BossHomeModel>(); } }
|
| | | PersonalBossModel personalBossModel { get { return ModelCenter.Instance.GetModel<PersonalBossModel>(); } }
|
| | | DogzDungeonModel dogzDungeonModel { get { return ModelCenter.Instance.GetModel<DogzDungeonModel>(); } }
|
| | |
|
| | | public override void Init()
|
| | | {
|
| | |
| | | findPreciousRedpoint.state = totalCount > 0 ? RedPointState.Quantity : RedPointState.None;
|
| | | findPreciousRedpoint.count = totalCount;
|
| | | }
|
| | |
|
| | | if (_redpointId == DemonJarModel.DEMONJAR_REDPOINTID ||
|
| | | _redpointId == DogzDungeonModel.DOGZDUNGEON_REDPOINT)
|
| | | {
|
| | | var demonJarRedpointCount = demonJarModel.redpoint.count;
|
| | | var dogzDungeonRedpointCount = dogzDungeonModel.redpoint.count;
|
| | | var totalCount = demonJarRedpointCount + dogzDungeonRedpointCount;
|
| | |
|
| | | lootPreciousRedpoint.count = totalCount;
|
| | | lootPreciousRedpoint.state = totalCount > 0 ? RedPointState.Quantity : RedPointState.None;
|
| | | }
|
| | | }
|
| | |
|
| | | public FindPreciousType GetBossFindPreciousType(int _bossId)
|