黃易群俠傳M脫機外掛應用程式黃易神行
1735
2

[發問] 請問一下 我的防呆巨集與回村巨集偶爾會互咬 該怎麼修改

linand 發表於 2011-2-21 12:08:48 | 只看該作者 回帖獎勵 |倒序瀏覽 |
請問一下 我的防呆巨集與回村巨集偶爾會互咬 該怎麼修改
automacro smove {
location ve_fild03
sp > 300
hp > 1000
call sm
timeout 15
exclusive 1
}
macro sm {
$t++
log times $t
if ($t == 1) goto tsmp
if ($t == 2) goto tsmp1
stop
:tsmp
call smp
stop
:tsmp1
call smp1
stop
}
macro smp {
$nopos = $.pos
$noposx = @arg ("$nopos", 1)
$noposy = @arg ("$nopos", 2)
}
macro smp1 {
$nopos = $.pos
$noposx1 = @arg ("$nopos", 1)
$noposy1 = @arg ("$nopos", 2)
log old $noposx $noposy new $noposx1 $noposy1 times $t
if ($noposx == $noposx1 && $noposy == $noposy1) goto dm
release smove
$t = 0
stop
:dm
do conf teleportAuto_hp 20
do conf teleportAuto_portal 1
do conf teleportAuto_idle 1
do conf route_randomWalk 1
do conf attackAuto 2
do tele
release smove
$t = 0
stop
}
macro ti {
$t = 0
}
automacro tini {
location ve_fild03
sp > 300
hp > 1000
run-once 1
call ti
}
automacro autoWarp {
sp > 300
location ra_in01 358 130
inventory "藍色魔力礦石" > 1
run-once 1
call {
do conf teleportAuto_hp 20
do conf teleportAuto_portal 1
do conf teleportAuto_idle 1
do conf route_randomWalk 1
do conf attackAuto 2
pause 1
$x = @arg("$.pos", 1)
$y = @arg("$.pos", 2)
$y2 = @eval($y - 2)
do sl 27 $x $y2
pause 2
do warp ve_fild03
pause 2
do move $x $y2
pause 2
release all
      }
}
automacro kk {
location ve_fild03
sp < 300
hp > 1000
aggressives > 0
run-once 1
        call {
         do conf teleportAuto_hp 0
         do conf teleportAuto_portal 0
         do conf teleportAuto_idle 0
         do conf route_randomWalk 0
         do conf attackAuto 0
         do tele
         pause 10
         release all
        }
}
automacro jj {
location ve_fild03
sp > 300
hp < 1000
aggressives > 0
run-once 1
        call {
         do conf teleportAuto_hp 0
         do conf teleportAuto_portal 0
         do conf teleportAuto_idle 0
         do conf route_randomWalk 0
         do conf attackAuto 0
         do tele
         pause 10
         release all
        }
}
automacro zz {
location ve_fild03
sp < 300
hp < 1000
aggressives > 0
run-once 1
        call {
         do conf teleportAuto_hp 0
         do conf teleportAuto_portal 0
         do conf teleportAuto_idle 0
         do conf route_randomWalk 0
         do conf attackAuto 0
         do tele
         pause 10
         release all
        }
}
automacro ButterflyWing {
location ve_fild03
sp < 300
hp > 1000
aggressives = 0
run-once 1
call {
pause 1
                do conf teleportAuto_hp 0
                do conf teleportAuto_portal 0
                do conf teleportAuto_idle 0
                do conf route_randomWalk 0
                do conf attackAuto 0
                pause 2
                do tele 2
                pause 2
                release all
      }
}
automacro ButterflyWing2 {
location ve_fild03
sp > 300
hp < 1000
aggressives = 0
run-once 1
call {
pause 1
                do conf teleportAuto_hp 0
                do conf teleportAuto_portal 0
                do conf teleportAuto_idle 0
                do conf route_randomWalk 0
                do conf attackAuto 0
                pause 2
                do tele 2
                pause 2
                release all
      }
}
automacro ButterflyWing3 {
location ve_fild03
sp < 300
hp < 1000
aggressives = 0
run-once 1
call {
pause 1
                do conf teleportAuto_hp 0
                do conf teleportAuto_portal 0
                do conf teleportAuto_idle 0
                do conf route_randomWalk 0
                do conf attackAuto 0
                pause 2
                do tele 2
                pause 2
                release all
      }
}
automacro ButterflyWing4 {
location not ra_in01
location not ve_fild03
location not rachel
run-once 1
call {
pause 1
                do conf teleportAuto_hp 0
                do conf teleportAuto_portal 0
                do conf teleportAuto_idle 0
                do conf route_randomWalk 0
                do conf attackAuto 0
                pause 1
                $x = @arg("$.pos", 1)
                $y = @arg("$.pos", 2)
                $y2 = @eval($y - 2)
                do sl 27 $x $y2
                pause 2
                do warp ve_fild03
                pause 2
                do move $x $y2
                pause 2
                release all
     }
}
automacro talknpc {
sp < 300
location ra_in01
run-once 1
call {
do move 376 60
do talknpc 376 69 c r1 n
release all
      }
}
automacro bbb {
        console /倉庫資訊已記錄/
        inventory "藍色魔力礦石" > 1
        run-once 1
        call {
                do move 117 138
                pause 1
                $x = @arg("$.pos", 1)
                $y = @arg("$.pos", 2)
                $y2 = @eval($y - 2)
                do sl 27 $x $y2
                pause 2
                do warp ve_fild03
                pause 2
                do move $x $y2
                pause 2
                release all
        }
}
收藏收藏 分享分享 讚 幹 分享分享 FB分享
回覆

使用道具 舉報


[X] 當前離線
UID
1561059
熱心
2263 值
嘉獎
0 次
違規
0 次
在線時間
354 小時
經驗
2176 點
積分
49895
精華
0
最後登錄
2013-4-1
閱讀權限
60
註冊時間
2010-10-8
論壇幣
45088 幣
聯合幣
0 枚
幸運鑽
0 顆
招待卷
0 點
查看詳細資料
Rank: 7Rank: 7Rank: 7
[X] 2011-2-21 17:25:08
試試加進priority條件,來決定觸發優先度
priority <數字>
決定哪個自動巨集應該要比其它自動巨集來得優先檢查觸發條件。<數字> 越小表示該自動巨集會越快被檢查
以下我把防呆巨集的優先度調低於其他巨集,你試試
automacro smove {
        priority 2
        location ve_fild03
        sp > 300
        hp > 1000
        call sm
        timeout 15
        exclusive 1
}
macro sm {
        $t++
        log times $t
        if ($t == 1) goto tsmp
        if ($t == 2) goto tsmp1
        stop
        :tsmp
        call smp
        stop
        :tsmp1
        call smp1
        stop
}
macro smp {
        $nopos = $.pos
        $noposx = @arg ("$nopos", 1)
        $noposy = @arg ("$nopos", 2)
}
macro smp1 {
        $nopos = $.pos
        $noposx1 = @arg ("$nopos", 1)
        $noposy1 = @arg ("$nopos", 2)
        log old $noposx $noposy new $noposx1 $noposy1 times $t
        if ($noposx == $noposx1 & $noposy == $noposy1) goto dm
        release smove
        $t = 0
        stop
        :dm
        do conf teleportAuto_hp 20
        do conf teleportAuto_portal 1
        do conf teleportAuto_idle 1
        do conf route_randomWalk 1
        do conf attackAuto 2
        do tele
        release smove
        $t = 0
        stop
}
macro ti {
        $t = 0
}
automacro tini {
        priority 2
        location ve_fild03
        sp > 300
        hp > 1000
        run-once 1
        call ti
}
automacro autoWarp {
        priority 1
        sp > 300
        location ra_in01 358 130
        inventory "藍色魔力礦石" > 1
        run-once 1
        call {
        do conf teleportAuto_hp 20
        do conf teleportAuto_portal 1
        do conf teleportAuto_idle 1
        do conf route_randomWalk 1
        do conf attackAuto 2
        pause 1
        $x = @arg("$.pos", 1)
        $y = @arg("$.pos", 2)
        $y2 = @eval($y - 2)
        do sl 27 $x $y2
        pause 2
        do warp ve_fild03
        pause 2
        do move $x $y2
        pause 2
        release all
        }
}
automacro kk {
        priority 1
        location ve_fild03
        sp < 300
        hp > 1000
        aggressives > 0
        run-once 1
        call {
        do conf teleportAuto_hp 0
        do conf teleportAuto_portal 0
        do conf teleportAuto_idle 0
        do conf route_randomWalk 0
        do conf attackAuto 0
        do tele
        pause 10
        release all
        }
}
automacro jj {
        priority 1
        location ve_fild03
        sp > 300
        hp < 1000
        aggressives > 0
        run-once 1
        call {
        do conf teleportAuto_hp 0
        do conf teleportAuto_portal 0
        do conf teleportAuto_idle 0
        do conf route_randomWalk 0
        do conf attackAuto 0
        do tele
        pause 10
        release all
        }
}
automacro zz {
        priority 1
        location ve_fild03
        sp < 300
        hp < 1000
        aggressives > 0
        run-once 1
        call {
        do conf teleportAuto_hp 0
        do conf teleportAuto_portal 0
        do conf teleportAuto_idle 0
        do conf route_randomWalk 0
        do conf attackAuto 0
        do tele
        pause 10
        release all
        }
}
automacro ButterflyWing {
        priority 1
        location ve_fild03
        sp < 300
        hp > 1000
        aggressives = 0
        run-once 1
        call {
        pause 1
        do conf teleportAuto_hp 0
        do conf teleportAuto_portal 0
        do conf teleportAuto_idle 0
        do conf route_randomWalk 0
        do conf attackAuto 0
        pause 2
        do tele 2
        pause 2
        release all
        }
}
automacro ButterflyWing2 {
        priority 1
        location ve_fild03
        sp > 300
        hp < 1000
        aggressives = 0
        run-once 1
        call {
        pause 1
        do conf teleportAuto_hp 0
        do conf teleportAuto_portal 0
        do conf teleportAuto_idle 0
        do conf route_randomWalk 0
        do conf attackAuto 0
        pause 2
        do tele 2
        pause 2
        release all
        }
}
automacro ButterflyWing3 {
        priority 1
        location ve_fild03
        sp < 300
        hp < 1000
        aggressives = 0
        run-once 1
        call {
        pause 1
        do conf teleportAuto_hp 0
        do conf teleportAuto_portal 0
        do conf teleportAuto_idle 0
        do conf route_randomWalk 0
        do conf attackAuto 0
        pause 2
        do tele 2
        pause 2
        release all
        }
}
automacro ButterflyWing4 {
        priority 1
        location not ra_in01
        location not ve_fild03
        location not rachel
        run-once 1
        call {
        pause 1
        do conf teleportAuto_hp 0
        do conf teleportAuto_portal 0
        do conf teleportAuto_idle 0
        do conf route_randomWalk 0
        do conf attackAuto 0
        pause 1
        $x = @arg("$.pos", 1)
        $y = @arg("$.pos", 2)
        $y2 = @eval($y - 2)
        do sl 27 $x $y2
        pause 2
        do warp ve_fild03
        pause 2
        do move $x $y2
        pause 2
        release all
        }
}
automacro talknpc {
        priority 1
        sp < 300
        location ra_in01
        run-once 1
        call {
        do move 376 60
        do talknpc 376 69 c r1 n
        release all
        }
}
automacro bbb {
        priority 1
        console /倉庫資訊已記錄/
        inventory "藍色魔力礦石" > 1
        run-once 1
        call {
        do move 117 138
        pause 1
        $x = @arg("$.pos", 1)
        $y = @arg("$.pos", 2)
        $y2 = @eval($y - 2)
        do sl 27 $x $y2
        pause 2
        do warp ve_fild03
        pause 2
        do move $x $y2
        pause 2
        release all
        }
}
回覆

使用道具 舉報

linand 當前離線
UID
1560085
熱心
54 值
嘉獎
0 次
違規
0 次
在線時間
55 小時
經驗
50 點
積分
3055
精華
0
最後登錄
2018-8-6
閱讀權限
40
註冊時間
2010-10-6
論壇幣
2884 幣
聯合幣
6 枚
幸運鑽
0 顆
招待卷
0 點
查看詳細資料
Rank: 5Rank: 5Rank: 5
linand 2011-2-21 20:42:21
感謝你的回覆  我試試看去 ~~~~~~
回覆

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 註冊


手機版 | Archiver | 外掛聯合國

GMT+8, 2024-5-2 22:46 , Processed in 0.058932 second(s), 19 queries , Memcache On.

版權說明:
  本站不會製作、經銷、代理外掛程式。僅免費提供外掛程式下載前之掃毒及掃木馬等安全檢測驗證,協助會員遠離盜號危險程式。本站所有資料均來自網際網路收集整理,說明文字暨下載連結轉載自原程 式開發站。站上出現之公司名稱、遊戲名稱、程式等,商標及著作權,均歸各公司及程式原創所有,本站程式所有權歸外掛聯合國所有。本程式所有權歸外掛聯合國所有.......

回頂部
第二步?
第三步?