战网中国

标题: 能否有人可以讓此爆皮重生骷髏執行? 附腳本 [打印本页]

作者: x2931106    时间: 2016-12-14 11:19
标题: 能否有人可以讓此爆皮重生骷髏執行? 附腳本
從老外那取得這個NEC A5紅門招喚白骨

試過所有語法崁入NEC腳本卻都無法成功加載

是否有前輩給點方針

作者: w1121    时间: 2016-12-14 11:41
SF
作者: pengpeng    时间: 2016-12-14 12:43
高大上
作者: 小渔    时间: 2016-12-15 12:56
我把它和 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; // 是否全清洞穴
作者: 小渔    时间: 2016-12-15 12:57
我把它和 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; // 是否全清洞穴
作者: x2931106    时间: 2016-12-15 13:28
小渔 发表于 2016-12-15 12:56
我把它和 Pindleskin比较了一下,改成这样:
function PindleskinSummon() {
    var anya;

回家試試 感謝您




欢迎光临 战网中国 (http://battlecn.net/) Powered by Discuz! X3.1