| 麻煩幫檢查巨集 因為我時在是看不懂... 下面都是從這邊拿去用的
 包含圍毆下線跟防呆...
 可是用了 被圍下線有用
 可是防呆 一段時間過後 還是呆在那邊
 有顯示鎖定怪物 可是就是不打 等別人打他
 又在鎖定下一隻 如此反覆...
 所以哪位大大幫忙救命一下 感恩
 
 
 #####
 automacro Restart {
 aggressives > 3
 run-once 1
 call {
 do relog 20
 release Restart
 }
 }
 
 automacro dcOnHp {
 aggressives > 0
 hp < 60%
 run-once 1
 call {
 do relog 20
 release dcOnHp
 }
 }
 
 automacro smove {
 call sm
 timeout 180
 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
 $neposx2 = @eval ($noposx1 + @rand (-1, 2))
 $neposy2 = @eval ($noposy1 + @rand (-1, 2))
 do move $neposx2 $neposy2
 log move $neposx2 $neposy2
 release smove
 $t = 0
 stop
 }
 automacro tini {
 run-once 1
 call ti
 }
 macro ti {
 $t = 0
 }
 
 
 
 automacro stuck {
 
 console /無法計算路徑(.*)/i
 
 call {
 
 $x = @arg("$.pos",1)
 
 $y = @arg("$.pos",2)
 
 $rx = @rand(-4,4)
 
 while ($rx == 0) as loop_rx
 
 $rx = @rand(-4,4)
 
 end loop_rx
 
 $ry = @rand(-4,4)
 
 while ($ry == 0) as loop_ry
 
 $ry = @rand(-4,4)
 
 end loop_ry
 
 $rpx = @eval($x+$rx)
 
 $rpy = @eval($y+$ry)
 
 do move $rpx $rpy
 
 pause 3
 
 }
 
 }
 |