本帖最後由 cciiggyy7788 於 2010-12-15 17:30 編輯
acina 大大您可以試著避開海葵而不是區域,小弟知道能避開地圖但不知道有沒有避開區域的設定呢!?
打開X:\XXX\control\裡的mon_control.txt文件輸入
海葵 0 1 1
不然也有大大分享巨集迴避特定怪物,您可以使用搜尋找看看,有問題在尋問吧!謝謝.
剛剛小弟幫您找了一下,這是 超人是我 大大分享的巨集,可以參考看看
#遇設定怪 反方向 走路迴避 沒中文註解的地方不用改他 以免失效
#如果在短距離遇到怪 來不及走 還是會被打趴
automacro avoid {
map pay_fild10 (請輸入您的地圖名)
# map 後面為設你遇怪的地圖
monster 虎王,偽.大腳熊, 20 (請輸入您要迴避的怪物)
# monster 後面為你遇到什麼怪藥迴避 設定多支時用,隔開 20為你在20格內遇怪要迴避
# 設定超過20 好像也沒用
timeout 1
exclusive 1
set Move 20
# set Move 20 表示往反方向移動20格 此處自己斟酌 最少15格
call check
}
macro check {
[
$mon = $.lastMonster
$monID = $.lastMonsterID
$dist = $.lastMonsterDist
$monPos = $.lastMonsterPos
$map = $.map
$myPos = $.pos
$myPosX = @arg ("$myPos", 1)
$myPosY = @arg ("$myPos", 2)
$monPosX = @arg ("$monPos", 1)
$monPosY = @arg ("$monPos", 2)
$map = $.map
do eval message T("Macro Avoid: $::Macro::Data::varStack{mon} \($::Macro::Data::varStack{monID}\)\n"), "teleport"; message T("Monster Dist\= $::Macro::Data::varStack{dist} \, Monster Loc\: \($::Macro::Data::varStack{monPosX},$::Macro::Data::varStack{monPosY}\) Map\= $::Macro::Data::varStack{map}\n"), "teleport";
]
do as
if ($myPosX > $monPosX) goto east
if ($myPosX < $monPosX) goto west
:X0
if ($myPosY < $monPosY) goto X0south
if ($myPosY > $monPosY) goto X0north
log We have the same co-ord to the Monster
do @random ("east", "west", "south", "north") $Move
log Move Random
stop
:X0south
log Monster Loc: North X-axis0
do south $Move
log Move South
stop
:X0north
log Monster Loc: South X-axis0
do north $Move
log Move North
stop
:east
if ($myPosY < $monPosY) goto eastSouth
if ($myPosY > $monPosY) goto eastNorth
:Y0east
log Monster Loc: West Y-axis0
do east $Move
log Move East
stop
:eastSouth
log Monster Loc: NorthWest
do southeast $Move
log Move South East
stop
:eastNorth
log Monster Loc: SouthWest
do northeast $Move
log Move North East
stop
:west
if ($myPosY < $monPosY) goto westSouth
if ($myPosY > $monPosY) goto westNorth
:Y0west
log Monster Loc: East Y-axis0
do west $Move
log Move West
stop
:westSouth
log Monster Loc: NorthEast
do southwest $Move
log Move South West
stop
:westNorth
log Monster Loc: SouthEast
do northwest $Move
log Move North West
stop
}
|