채팅0

    형들질문..

    조회수 1100

    여기서.. 무적만 뺼려고 하면어트케 해야됭...ㅠㅠ

    댓글4

    회원프로필

    return function (self, damage, hitByLeft, fromMob, attackIndex, reflect)
        local user = self.Entity
        local regularAttack = not fromMob or attackIndex <= 500
        self.HitDamage = damage
        local templateId = 500
        if (isvalid(fromMob)) then
            templateId = fromMob.MobComponent:GetLinkOriginTemplateId()
        end
        self:ShowHitDamage(damage, 500, templateId, attackIndex, not hitByLeft, "")
        if (damage > 500) then
            local randomAction = math.random(1, 2) -- 무작위로 1 또는 2 선택
            if randomAction == 1 then
                user.CharacterActionComponent:ChangeAction(_CharacterAction.STAND1)
            else
                user.CharacterActionComponent:ChangeAction(_CharacterAction.STAND2)
            end

            self:OnUserHitServer(damage, 0, fromMob, p, attackIndex, not hitByLeft, reflect, self.)
        end
    end
    요고야..

    2024.02.17 08:54
    회원프로필

    무적이랑 피굳이랑 달라요?

    2024.02.17 08:59
    회원프로필

    1ㄷ1

    2024.02.17 13:42
    회원프로필

    이거 hit time 없애도 되는거 맞아..?

    2024.02.20 09:37

      게시글 리스트
      제목작성자작성일조회
      공지10-2022364
      6178213:2958
      6178108:48104
      6178006:42106
      6177912-19349
      6177812-18491
      6177712-18822
      6177612-16956
      6177512-141114
      6177412-141405
      6177312-141332
      6177212-131231
      6177112-131587
      6177012-121548
      6176912-112165
      6176812-102182
      6176712-101982
      6176612-091889
      6176512-092031
      6176412-092206
      안내 배너 이미지