로봇 변신 본섭
로봇팩 하시는분들 사용하세요. 본인팩에 맞게 polyid 변경 후에 사용하시면 됩니다.
위치는 Robot.java입니다
public static void poly(L1RobotInstance bot) {
if (bot.isElf()) { // 요정
if (bot.getCurrentWeapon() == 20) { // 활요정
if (bot.getLevel() < 70) {
int f = _random.nextInt(5);
switch (f) {
case 0:
bot.setTempCharGfx(11378);
break; // 52 다크 엘프
case 1:
bot.setTempCharGfx(11382);
break; // 55 다크 스카우터
case 2:
bot.setTempCharGfx(11386);
break; // 60 실버 스카우터
case 3:
bot.setTempCharGfx(11390);
break; // 65 애로우 마스터
case 4:
bot.setTempCharGfx(11394);
break; // 70 아크 스카우터
}
} else if (bot.getLevel() >= 70 && bot.getLevel() < 75) {
bot.setTempCharGfx(15848); // 70 포노스 스카우터
} else if (bot.getLevel() >= 75 && bot.getLevel() < 80) {
bot.setTempCharGfx(13346); // 75 진다크엘프 스카으터
} else if (bot.getLevel() >= 80 && bot.getLevel() < 82) {
bot.setTempCharGfx(15814); // 80 하이엘프
} else if (bot.getLevel() >= 82 && bot.getLevel() < 84) {
bot.setTempCharGfx(13631); // 82 오엔
} else if (bot.getLevel() >= 84 && bot.getLevel() < 87) {
bot.setTempCharGfx(13635); // 84 오엔
} else if (bot.getLevel() >= 87) {
bot.setTempCharGfx(17535); // 87 가드 아처(보라)
} else {
bot.setTempCharGfx(11331); // 1 오크궁수
}
} else { // 검요정
if (bot.getLevel() < 70) {
int f = _random.nextInt(5);
switch (f) {
case 0:
bot.setTempCharGfx(11375);
break; // 52 데스나이트
case 1:
bot.setTempCharGfx(11380);
break; // 55 다크나이트
case 2:
bot.setTempCharGfx(11384);
break; // 60 실버나이트
case 3:
bot.setTempCharGfx(11388);
break; // 65 소드마스터
case 4:
bot.setTempCharGfx(11392);
break; // 70 아크나이트
}
} else if (bot.getLevel() >= 70 && bot.getLevel() < 75) {
bot.setTempCharGfx(15850); // 70 포노스나이트
} else if (bot.getLevel() >= 75 && bot.getLevel() < 80) {
bot.setTempCharGfx(12702); // 75 진데스나이트
} else if (bot.getLevel() >= 80 && bot.getLevel() < 82) {
bot.setTempCharGfx(12681); // 80 진데스나이트
} else if (bot.getLevel() >= 82 && bot.getLevel() < 84) {
bot.setTempCharGfx(13153); // 82 진데스나이트
} else if (bot.getLevel() >= 84 && bot.getLevel() < 87) {
bot.setTempCharGfx(13152); // 84 진데스나이트
} else if (bot.getLevel() >= 87) {
bot.setTempCharGfx(17541); // 87 진데스나이트
} else {
bot.setTempCharGfx(11328); // 1 오크
}
}
} else if (bot.isKnight() || bot.isCrown() || bot.isWarrior()) { // 기사, 군주, 전사
if (bot.getLevel() < 70) {
int f = _random.nextInt(5);
switch (f) {
case 0:
bot.setTempCharGfx(11375);
break; // 52 데스나이트
case 1:
bot.setTempCharGfx(11380);
break; // 55 다크나이트
case 2:
bot.setTempCharGfx(11384);
break; // 60 실버나이트
case 3:
bot.setTempCharGfx(11388);
break; // 65 소드마스터
case 4:
bot.setTempCharGfx(11392);
break; // 70 아크나이트
}
} else if (bot.getLevel() >= 70 && bot.getLevel() < 75) {
bot.setTempCharGfx(15850); // 70 포노스나이트
} else if (bot.getLevel() >= 75 && bot.getLevel() < 80) {
bot.setTempCharGfx(12702); // 75 진데스나이트
} else if (bot.getLevel() >= 80 && bot.getLevel() < 82) {
bot.setTempCharGfx(12681); // 80 진데스나이트
} else if (bot.getLevel() >= 82 && bot.getLevel() < 84) {
bot.setTempCharGfx(13153); // 82 진데스나이트
} else if (bot.getLevel() >= 84 && bot.getLevel() < 87) {
bot.setTempCharGfx(13152); // 84 진데스나이트
} else if (bot.getLevel() >= 87) {
int f = _random.nextInt(10);
if (f > 8) {
bot.setTempCharGfx(17541); // 87 진데스나이트
} else {
if (bot.isKnight()) {
if (bot.get_sex() == 0) {
bot.setTempCharGfx(15115); // 기사 랭킹(남)
} else {
bot.setTempCharGfx(13721); // 기사 랭킹(여)
}
} else if (bot.isCrown()) {
if (bot.get_sex() == 0) {
bot.setTempCharGfx(13715); // 군주 랭킹(남)
} else {
bot.setTempCharGfx(13717); // 군주 랭킹(여)
}
} else {
if (bot.get_sex() == 0) {
bot.setTempCharGfx(13743); // 전사 랭킹(남)
} else {
bot.setTempCharGfx(13745); // 전사 랭킹(여)
}
}
}
} else {
bot.setTempCharGfx(11328); // 1 오크
}
} else if (bot.isWizard() || bot.isBlackwizard()) { // 마법사, 환술사
if (bot.getLevel() < 75) {
bot.setTempCharGfx(11375); // 52 데스나이트
} else if (bot.getLevel() >= 75 && bot.getLevel() < 80) {
bot.setTempCharGfx(12702); // 75 진데스나이트
} else if (bot.getLevel() >= 80 && bot.getLevel() < 82) {
bot.setTempCharGfx(12681); // 80 진데스나이트
} else if (bot.getLevel() >= 82 && bot.getLevel() < 84) {
bot.setTempCharGfx(13153); // 82 진데스나이트
} else if (bot.getLevel() >= 84 && bot.getLevel() < 87) {
bot.setTempCharGfx(13152); // 84 진데스나이트
} else if (bot.getLevel() >= 87) {
int f = _random.nextInt(10);
if (f > 8) {
bot.setTempCharGfx(17541); // 87 진데스나이트
} else {
if (bot.isWizard()) {
if (bot.get_sex() == 0) {
bot.setTempCharGfx(13727); // 마법사 랭킹(남)
} else {
bot.setTempCharGfx(13729); // 마법사 랭킹(여)
}
} else {
if (bot.get_sex() == 0) {
bot.setTempCharGfx(13739); // 환술사 랭킹(남)
} else {
bot.setTempCharGfx(13741); // 환술사 랭킹(여)
}
}
}
} else {
bot.setTempCharGfx(3882); // 45 네크로멘서
}
} else if (bot.isDragonknight()) { // 용기사
if (bot.getLevel() < 70) {
bot.setTempCharGfx(11447); // 나이트워치
} else if (bot.getLevel() >= 70 && bot.getLevel() < 75) {
bot.setTempCharGfx(15599); // 70 포노스랜스
} else if (bot.getLevel() >= 75 && bot.getLevel() < 80) {
bot.setTempCharGfx(15834); // 75 랜스마스터
} else if (bot.getLevel() >= 80 && bot.getLevel() < 82) {
bot.setTempCharGfx(15534); // 80 랜스마스터
} else if (bot.getLevel() >= 82 && bot.getLevel() < 84) {
bot.setTempCharGfx(15537); // 82 랜스마스터
} else if (bot.getLevel() >= 84 && bot.getLevel() < 87) {
bot.setTempCharGfx(15539); // 84 랜스마스터
} else if (bot.getLevel() >= 87) {
int f = _random.nextInt(10);
if (f > 8) {
bot.setTempCharGfx(17545); // 87 랜스마스터
} else {
if (bot.get_sex() == 0) {
bot.setTempCharGfx(13735); // 용기사 랭킹(남)
} else {
bot.setTempCharGfx(13737); // 용기사 랭킹(여)
}
}
} else {
bot.setTempCharGfx(11330); // 1 두다마라오크
}
} else if (bot.isDarkelf()) { // 다엘
if (bot.getLevel() < 70) {
bot.setTempCharGfx(4932); // 어쌔신마스터
} else if (bot.getLevel() >= 70 && bot.getLevel() < 75) {
bot.setTempCharGfx(15847); // 70 포노스어쌔신
} else if (bot.getLevel() >= 75 && bot.getLevel() < 80) {
bot.setTempCharGfx(11381); // 75 다크쉐도우
} else if (bot.getLevel() >= 80 && bot.getLevel() < 82) {
bot.setTempCharGfx(15866); // 80 실버쉐도우
} else if (bot.getLevel() >= 82 && bot.getLevel() < 84) {
bot.setTempCharGfx(11381); // 82 쉐도우마스터
} else if (bot.getLevel() >= 84 && bot.getLevel() < 87) {
bot.setTempCharGfx(15868); // 84 아크어쌔신
} else if (bot.getLevel() >= 87) {
int f = _random.nextInt(10);
if (f > 8) {
bot.setTempCharGfx(17531); // 87 진쉐도우
} else {
if (bot.get_sex() == 0) {
bot.setTempCharGfx(13731); // 다엘 랭킹(남)
} else {
bot.setTempCharGfx(13733); // 다엘 랭킹(여)
}
}
} else {
bot.setTempCharGfx(11330); // 1 오크
}
}
}

린지뽕뽕 님의 최근 댓글
자료감사합니다 2021 08.04 감사합니다 2021 08.03 ㅋㅋㅋㅋㅋㅋ 2021 07.29 전용 클라좀 공유해주세요 2021 04.30 감사합니다 2021 04.09