에바)샤르나 75,80변신
L1ItemId.java
/**75 80 샤르나 변신 주문서**/
public static final int SHARNA_POLYSCROLL_LV75 = 5000318;
public static final int SHARNA_POLYSCROLL_LV80 = 5000319;
PolyItem.java
|| itemId == L1ItemId.SHARNA_POLYSCROLL_LV70 //샤르나의 변신 주문서 (레벨 70)//검색 후 추가
|| itemId == L1ItemId.SHARNA_POLYSCROLL_LV75 //샤르나의 변신 주문서 (레벨 75)
|| itemId == L1ItemId.SHARNA_POLYSCROLL_LV80) { //샤르나의 변신 주문서 (레벨 80)
.
.
.
70 변신주문서 밑에 else if 문 추가
else if (itemId == L1ItemId.SHARNA_POLYSCROLL_LV75) { // 75
if(pc.isCrown()) {
if (pc.get_sex() == 0) {
polyId = 10987;
} else {
polyId = 10988;
}
} else if (pc.isKnight()) {
if (pc.get_sex() == 0) {
polyId = 10989;
} else {
polyId = 10990;
}
} else if (pc.isElf()) {
if (pc.get_sex() == 0) {
polyId = 10991;
} else {
polyId = 10992;
}
} else if (pc.isWizard()) {
if (pc.get_sex() == 0) {
polyId = 10993;
} else {
polyId = 10994;
}
} else if (pc.isDarkelf()) {
if (pc.get_sex() == 0) {
polyId = 10995;
} else {
polyId = 10996;
}
} else if (pc.isDragonknight()) {
if (pc.get_sex() == 0) {
polyId = 10997;
} else {
polyId = 10998;
}
} else if (pc.isIllusionist()) {
if (pc.get_sex() == 0) {
polyId = 10999;
} else {
polyId = 11000;
}
}
} else if (itemId == L1ItemId.SHARNA_POLYSCROLL_LV80) { // 80
if(pc.isCrown()) {
if (pc.get_sex() == 0) {
polyId = 11001;
} else {
polyId = 11002;
}
} else if (pc.isKnight()) {
if (pc.get_sex() == 0) {
polyId = 11003;
} else {
polyId = 11004;
}
} else if (pc.isElf()) {
if (pc.get_sex() == 0) {
polyId = 11005;
} else {
polyId = 11006;
}
} else if (pc.isWizard()) {
if (pc.get_sex() == 0) {
polyId = 11007;
} else {
polyId = 11008;
}
} else if (pc.isDarkelf()) {
if (pc.get_sex() == 0) {
polyId = 11009;
} else {
polyId = 11010;
}
} else if (pc.isDragonknight()) {
if (pc.get_sex() == 0) {
polyId = 11011;
} else {
polyId = 11012;
}
} else if (pc.isIllusionist()) {
if (pc.get_sex() == 0) {
polyId = 11013;
} else {
polyId = 11014;
}
}
}
ItemTable.java
case 5000318:
case 5000319:
item = new PolyItem(temp);//검색 후 위에추가
C_NPCAction.java
} else if (((L1NpcInstance) obj).getNpcTemplate().get_npcId() == 4309003) {
L1NpcInstance npc = (L1NpcInstance) obj;
if (pc.getLevel() < 30) {
htmlid = "sharna4";
} else if (pc.getInventory().checkItem(L1ItemId.ADENA, 2500)) {
int itemid = 0;
if(pc.getLevel() >= 30 && pc.getLevel() < 40){
itemid = L1ItemId.SHARNA_POLYSCROLL_LV30;
} else if (pc.getLevel() >= 40 && pc.getLevel() < 52) {
itemid = L1ItemId.SHARNA_POLYSCROLL_LV40;
} else if (pc.getLevel() >= 52 && pc.getLevel() < 55) {
itemid = L1ItemId.SHARNA_POLYSCROLL_LV52;
} else if (pc.getLevel() >= 55 && pc.getLevel() < 60) {
itemid = L1ItemId.SHARNA_POLYSCROLL_LV55;
} else if (pc.getLevel() >= 60 && pc.getLevel() < 65) {
itemid = L1ItemId.SHARNA_POLYSCROLL_LV60;
} else if (pc.getLevel() >= 65 && pc.getLevel() < 70) {
itemid = L1ItemId.SHARNA_POLYSCROLL_LV65;
} else if (pc.getLevel() >= 70 && pc.getLevel() < 75) {
itemid = L1ItemId.SHARNA_POLYSCROLL_LV70;
} else if (pc.getLevel() >= 75 && pc.getLevel() < 80) {
itemid = L1ItemId.SHARNA_POLYSCROLL_LV75;
} else if (pc.getLevel() >= 80) {
itemid = L1ItemId.SHARNA_POLYSCROLL_LV80;
}
pc.getInventory().consumeItem(L1ItemId.ADENA, 2500);
L1ItemInstance item = pc.getInventory().storeItem(itemid, 1);
String npcName = npc.getNpcTemplate().get_name();
String itemName = item.getItem().getName();
pc.sendPackets(new S_ServerMessage(143, npcName, itemName));
htmlid = "sharna3";
}else{
htmlid = "sharna5";
}
}
나비켓
etcitem
5000318 $14284 샤르나의 변신 주문서 (레벨 75) scroll normal paper 630 2974 22 1341 1 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 1
5000319 $14285 샤르나의 변신 주문서 (레벨 80) scroll normal paper 630 2974 22 1341 1 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 1
[출처] 에바)샤르나 75,80변신 (비공개 카페)

준희미니 님의 최근 댓글
rt 2021 05.25 ㄳ 2021 05.11 ㄳ 2021 05.11 rt 2021 05.09 rt 2021 04.25