2.0 소스 제작 아이템 or 어떤식으로 써야는지 궁금합니다..
컨텐츠 정보
- 568 조회
- 13 댓글
- 0 추천
- 0 비추천
-
목록
본문
createList.add(new CreateItem("신성한 완력의 반지", false, 1, true, 5, 1 || ("신성한 민첩의 반지", false, 1, true, 5, 1 )); ));
이렇게 햇는데 오류떠서..어떻게 쓰는지 궁금합니다..
-
등록일 2024.05.31
-
등록일 2024.05.27형님들 궁금한게 있습니다!!댓글 1
-
등록일 2024.05.21형님들 변신 도와주십시요...댓글 1
-
등록일 2024.05.21변신관련 도와주실형님 계십니까댓글 6
관련자료
댓글 13

넘버블럭스님의 댓글의 댓글
} else if (action.equalsIgnoreCase("제브레퀴의 송곳니")) {
ItemInstance item1 = pc.getInventory().find("신성한 완력의 목걸이");
if (item1 != null && item1.getEnLevel() == 5) {
createList.add(new CreateItem("신성한 완력의 목걸이", false, 1, true, 5, 1 ));
createList.add(new CreateItem("전설 비법서[장신구]", false, 1, false, 0, 5));
createList.add(new CreateItem("아데나", false, 1, false, 0, 10000000));
checkItem(pc, createList, itemList);
createItem(pc, createList, createList2, itemList, "제브레퀴의 송곳니", 1, 0, 1);
} else {
ChattingController.toChatting(pc, String.format("[제브레퀴의 송곳니] +5 신성한 완력의 목걸이, 전설 비법서[장신구]5개, 아데나 (10,000,000) 필요합니다.", action), 20);
}
이 소스에서 신성한완력의목걸이 또는 신성한민첩의목걸이 로도 제작가능할수잇게 소스를 만들고싶습니다...
ItemInstance item1 = pc.getInventory().find("신성한 완력의 목걸이");
if (item1 != null && item1.getEnLevel() == 5) {
createList.add(new CreateItem("신성한 완력의 목걸이", false, 1, true, 5, 1 ));
createList.add(new CreateItem("전설 비법서[장신구]", false, 1, false, 0, 5));
createList.add(new CreateItem("아데나", false, 1, false, 0, 10000000));
checkItem(pc, createList, itemList);
createItem(pc, createList, createList2, itemList, "제브레퀴의 송곳니", 1, 0, 1);
} else {
ChattingController.toChatting(pc, String.format("[제브레퀴의 송곳니] +5 신성한 완력의 목걸이, 전설 비법서[장신구]5개, 아데나 (10,000,000) 필요합니다.", action), 20);
}
이 소스에서 신성한완력의목걸이 또는 신성한민첩의목걸이 로도 제작가능할수잇게 소스를 만들고싶습니다...

넘버블럭스님의 댓글
} else if (action.equalsIgnoreCase("제브레퀴의 송곳니")) {
ItemInstance item1 = pc.getInventory().find("신성한 완력의 목걸이");
if (item1 != null && item1.getEnLevel() == 5) {
createList.add(new CreateItem("신성한 완력의 목걸이", false, 1, true, 5, 1 ));
createList.add(new CreateItem("전설 비법서[장신구]", false, 1, false, 0, 5));
createList.add(new CreateItem("아데나", false, 1, false, 0, 10000000));
checkItem(pc, createList, itemList);
createItem(pc, createList, createList2, itemList, "제브레퀴의 송곳니", 1, 0, 1);
} else {
ChattingController.toChatting(pc, String.format("[제브레퀴의 송곳니] +5 신성한 완력의 목걸이, 전설 비법서[장신구]5개, 아데나 (10,000,000) 필요합니다.", action), 20);
}
이 소스에서 신성한완력의목걸이 또는 신성한민첩의목걸이 로도 제작가능할수잇게 소스를 만들고싶습니다...
ItemInstance item1 = pc.getInventory().find("신성한 완력의 목걸이");
if (item1 != null && item1.getEnLevel() == 5) {
createList.add(new CreateItem("신성한 완력의 목걸이", false, 1, true, 5, 1 ));
createList.add(new CreateItem("전설 비법서[장신구]", false, 1, false, 0, 5));
createList.add(new CreateItem("아데나", false, 1, false, 0, 10000000));
checkItem(pc, createList, itemList);
createItem(pc, createList, createList2, itemList, "제브레퀴의 송곳니", 1, 0, 1);
} else {
ChattingController.toChatting(pc, String.format("[제브레퀴의 송곳니] +5 신성한 완력의 목걸이, 전설 비법서[장신구]5개, 아데나 (10,000,000) 필요합니다.", action), 20);
}
이 소스에서 신성한완력의목걸이 또는 신성한민첩의목걸이 로도 제작가능할수잇게 소스를 만들고싶습니다...

넘버블럭스님의 댓글의 댓글
} else if (action.equalsIgnoreCase("제브레퀴의 송곳니")) {
ItemInstance item1 = pc.getInventory().find("신성한 완력의 목걸이");
ItemInstance item2 = pc.getInventory().find("신성한 민첩의 목걸이");
if (item1 != null && item1.getEnLevel() == 5) {
createList.add(new CreateItem("신성한 완력의 목걸이", false, 1, true, 5, 1 ));
createList.add(new CreateItem("전설 비법서[장신구]", false, 1, false, 0, 5));
createList.add(new CreateItem("아데나", false, 1, false, 0, 10000000));
checkItem(pc, createList, itemList);
createItem(pc, createList, createList2, itemList, "제브레퀴의 송곳니", 1, 0, 1);
} else if (item2 != null && item2.getEnLevel() == 5) {
createList.add(new CreateItem("신성한 민첩의 목걸이", false, 1, true, 5, 1 ));
createList.add(new CreateItem("전설 비법서[장신구]", false, 1, false, 0, 5));
createList.add(new CreateItem("아데나", false, 1, false, 0, 10000000));
checkItem(pc, createList, itemList);
createItem(pc, createList, createList2, itemList, "제브레퀴의 송곳니", 1, 0, 1);
}else{
ChattingController.toChatting(pc, String.format("[제브레퀴의 송곳니] +5 신성한 완력의 목걸이 또는 +5 신성한 민첩의 목걸이, 전설 비법서[장신구]5개, 아데나 (10,000,000) 필요합니다.", action), 20);
}
이부분 똑같이 넣엇어요
ItemInstance item1 = pc.getInventory().find("신성한 완력의 목걸이");
ItemInstance item2 = pc.getInventory().find("신성한 민첩의 목걸이");
if (item1 != null && item1.getEnLevel() == 5) {
createList.add(new CreateItem("신성한 완력의 목걸이", false, 1, true, 5, 1 ));
createList.add(new CreateItem("전설 비법서[장신구]", false, 1, false, 0, 5));
createList.add(new CreateItem("아데나", false, 1, false, 0, 10000000));
checkItem(pc, createList, itemList);
createItem(pc, createList, createList2, itemList, "제브레퀴의 송곳니", 1, 0, 1);
} else if (item2 != null && item2.getEnLevel() == 5) {
createList.add(new CreateItem("신성한 민첩의 목걸이", false, 1, true, 5, 1 ));
createList.add(new CreateItem("전설 비법서[장신구]", false, 1, false, 0, 5));
createList.add(new CreateItem("아데나", false, 1, false, 0, 10000000));
checkItem(pc, createList, itemList);
createItem(pc, createList, createList2, itemList, "제브레퀴의 송곳니", 1, 0, 1);
}else{
ChattingController.toChatting(pc, String.format("[제브레퀴의 송곳니] +5 신성한 완력의 목걸이 또는 +5 신성한 민첩의 목걸이, 전설 비법서[장신구]5개, 아데나 (10,000,000) 필요합니다.", action), 20);
}
이부분 똑같이 넣엇어요

서약님의 댓글
} else if (action.equalsIgnoreCase("제브레퀴의 송곳니")) { // NPC클릭후 어떤걸 클릭할때에 적용할껀지 html 액션값
ItemInstance item1 = pc.getInventory().find("신성한 완력의 목걸이"); << 재료아이템
if (item1 != null && item1.getEnLevel() == 5) { <<인첸트여부 (5가 아닐시 거짓이으로 수행안함)
createList.add(new CreateItem("신성한 완력의 목걸이", false, 1, true, 5, 1 )); <<재료 (아이템명, 축여부확인, 축여부, 인첸여부확인, 인첸, 갯수)
createList.add(new CreateItem("전설 비법서[장신구]", false, 1, false, 0, 5));
createList.add(new CreateItem("아데나", false, 1, false, 0, 10000000));
checkItem(pc, createList, itemList);
createItem(pc, createList, createList2, itemList, "제브레퀴의 송곳니", 1, 0, 1); << 주는아이템 (아이템명, 축여부, 인첸, 갯수)
} else {
ChattingController.toChatting(pc, String.format("[제브레퀴의 송곳니] +5 신성한 완력의 목걸이, 전설 비법서[장신구]5개, 아데나 (10,000,000) 필요합니다.", action), 20); <<멘트
}
ItemInstance item1 = pc.getInventory().find("신성한 완력의 목걸이"); << 재료아이템
if (item1 != null && item1.getEnLevel() == 5) { <<인첸트여부 (5가 아닐시 거짓이으로 수행안함)
createList.add(new CreateItem("신성한 완력의 목걸이", false, 1, true, 5, 1 )); <<재료 (아이템명, 축여부확인, 축여부, 인첸여부확인, 인첸, 갯수)
createList.add(new CreateItem("전설 비법서[장신구]", false, 1, false, 0, 5));
createList.add(new CreateItem("아데나", false, 1, false, 0, 10000000));
checkItem(pc, createList, itemList);
createItem(pc, createList, createList2, itemList, "제브레퀴의 송곳니", 1, 0, 1); << 주는아이템 (아이템명, 축여부, 인첸, 갯수)
} else {
ChattingController.toChatting(pc, String.format("[제브레퀴의 송곳니] +5 신성한 완력의 목걸이, 전설 비법서[장신구]5개, 아데나 (10,000,000) 필요합니다.", action), 20); <<멘트
}