이해도 | 입문자 |
---|---|
게임버전 (JE) | 관련없음 |
게임버전 (BE) | 관련없음 |
on right click:
if player's tool is sword:
if {무적쿨타임::%uuid of player%} is set:
stop
set invulnerable state of player to true
swing main hand
play sound "item.shield.block" with volume 1 and pitch 1 to player
wait 10 ticks
set invulnerable state of player to false
set {무적쿨타임::%uuid of player%} to true
loop 3 times:
set {_sec} to 3 - loop-number
send action bar "&7[방어] &7쿨타임: %{_sec}%초" to player
wait 1 second
delete {무적쿨타임::%uuid of player%}
send action bar "&7[방어] &a사용 가능!" to player
여기서 swing main hand 를 swing main hand of player 나 make player attack 를 다 써봐도
휘두르는 모션이 안나가네요... 아까 아침에 출근전에 잠시 손봤을땐 됐었는데
다른거 수정하다가 삭제시켜버려서 어떤걸로 됐었는지 기억이 안나네요 ㅠㅠ 알려주실분 계실까요
김춘달
2025.04.08make player swing main hand 로 해결 ㅠㅠ