개인 자료란 (JE)

  서버 커뮤니티

Profile 힉힉호무리 대표칭호 없음
Profile

질문하기 JavaScript

공격력아이템스크립트

2024.11.30 조회 수 95 추천 수 0
이해도 초보자 
게임버전 (JE) 1.20.1 
게임버전 (BE) 1.20.x 

on player consume:

    if event-item is bread named "&a공격력":

        if {attackDamage.%uuid of player%} is not set:

            set {attackDamage.%uuid of player%} to 0

        set {attackDamage.%uuid of player%} to {attackDamage.%uuid of player%} + 0.05

        send "&b공격력이 1 증가했습니다!" to player

        add 1 to {attacklv.%uuid of player%}


한개의 빵만 들고 있을 땐 작동이 되는데

여러개의 빵을 들고 한개를 먹으면 작동이 안됩니다..

살려주세요ㅠㅠ

Warning
댓글이 없습니다.

새로운 댓글을 등록해 주세요!

뉴스 및 창작물
/files/thumbnails/520/060/004/262x150.crop.jpg?20250612233233

업데이트

마인크래프트 자바 1.21.6 릴리스 후보 1 한국어 번역본 (Minecraft 1.21.6 Release Candidate 1)

updater

2025-06-12

0

/files/thumbnails/267/050/004/262x150.crop.jpg?20250611010233

업데이트

마인크래프트 자바 1.21.6 프리릴리스 1 한국어 번역본 (Minecraft 1.21.6 Pre-Release 1)

updater

2025-05-28

1

/files/thumbnails/166/043/004/262x150.crop.jpg?20250603112940

업데이트

마인크래프트 자바 스냅숏 25w20a 한국어 번역본 (Minecraft Snapshot 25w20a)

updater

2025-05-14

0

/files/thumbnails/255/028/004/262x150.crop.jpg?20250603113100

업데이트

마인크래프트 자바 스냅숏 25w16a 한국어 번역본 (Minecraft Snapshot 25w16a)

updater

2025-04-16

0

/files/thumbnails/036/025/004/262x150.crop.jpg?20250603113122

업데이트

마인크래프트 자바 스냅숏 25w15a 한국어 번역본 (Minecraft Snapshot 25w15a)

updater

2025-04-09

1