배틀존 용기사 변신
자바 위치는 좀 다른것 같은데요 제팩은
battlezonecontroller.자바 인데요
/* <p>[weapon]<br>
* 1:sword, 2:dagger, 3:tohandsword, 4:bow, 5:spear, 6:blunt, 7:staff,
* 8:throwingknife, 9:arrow, 10:gauntlet, 11:claw, 12:edoryu, 13:singlebow,
* 14:singlespear, 15:tohandblunt, 16:tohandstaff</p>
*/
private void Poly(L1PcInstance pc, int BattleLine){
int polyid = 0;
int time = 1800;
if (pc.getWeapon() != null){
//타입별 분류
switch(pc.getWeapon().getItem().getType()){
//활
case 4:
case 13:
if(BattleLine == 1){
polyid = 6269;
}else{
polyid = 6272;
}
L1PolyMorph.doPoly(pc, polyid, time, 1);
break;
//크로우 이도류
case 11:
case 12:
if(BattleLine == 1){
polyid = 6279;
}else{
polyid = 6280;
}
L1PolyMorph.doPoly(pc, polyid, time, 1);
break;
//지팡이
case 7:
case 16:
if(BattleLine == 1){
polyid = 6268;
}else{
polyid = 6271;
}
L1PolyMorph.doPoly(pc, polyid, time, 1);
break;
//체인소드
case 5:
case 14:
case 18:
if(BattleLine == 1){
polyid = 7338;
}else{
polyid = 7339;
}
L1PolyMorph.doPoly(pc, polyid, time, 1);
break;
//그외..
default :
if(BattleLine == 1){
polyid = 6267;
}else{
polyid = 6270;
}
L1PolyMorph.doPoly(pc, polyid, time, 1);
break;
}
}else{
if(BattleLine == 1){
polyid = 6267;
}else{
polyid = 6270;
}
L1PolyMorph.doPoly(pc, polyid, time, 1);
}
}
}
이런 식으로 수정해 봤어요 잘되구요
문제는 다크 실버 라인이 구분이 안되요 참고 하세요
요즘은 무기말고 클래스별 변신 되게 쓰고 있지만
전 한참 찾았던 소스라 생각나서 올려요
이상 허접한 글이였습니다. 절대 어디서 퍼온거 아니구요
제가 변신 확인해가면서 한거라...
|
[출처] 배틀존 용기사 변신 (비공개 카페) |

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