채팅0

    이거 설날 이벤트냐 ?

    조회수 445

    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-2022379
      6179212-2871
      6179112-28149
      6179012-26440
      6178912-25561
      6178812-25527
      6178712-24816
      6178612-231135
      6178512-221157
      6178412-221282
      6178312-221132
      6178212-211210
      6178112-211369
      6178012-211290
      6177912-191486
      6177812-181584
      6177712-182174
      6177612-162094
      6177512-142186
      6177412-142566
      안내 배너 이미지