|
我把它和 Pindleskin比较了一下,改成这样:
function PindleskinSummon() {
var anya;
Town.goToTown(Config.Pindleskin.UseWaypoint ? undefined : 5);
Town.doChores();
if (Config.Pindleskin.UseWaypoint) {
Pather.useWaypoint(123);
Precast.doPrecast(true);
if (!Pather.moveToExit([122, 121], true)) {
throw new Error("Failed to move to Nihlahak's Temple");
}
Pather.moveTo(10078, 13274)
ClassAttack.raiseArmy();
Pather.moveTo(10048, 13274)
ClassAttack.raiseArmy();
} else {
Town.move("anya");
if (!Pather.usePortal(121)) {
throw new Error("Failed to use portal.");
}
Pather.moveTo(me.x + 15, me.y - 30);
ClassAttack.raiseArmy();
Pather.moveTo(me.x -40, me.y - 10);
ClassAttack.raiseArmy();
加颜色的是改的。
然后在nec脚本上开头加Scripts.PindleskinSummon = true;如下:我试了行。
// 区域/BOSS猎杀脚本 // Boss/area scripts //
// *** act 1 ***
Scripts.PindleskinSummon = true; // 复活暴躁外皮处骷髅
Scripts.Corpsefire = false; // 邪恶的洞窟尸体发火
Config.Corpsefire.ClearDen = false; // 是否全清洞穴 |
|