少年修仙传客户端代码仓库
Client_PangDeRong
2018-10-13 68488b8a0429ede7baeae681289e730ba4971968
System/OpenServerActivity/OperationFlashRushToBuy.cs
@@ -17,6 +17,7 @@
                if (shop.dayIndex == dayIndex
                    && shop.timeIndex == timeIndex)
                {
                    flashSaleShop = shop;
                    return true;
                }
            }
@@ -39,7 +40,7 @@
            var endTime = new DateTime(startDate.year, startDate.month,day, operationTime.endHour, operationTime.endHour, 0);
            int advanceSec = Mathf.CeilToInt((float)(startTime - time).TotalSeconds);
            int endSec = Mathf.CeilToInt((float)(endTime - time).TotalSeconds);
            if (seconds > 0)
            if (advanceSec > 0)
            {
                seconds = advanceSec;
                return -1;
@@ -67,7 +68,11 @@
        public override bool SatisfyOpenCondition()
        {
            return PlayerDatas.Instance.baseData.LV >= limitLv;
            if(PlayerDatas.Instance.baseData.LV >= limitLv && InDay(TimeUtility.ServerNow))
            {
                return true;
            }
            return false;
        }
        public override void Reset()