M_Shushu_diary a68be8ba443e41b086307dca25b4a54b
이해도 | 중급자(필요한 애드온을 찾아서 만들 수 있어요) |
---|---|
게임버전 (JE) | 1.12.2 |
게임버전 (BE) | 관련없음 |
스크립트 버전 | 2.6 |
command /스텟사용:
trigger:
open chest with 3 rows named "스텟" to player
set slot 11 of player's current inventory to iron sword named "힘 스텟" with lore "현재 스텟:%{him::%uuid of player%}%"
set slot 13 of player's current inventory to apple named "체력 스텟" with lore "현재 스텟:%{health::%uuid of player%}%"
set slot 15 of player's current inventory to bow named "민첩 스텟" with lore "현재 스텟:%{quickness::%uuid of player%}%"
on inventory click:
if inventory name of player's current inventory contains "스텟":
if clicked raw slot is 11:
cancel event
add 1 to {him::%uuid of player%}
if clicked raw slot is 15:
cancel event
add 1 to {health::%uuid of player%}
if clicked raw slot is 13:
cancel event
add 1 to {quickness::%uuid of player%}
변수에 수를 추가하는게 안됨
댓글이 없습니다.
새로운 댓글을 등록해 주세요!