少年修仙传客户端代码仓库
client_linchunjie
2018-08-27 d106f11e7f44c748f595da36e0cdfd54849649e6
System/FindPrecious/FindPreciousModel.cs
@@ -452,14 +452,9 @@
            foreach (var boss in bossInfos.Values)
            {
                var bossId = boss.bossId;
                if (!IsBossAlive(bossId))
                if (Config.Instance.ContainKey<DemonJarConfig>(bossId))
                {
                    RemoveOneBossRebornNotify(bossId);
                }
                else
                {
                    if (Config.Instance.ContainKey<DemonJarConfig>(bossId))
                    if (IsBossAlive(bossId))
                    {
                        var config = Config.Instance.Get<DemonJarConfig>(bossId);
                        var grade = dungeonModel.GetDungeonGrade(new Dungeon(DemonJarModel.DEMONJAR_MAPID, config.LineID));
@@ -470,16 +465,21 @@
                    }
                    else
                    {
                        if ((bossInfos[bossId].refreshTime - DateTime.Now).TotalSeconds < PREPOSE_SECONDS)
                        {
                            AddOneBossRebornNotify(bossId);
                        }
                        else
                        {
                            FindPreciousTimer.Instance.AddClock(bossId, bossInfos[bossId].refreshTime);
                        }
                        RemoveOneBossRebornNotify(bossId);
                    }
                }
                else
                {
                    if (IsBossAlive(bossId) || (bossInfos[bossId].refreshTime - DateTime.Now).TotalSeconds < PREPOSE_SECONDS)
                    {
                        AddOneBossRebornNotify(bossId);
                    }
                    else
                    {
                        FindPreciousTimer.Instance.AddClock(bossId, bossInfos[bossId].refreshTime);
                    }
                }
            }
        }