#on armor change
1 messages · Page 1 of 1 (latest)
on armor change는 있습니다
그럼 armor change에서 입은 갑옷이랑 벗은갑옷은 어떻게 써요? event-item이 입은건가
on armor change:
if {회피율::%player%} is not set:
set {회피율::%player%} to 0
if new armor is in {@회피셋1}:
add {@회피율1} to {회피율::%player%}
if new armor is in {@회피셋2}:
add {@회피율2} to {회피율::%player%}
if new armor is in {@회피셋3}:
add {@회피율3} to {회피율::%player%}
if new armor is in {@회피셋4}:
add {@회피율4} to {회피율::%player%}
if old armor is in {@회피셋1}:
subtract {@회피율1} from {회피율::%player%}
if old armor is in {@회피셋2}:
subtract {@회피율2} from {회피율::%player%}
if old armor is in {@회피셋3}:
subtract {@회피율3} from {회피율::%player%}
if old armor is in {@회피셋4}:
subtract {@회피율4} from {회피율::%player%}
지피티 한테 물어봤는데 old armor, new armor 라고 해서 이렇게했는데 왜 오류가 날까여
on armor change
음... 왜 저렇게하지. 그냥 갑옷이 바뀔때마다 set으로 한번에 수치 결정하면 되는거 아닌가
음 저 구문이 되는지 모르겠지만 전 wait 2 tick으로 기달리고 슬롯에서 가져오긴 합니다
초보라 아는 문법 총동원 해서 만든게 이건데 안돼서...
if new armor item is leather armor: 처럼 사용해보실래요?
armor 뒤에 item 붙이시면 됩니다.