| | |
| | |
|
| | | public bool ContainTimeNode(int week, int timeNode)
|
| | | {
|
| | | var openDayWeek = (int)TimeUtility.openServerDayOfWeek;
|
| | | if ((DailyQuestType)id == DailyQuestType.CrossServerPk)
|
| | | {
|
| | | return false;
|
| | | }
|
| | |
|
| | | var openDayWeek = (int)TimeUtility.openServerDayOfWeek;
|
| | | List<HourMinute> hourMinutes = null;
|
| | | var dayDelta = (week == 0 ? 7 : week) - (openDayWeek == 0 ? 7 : openDayWeek);
|
| | | if (TimeUtility.OpenWeekCnt < 1 && dayDelta < 0)
|
| | |
| | | case DailyQuestCategory.TimeLimit:
|
| | | if (!openTime.always)
|
| | | {
|
| | | if ((DailyQuestType)key == DailyQuestType.CrossServerPk)
|
| | | {
|
| | | if (TimeUtility.OpenDay >= GeneralDefine.crossServerOneVsOneOpenDay
|
| | | && CrossServerOneVsOnePKSeason.Instance.SeasonState == 1)
|
| | | {
|
| | | quests.Add(key);
|
| | | }
|
| | | }
|
| | | else
|
| | | {
|
| | | quests.Add(key);
|
| | | }
|
| | | }
|
| | | break;
|
| | | }
|
| | |
|
| | | }
|
| | |
|
| | | switch (_category)
|
| | |
| | | public static Dictionary<int, Dictionary<int, GA_NpcFightSgzcZZ.EquipRandomInfo>> SgzzRobotEquipDict { get; private set; } |
| | | public static Dictionary<int, int> SgzcRealm { get; private set; } |
| | | |
| | | public static int crossServerOneVsOneOpenDay { get; private set; } |
| | | |
| | | public static void Init() |
| | | { |
| | | try |
| | |
| | | SgzcRealm[int.Parse(_lvArr[j])] = int.Parse(_rLvArr[j]); |
| | | } |
| | | } |
| | | |
| | | crossServerOneVsOneOpenDay = GetInt("CrossRealmCfg"); |
| | | } |
| | | catch (Exception ex) |
| | | { |