채팅0

    이거 설날 이벤트냐 ?

    조회수 442

    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

      게시글 리스트
      제목작성자작성일조회
      2467102-01685
      2467002-01179
      2466902-01466
      2466802-01209
      2466702-01671
      2466602-01174
      2466502-01165
      2466402-01443
      2466302-01242
      2466202-01472
      2466102-01459
      2466002-01612
      2465902-01629
      2465802-01224
      2465702-01218
      2465602-01118
      2465502-01258
      2465402-01553
      2465302-01413
      2465202-01427
      안내 배너 이미지