战网中国
标题:
求助召唤者的脚本
[打印本页]
作者:
hubing2002
时间:
2018-9-5 20:00
标题:
求助召唤者的脚本
/**
* @filename Summoner.js
* @author kolton
* @desc kill the Summoner
*/
function Summoner() {
Town.doChores();
Pather.useWaypoint(74);
Precast.doPrecast(true);
if (Config.Summoner.FireEye) {
if (!Pather.usePortal(null)) {
throw new Error("Failed to move to Fire Eye");
}
Attack.clear(15, 0, getLocaleString(2885)); // Fire Eye
if (!Pather.usePortal(null)) {
throw new Error("Failed to move to Summoner");
}
}
if (!Pather.moveToPreset(me.area, 2, 357, -3, -3)) {
//throw new Error("Failed to move to Summoner");
//Attack.clear(2, 355, -2);
}
Attack.clear(15, 0, 250); // The Summoner
return true;
}
每次进去标红处都报错,如何修改代码让角色不能到达指定位置的时候执行Attack.clear?
作者:
loveqiao361
时间:
2019-1-10 11:12
如果是原生kolbot的话,进入房间按pause,手动跑到召唤者边上,按Numpad9在console里看一下presetUnitID,替换357即可
作者:
idi
时间:
2021-12-31 09:22
这个好,谢谢分享
欢迎光临 战网中国 (http://battlecn.net/)
Powered by Discuz! X3.1