[NT봇] 카운테스 길목 방어구,무기고 추가. (수정)
분류
봇관련
조회 수
1,704
추천 수
1
http://blogfile.paran.com/BLOG_632496/200806/1212600241_NTCountess.rar
function NT_Countess()
{
var _countess;
var _tileid = [10,12,9,9,9,9];
print("ÿc3Start Countess script");
if(!NTTM_CheckAct())
return false;
NTTMGR_TownManager();
if(!NTTM_TownMove("waypoint"))
return false;
if(!NTM_UsePortal("Waypoint", 6))
return false;
NTP_DoPrecast();
for(var i = 0 ; i < _tileid.length ; i++)
{
if(NTConfig_OpenChest) NT_ArWe_Stash(); //이줄추가 위치 변경
if(!NTM_MoveToObject(NTC_UNIT_TILE, _tileid[i]))
return false;
if(!NTM_TakeStairs(_tileid[i], _tileid[i]))
return false;
}
NTA_ClearPosition(10);
NTSI_PickItems();
if(NTConfig_CheckSafe)
{
if(!NTTMGR_CheckSafe(2))
return false;
}
if(me.y > 11060 && me.y <= 11078)
{
if(!NTM_MoveTo(12544, 11066))
return false;
}
else
{
if(!NTM_MoveTo(12570, 11057))
return false;
}
_countess = NTC_FindMonster("The Countess");
if(!_countess)
return false;
if(me.y > 11060 && me.y <= 11078)
{
if(_countess.y <= 11054)
NTM_MoveTo(12537, 11042);
if(_countess.y > 11056 && _countess.y <= 11070)
{
if(_countess.x < 12533)
NTM_MoveTo(12518, 11057);
else
NTM_MoveTo(12548, 11057);
}
if(_countess.y > 11070 && _countess.y <= 11085)
{
if(_countess.x < 12533)
NTM_MoveTo(12518, 11083);
else
NTM_MoveTo(12548, 11083);
}
if(_countess.y > 11086)
NTM_MoveTo(12542, 11098);
}
else
{
if(_countess.x <= 12550)
{
NTM_MoveTo(12562, 11057);
NTM_MoveTo(12548, 11043);
}
if(_countess.x > 12550 && _countess.x <= 12561)
{
if(_countess.y < 11027)
NTM_MoveTo(12577, 11043);
else
{
NTM_MoveTo(12565, 11043);
NTM_MoveTo(12577, 11025);
}
}
if(_countess.x > 12561 && _countess.x <= 12579)
{
if(_countess.y < 11027)
NTM_MoveTo(12555, 11043);
else
{
NTM_MoveTo(12565, 11043);
NTM_MoveTo(12555, 11025);
}
}
if(_countess.x > 12579)
{
NTM_MoveTo(12578, 11057);
NTM_MoveTo(12582, 11043);
}
}
if(!NTA_KillBoss("The Countess"))
return false;
if(NTConfig_ClearPosition)
NTA_ClearPosition();
NTSI_PickItems();
NTA_ClearPosition(25, 0x04);
NTA_ClearPosition(25);
NTSI_PickItems();
if(NTConfig_OpenChest) NT_ArWe_Stash(); // 이줄 추가
if(!NTM_MoveToObject(2, 240)){
if(!NTM_MoveToObject(2, 241)){
if(!NTM_MoveToObject(2, 242)){
if(!NTM_MoveToObject(2, 243))
return false;
else_C3=243;
} _C3=242;
}else _C3=241;
}else _C3=240;
if(NTConfig_OpenChest)
{
var _chest;
_chest = NTC_GetUnit(NTC_UNIT_OBJECT, "chest");
if(_chest)
{
do {
if(NTM_MoveTo(_chest.x, _chest.y+3))
{
if(NTC_OpenChest(copyUnit(_chest)))
delay(100);
NTSI_PickItems();
}
} while(_chest.getNext());
}
}
runGC();
return true;
}
function NT_ArWe_Stash() //함수화
{
var _C1,_C2,_C3;
if(!NTM_MoveToObject(2, 106)){
if(!NTM_MoveToObject(2, 107))
return true;
else
_C1=107;
}
else
_C1=106;
if(NTConfig_OpenChest)
{
var _chest;
_chest = NTC_GetUnit(NTC_UNIT_OBJECT,_C1);
if(_chest)
{
do {
if(NTM_MoveTo(_chest.x, _chest.y+2))
{
if(NTC_OpenChest(copyUnit(_chest)))
delay(100);
NTSI_PickItems();
}
} while(_chest.getNext());
}
}
if(!NTM_MoveToObject(2, 104)){
if(!NTM_MoveToObject(2, 105))
return true;
else
_C2=105;
}
else
_C2=104;
if(NTConfig_OpenChest)
{
var _chest;
_chest = NTC_GetUnit(NTC_UNIT_OBJECT,_C2);
if(_chest)
{
do {
if(NTM_MoveTo(_chest.x, _chest.y+2))
{
if(NTC_OpenChest(copyUnit(_chest)))
delay(100);
NTSI_PickItems();
}
} while(_chest.getNext());
}
}
}
카운테스한테 가는 길목 그니까 층마다....방어구와 무기고가 상당히 있습니다..
그래서 층마다 있으면 열고가는식으로 바꾼겁니다.
상자는 마지막 층에서만 열구요..
마지막층에서 카운테스잡으로 갈때 벽에 걸려 텔포하고 있다고 하셔서 수정
못잡는거는 아님
function NT_Countess()
{
var _countess;
var _tileid = [10,12,9,9,9,9];
print("ÿc3Start Countess script");
if(!NTTM_CheckAct())
return false;
NTTMGR_TownManager();
if(!NTTM_TownMove("waypoint"))
return false;
if(!NTM_UsePortal("Waypoint", 6))
return false;
NTP_DoPrecast();
for(var i = 0 ; i < _tileid.length ; i++)
{
if(NTConfig_OpenChest) NT_ArWe_Stash(); //이줄추가 위치 변경
if(!NTM_MoveToObject(NTC_UNIT_TILE, _tileid[i]))
return false;
if(!NTM_TakeStairs(_tileid[i], _tileid[i]))
return false;
}
NTA_ClearPosition(10);
NTSI_PickItems();
if(NTConfig_CheckSafe)
{
if(!NTTMGR_CheckSafe(2))
return false;
}
if(me.y > 11060 && me.y <= 11078)
{
if(!NTM_MoveTo(12544, 11066))
return false;
}
else
{
if(!NTM_MoveTo(12570, 11057))
return false;
}
_countess = NTC_FindMonster("The Countess");
if(!_countess)
return false;
if(me.y > 11060 && me.y <= 11078)
{
if(_countess.y <= 11054)
NTM_MoveTo(12537, 11042);
if(_countess.y > 11056 && _countess.y <= 11070)
{
if(_countess.x < 12533)
NTM_MoveTo(12518, 11057);
else
NTM_MoveTo(12548, 11057);
}
if(_countess.y > 11070 && _countess.y <= 11085)
{
if(_countess.x < 12533)
NTM_MoveTo(12518, 11083);
else
NTM_MoveTo(12548, 11083);
}
if(_countess.y > 11086)
NTM_MoveTo(12542, 11098);
}
else
{
if(_countess.x <= 12550)
{
NTM_MoveTo(12562, 11057);
NTM_MoveTo(12548, 11043);
}
if(_countess.x > 12550 && _countess.x <= 12561)
{
if(_countess.y < 11027)
NTM_MoveTo(12577, 11043);
else
{
NTM_MoveTo(12565, 11043);
NTM_MoveTo(12577, 11025);
}
}
if(_countess.x > 12561 && _countess.x <= 12579)
{
if(_countess.y < 11027)
NTM_MoveTo(12555, 11043);
else
{
NTM_MoveTo(12565, 11043);
NTM_MoveTo(12555, 11025);
}
}
if(_countess.x > 12579)
{
NTM_MoveTo(12578, 11057);
NTM_MoveTo(12582, 11043);
}
}
if(!NTA_KillBoss("The Countess"))
return false;
if(NTConfig_ClearPosition)
NTA_ClearPosition();
NTSI_PickItems();
NTA_ClearPosition(25, 0x04);
NTA_ClearPosition(25);
NTSI_PickItems();
if(NTConfig_OpenChest) NT_ArWe_Stash(); // 이줄 추가
if(!NTM_MoveToObject(2, 240)){
if(!NTM_MoveToObject(2, 241)){
if(!NTM_MoveToObject(2, 242)){
if(!NTM_MoveToObject(2, 243))
return false;
else_C3=243;
} _C3=242;
}else _C3=241;
}else _C3=240;
if(NTConfig_OpenChest)
{
var _chest;
_chest = NTC_GetUnit(NTC_UNIT_OBJECT, "chest");
if(_chest)
{
do {
if(NTM_MoveTo(_chest.x, _chest.y+3))
{
if(NTC_OpenChest(copyUnit(_chest)))
delay(100);
NTSI_PickItems();
}
} while(_chest.getNext());
}
}
runGC();
return true;
}
function NT_ArWe_Stash() //함수화
{
var _C1,_C2,_C3;
if(!NTM_MoveToObject(2, 106)){
if(!NTM_MoveToObject(2, 107))
return true;
else
_C1=107;
}
else
_C1=106;
if(NTConfig_OpenChest)
{
var _chest;
_chest = NTC_GetUnit(NTC_UNIT_OBJECT,_C1);
if(_chest)
{
do {
if(NTM_MoveTo(_chest.x, _chest.y+2))
{
if(NTC_OpenChest(copyUnit(_chest)))
delay(100);
NTSI_PickItems();
}
} while(_chest.getNext());
}
}
if(!NTM_MoveToObject(2, 104)){
if(!NTM_MoveToObject(2, 105))
return true;
else
_C2=105;
}
else
_C2=104;
if(NTConfig_OpenChest)
{
var _chest;
_chest = NTC_GetUnit(NTC_UNIT_OBJECT,_C2);
if(_chest)
{
do {
if(NTM_MoveTo(_chest.x, _chest.y+2))
{
if(NTC_OpenChest(copyUnit(_chest)))
delay(100);
NTSI_PickItems();
}
} while(_chest.getNext());
}
}
}
카운테스한테 가는 길목 그니까 층마다....방어구와 무기고가 상당히 있습니다..
그래서 층마다 있으면 열고가는식으로 바꾼겁니다.
상자는 마지막 층에서만 열구요..
마지막층에서 카운테스잡으로 갈때 벽에 걸려 텔포하고 있다고 하셔서 수정
못잡는거는 아님