(수정)봇 돌릴때 채팅이나 풍선으로 줍는 아이템명을 정확하게 표시하기!
분류
봇관련
조회 수
2,005
추천 수
2
scripts/libs/common/d2jsp_snagit.d2l 파일을 열어서
// Else, if the item is not within arm length, move to the item
위 문구를 검색 하시면
--------중략-------
// Else, if the item is not within arm length, move to the item
if (_distancetoitem > 4) {
me.overhead("pathing to item");
_DSN_commPather.GotoDest(snagitem.x, snagitem.y);
}
--------중략-------
위와 같이 나옵니다.
저부분을 지우고 아래 문구를 붙여주세요...
--------중략-------
switch(snagitem.quality) {
case 2:
var vanname = "Normal";
var vanc = 0;
break;
case 4:
var vanname = "Magic";
var vanc = 3;
break;
case 5:
var vanname = "Set";
var vanc = 2;
break;
case 6:
var vanname = "Rare";
var vanc = 9;
break;
case 7:
var vanname = "Unique";
var vanc = 4;
break;
default:
var vanname = "Item";
var vanc = 0;
break;
}
// Else, if the item is not within arm length, move to the item
if (_distancetoitem > 4) {
_DSN_commPather.GotoDest(snagitem.x, snagitem.y);
me.overhead(vanname+" "+snagitem.name); //고스트풍선말. 필요없으시면 주석처리
DC_Print("