채팅0

    이거 설날 이벤트냐 ?

    조회수 443

    if (self.ExpRateByEvent ~= 1) then

    local endTime = DateTime(self.ExpRateEndTime)

    local endTimeLocal = _UtilLogic:GetLocalTimeFrom(endTime)

    local mes = string.format("[이벤트] 현재 %02d월 %02d일 %02d시 %02d분 까지 경험치 %d배 이벤트가 진행중입니다.",

    endTimeLocal.Month, endTimeLocal.Day, endTimeLocal.Hour, endTimeLocal.Minute, self.ExpRateByEvent)

    _ChatMessageLogic:Add(_ChatMessageType.Yellow, mes)

    end

    if (self.DropRateByEvent ~= 1) then

    local endTime = DateTime(self.DropRateEndTime)

    local endTimeLocal = _UtilLogic:GetLocalTimeFrom(endTime)

    local mes = string.format("[이벤트] 현재 %02d월 %02d일 %02d시 %02d분 까지 드롭률 %d배 이벤트가 진행중입니다.",

    endTimeLocal.Month, endTimeLocal.Day, endTimeLocal.Hour, endTimeLocal.Minute, self.DropRateByEvent)

    _ChatMessageLogic:Add(_ChatMessageType.Yellow, mes)

    end

    endreturn function (self,mode,newState,rate,endTimeElapsed)

    if (newState) then

    local endTime = DateTime(endTimeElapsed)

    local endTimeLocal = _UtilLogic:GetLocalTimeFrom(endTime)

    local mes = string.format("[이벤트] %02d월 %02d일 %02d시 %02d분 까지 %s %d배 이벤트가 시작됩니다.",

    endTimeLocal.Month, endTimeLocal.Day, endTimeLocal.Hour, endTimeLocal.Minute, mode, rate)

    _ChatMessageLogic:Add(_ChatMessageType.Yellow, mes)

    else

    local mes = string.format("[이벤트] %s 이벤트가 종료되었습니다.", mode)

    _ChatMessageLogic:Add(_ChatMessageType.Yellow, mes)

    end

    endreturn function (self,enabled,endTime)

    댓글1

    회원프로필

    ㄹㅇㅋㅋㅋ

    2024.02.01 11:03

      게시글 리스트
      제목작성자작성일조회
      공지10-2022119
      6166811:3910
      6166701:52114
      6166611-12142
      6166511-12187
      6166411-12235
      6166311-11351
      6166211-11344
      6166111-11478
      6166011-11388
      6165911-11535
      6165811-10456
      6165711-10483
      6165611-10462
      6165511-10527
      6165411-10647
      6165311-10608
      6165211-09675
      6165111-09628
      6165011-09665
      안내 배너 이미지