게임강의
아이온 분류

인챈 추출 시간변경

컨텐츠 정보

본문

옆집 펌-검은사막_슈퍼맨


GameServer - src - gameserver - itemengine - actions 폴더에 보면

EnchantItemAction.Java [인첸]
ExtractAction.Java [추출]

위 두가지를 변경해주시면 됩니다.
추출시 필요없다 생각하시는분들은 인첸만 적용하셔도됨.
위 파일을 열어보시면 아래와같은 문구들이 있는데.

 

    public void act(final Player player, final Item parentItem, final Item targetItem, final Item supplementItem, final int targetWeapon) {
        PacketSendUtility.sendPacket(player, new SM_ITEM_USAGE_ANIMATION(player.getObjectId(),
                parentItem.getObjectId(), parentItem.getItemTemplate().getTemplateId(), 5000, 0, 0));
        player.getController().cancelTask(TaskId.ITEM_USE);
        player.getController().addNewTask(TaskId.ITEM_USE,
                ThreadPoolManager.getInstance().schedule(new Runnable() {
                    @Override
                    public void run() {

                        int itemId = parentItem.getItemTemplate().getTemplateId();
                        if (itemId > 166000000 && itemId < 167000000) {
                            boolean result = EnchantService.enchantItem(player, parentItem, targetItem, supplementItem);
                            PacketSendUtility.sendPacket(player, new SM_ITEM_USAGE_ANIMATION(player.getObjectId(), parentItem
                                    .getObjectId(), parentItem.getItemTemplate().getTemplateId(), 0, result ? 1 : 2, 0));
                        } else {
                            boolean result = EnchantService.socketManastone(player, parentItem, targetItem, supplementItem, targetWeapon);
                            PacketSendUtility.sendPacket(player, new SM_ITEM_USAGE_ANIMATION(player.getObjectId(), parentItem
                                    .getObjectId(), parentItem.getItemTemplate().getTemplateId(), 0, result ? 1 : 2, 0));
                        }
                    }
                }, 5000));
    }
}


위 빨간글씨로 표시해놓은것이 딜레이 시간입니다.
5000 을 0으로 바꿔주면 딜레이가 없어지게 됩니다.

아이온 엔진 기준이구요. 다른팩들도 비슷하기때문에 쉽게 하실수 있으리라 생각합니다.

## 빌드한거에서 수정이 안되는거기때문에 당연히 빌드를 하셔야 적용 ##

관련자료

댓글 0
등록된 댓글이 없습니다.
전체 6 / 1 페이지
번호
제목
이름

강의실

🏆 포인트 랭킹 TOP 10
순위 닉네임 포인트
1 no_profile 타키야겐지쪽지보내기 자기소개 아이디로 검색 전체게시물 102,949
2 no_profile 동가리쪽지보내기 자기소개 아이디로 검색 전체게시물 63,733
3 no_profile 라프텔쪽지보내기 자기소개 아이디로 검색 전체게시물 51,771
4 no_profile 불멸의행복쪽지보내기 자기소개 아이디로 검색 전체게시물 36,923
5 서번트쪽지보내기 자기소개 아이디로 검색 전체게시물 35,011
6 no_profile 보거스쪽지보내기 자기소개 아이디로 검색 전체게시물 29,969
7 no_profile 닥터스쪽지보내기 자기소개 아이디로 검색 전체게시물 29,470
8 no_profile 검은고양이쪽지보내기 자기소개 아이디로 검색 전체게시물 29,077
9 no_profile Revolution쪽지보내기 자기소개 아이디로 검색 전체게시물 28,199
10 no_profile 호롤롤로쪽지보내기 자기소개 아이디로 검색 전체게시물 17,020
알림 0