채팅0

    형들질문..

    조회수 1132

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

    댓글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-2022553
      6185008:577
      6184901:0073
      6184802-08169
      6184702-08158
      6184602-08142
      6184502-08195
      6184402-08197
      6184302-07294
      6184202-06688
      6184102-03941
      6184002-021492
      6183902-011424
      6183802-011314
      6183702-011224
      6183601-291659
      6183501-291674
      6183401-282086
      6183301-282050
      6183201-281916
      안내 배너 이미지