UI6 펫/서먼 업데이트
경로: C_NPCAction
if (obj != null) {//검색
if (obj instanceof L1NpcInstance) {
L1NpcInstance npc = (L1NpcInstance) obj;
int difflocx = Math.abs(pc.getX() - npc.getX());
int difflocy = Math.abs(pc.getY() - npc.getY());
if (difflocx > 3 || difflocy > 3) {
return;
}
npc.onFinalAction(pc, s);
if (obj != null) {//변경
if (obj instanceof L1NpcInstance) {
L1NpcInstance npc = (L1NpcInstance) obj;
int difflocx = Math.abs(pc.getX() - npc.getX());
int difflocy = Math.abs(pc.getY() - npc.getY());
if (!(obj instanceof L1PetInstance)
&& !(obj instanceof L1SummonInstance)) {
if (difflocx > 3 || difflocy > 3) {
return;
}
}
npc.onFinalAction(pc, s);
보시면 위에검색소스에서 반경 3셀이상 벗어나면 액션인식못하는경우입니다
밑에빨간소스로 변경하시면 서먼/펫 소환하면 뜨는 설정인터페이스에서
3셀이상 벗어나도 소환했을경우 멀리 떨어저있어도
공격/휴식등 눌러도 정상적으로 행동을 취합니다
[출처] UI6 펫/서먼 업데이트 (비공개 카페)

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