채팅0

    이거 설날 이벤트냐 ?

    조회수 444

    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

      게시글 리스트
      제목작성자작성일조회
      2467302-01270
      24672
      ??파일+7
      02-01626
      2467102-01688
      2467002-01192
      2466902-01470
      2466802-01212
      2466702-01677
      2466602-01177
      2466502-01168
      2466402-01445
      2466302-01245
      2466202-01476
      2466102-01465
      2466002-01614
      2465902-01632
      2465802-01230
      2465702-01223
      2465602-01120
      2465502-01260
      2465402-01563
      안내 배너 이미지