Ru_Nan
대표칭호 없음
Ru_Nan 642a599e50ad442cab0e91c0d4d2252a
이해도 | 1.12 |
---|---|
게임버전 (JE) | 모드버킷 |
게임버전 (BE) | Skellett SkQuery CtypeSK |
스크립트 애드온 | 2.6 alpha1 |
mohist 1.12.2 최신버전을 사용중입니다.
on inventory click: if inventory name of player's current inventory contains "&a&l의 직업상점": cancel event set {_name} to inventory name of player's current inventory replace all "&a&l의 직업상점" and "&6&l" with "" in {_name} set {_c} to lore of click item if {_c} is not set: exit if {_c} doesn't contain "구매가격": if {_c} doesn't contain "판매가격": exit set {_cs} to clicked slot + 1 set {_v::*} to {%{_name}%.shop.value::%{_cs}%} split by "," set {_buy} to {_v::1} parsed as number set {_sell} to {_v::2} parsed as number set {_item} to {%{_name}%.shop.item::%clicked slot + 1%}
위 코드 부분에서
[20:47:38 ERROR]: [Skript] {_c} can only be set to one object, not more (직업상점.sk, line 227: set {_c} to lore of click item')
[20:47:38 ERROR]: [Skript] the clicked slot is not a number (직업상점.sk, line 233: set {_cs} to clicked slot + 1')
[20:47:38 ERROR]: [Skript] the clicked slot is not a number (직업상점.sk, line 237: set {_item} to {%{_name}%.shop.item::%clicked slot + 1%}')
이러한 문제가 발생합니다. 어떻게 해야 할까요? 기존의 2.2dev27에서는 잘되었는데 2.6에서는 안되네요...
거너아나
2021.06.01227은 line 1 of lore of clicked item이고
Ru_Nan
2021.06.01덕분에 227은 고쳤습니다. 나머지는 어떻게 해야 합니까?