| | |
| | | |
| | | public int GetRecommendNpc() |
| | | { |
| | | if (bigBoxCollectCount < 2) //未疲劳 |
| | | if (bigBoxCollectCount < 2) |
| | | { |
| | | return bigBoxNpcId;//大宝箱npc id |
| | | return bigBoxNpcId; |
| | | } |
| | | |
| | | if (wearyValue < GeneralConfig.Instance.bossWearyValues[2]) |
| | |
| | | for (int i = sortedBossIds.Count - 1; i >= 0; i--) |
| | | { |
| | | var bossId = sortedBossIds[i]; |
| | | var dogzConfig = Config.Instance.Get<DogzDungeonConfig>(bossId); |
| | | if (dogzConfig.MonsterType == 3 || dogzConfig.MonsterType == 4) |
| | | { |
| | | var npcConfig = Config.Instance.Get<NPCConfig>(bossId); |
| | | if (IsBossUnLocked(bossId) && findPreciousModel.IsBossAlive(bossId) && playerLevel >= npcConfig.NPCLV) |
| | | { |
| | | return bossId; |
| | | } |
| | | } |
| | | } |
| | | |
| | | return sortedBossIds[0]; |
| | | } |
| | | |
| | | return bigBoxNpcId;//大宝箱 npcid |
| | | return eliteMonsters[0]; |
| | | } |
| | | |
| | | public int GetRecommendKillElite() |
| | |
| | | public int id { get; private set; } |
| | | public bool isUnLocked { |
| | | get { |
| | | var config = Config.Instance.Get<NPCConfig>(id); |
| | | return PlayerDatas.Instance.baseData.LV >= config.NPCLV; |
| | | return true; |
| | | } |
| | | } |
| | | |