以下巨集都是從大家的分享拿來用的
因為我實在看不懂...
包含被圍毆下線跟防呆卡點
可是防呆卡點 外掛開了一段時間 大概半小時
還是一樣卡住
有顯示鎖定怪物 可是又不打
等別人打死在鎖定下一隻 如此反覆
所以請高手幫忙救命一下 感恩
#####
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
}
} |