| | |
| | | |
| | | bool m_ShowFakeLine = false; |
| | | public bool showFakeLine { |
| | | get { return m_ShowFakeLine; } |
| | | set { m_ShowFakeLine = value; } |
| | | get { |
| | | if (TimeUtility.OpenDay < GeneralConfig.Instance.bossShuntDays |
| | | && GeneralConfig.Instance.neutralMaps.Contains(PlayerDatas.Instance.baseData.MapID)) |
| | | { |
| | | return true; |
| | | } |
| | | |
| | | return m_ShowFakeLine; |
| | | } |
| | | set { |
| | | m_ShowFakeLine = value; |
| | | } |
| | | } |
| | | |
| | | public BossFakeLineUtility() |
| | |
| | | |
| | | public void RecordSawStone(int npcId, int lineId) |
| | | { |
| | | var bossInfo = BossInfoConfig.GetBossInfoByStoneId(npcId); |
| | | if (bossInfo != null) |
| | | { |
| | | if (HasSawLineBossRecently(bossInfo.NPCID, lineId)) |
| | | { |
| | | bossSawRecorder.Clear(); |
| | | } |
| | | } |
| | | |
| | | stoneSawRecorder.Record(npcId, lineId, Time.realtimeSinceStartup); |
| | | } |
| | | |
| | |
| | | |
| | | public void RecordSawBoss(int bossId, int lineId) |
| | | { |
| | | if (HasSawLineStoneRecently(bossId, lineId)) |
| | | { |
| | | stoneSawRecorder.Clear(); |
| | | } |
| | | |
| | | bossSawRecorder.Record(bossId, lineId, Time.realtimeSinceStartup); |
| | | } |
| | | |