//使用前请准备好能出海的交通工具,并且带一个椰子盘在身上
int ProcessFarMove(int MapID)
{
if(Value("MAPNO") != MapID)
{
FarMove(MapID);
while(Value("IsFarMoving") == 1)
{
RefreshStat("IsFarMoving");
Yield(0);
}
}
while(Value("IsWaitRemapData") == 1)
{
RefreshStat("IsWaitingRemapData");
Yield(0);
}
if(MapID != Value("MAPNO"))
{
return 0;
}
return 1;
}
{
ShowText("此脚本为刷复活岛修复师任务");
int MapID = Value("MAPNO");
int Ret = ProcessFarMove(60004);
sleep(1000);
collect(9);
sleep(1000);
collect(10);
sleep(2000);
collect(9);
sleep(1500);
int MapID2 = Value("MAPNO");
int Ret2 = ProcessFarMove(12200);
sleep(1000);
Remap(3);
sleep(1000);
collect(2);
sleep(1000);
ShowText("任务完成,谢谢你的使用");
}