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

[發問] 有關移動迴避MVP或強怪的問題

arb0519 發表於 2011-4-22 17:21:46 | 只看該作者 回帖獎勵 |倒序瀏覽 |
目前小弟爬文看到有關迴避MVP的巨集大概有兩種,如下:
1. ###### Last Edit On 22/07/2007
  2.
  3. automacro avoid {
  4.       # 當地圖為...時
  5.       map pay_fild08
  6.       # 當魔物為...且距離你 12 格以內時
  7.       # Notice the coma space and number 12 above? This avoid automacro only trigger if any of the monster list
  8.       # distance is equal or less than the number given.
  9.       monster 克瑞米,蟲蛹,綠草, 12
10.       # 間隔 5 秒
11.       timeout 5
12.       exclusive 1
13.       # 打算要往反方向走幾格
14.       # set Move to how many distance per trigger you want it to move.
15.       set Move 10
16.       call check
17. }
18. macro check {
19. [
20.       $mon = $.lastMonster
21.       $monID = $.lastMonsterID
22.       $dist = $.lastMonsterDist
23.       $monPos = $.lastMonsterPos
24.       $map = $.map
25.       $myPos = $.pos
26.       $myPosX = @arg ("$myPos", 1)
27.       $myPosY = @arg ("$myPos", 2)
28.       $monPosX = @arg ("$monPos", 1)
29.       $monPosY = @arg ("$monPos", 2)
30.       $map = $.map
31.       do eval message T("Macro Avoid: $::Macro::Data::varStack{mon} \($::Macro::Data::varStack{monID}\)
"), "teleport"; message T("魔物距離\= $::Macro::Data::varStack{dist} \, 魔物座標\: \($::Macro::Data::varStack{monPosX},$::Macro::Data::varStack{monPosY}\) 地圖名\= $::Macro::Data::varStack{map}
"), "teleport";
32. ]
33.     do as
34.
35.     if ($myPosX > $monPosX) goto east
36.     if ($myPosX < $monPosX) goto west
37.   :X0
38.     if ($myPosY < $monPosY) goto X0south
39.     if ($myPosY > $monPosY) goto X0north
40.     log We have the same co-ord to the Monster
41.     do @random ("east", "west", "south", "north") $Move
42.     log Move Random
43.     stop
44.   :X0south
45.     log Monster Loc: North X-axis0
46.     do south $Move
47.     log Move South
48.     stop
49.   :X0north
50.     log Monster Loc: South X-axis0
51.     do north $Move
52.     log Move North
53.     stop
54.
55. :east
56.       if ($myPosY < $monPosY) goto eastSouth
57.       if ($myPosY > $monPosY) goto eastNorth
58.     :Y0east
59.       log Monster Loc: West Y-axis0
60.       do east $Move
61.       log Move East
62.       stop
63.     :eastSouth
64.       log Monster Loc: NorthWest
65.       do southeast $Move
66.       log Move South East
67.       stop
68.     :eastNorth
69.       log Monster Loc: SouthWest
70.       do northeast $Move
71.       log Move North East
72.       stop
73.
74. :west
75.       if ($myPosY < $monPosY) goto westSouth
76.       if ($myPosY > $monPosY) goto westNorth
77.     :Y0west
78.       log Monster Loc: East Y-axis0
79.       do west $Move
80.       log Move West
81.       stop
82.     :westSouth
83.       log Monster Loc: NorthEast
84.       do southwest $Move
85.       log Move South West
86.       stop
87.     :westNorth
88.       log Monster Loc: SouthEast
89.       do northwest $Move
90.       log Move North West
91.       stop
92. }
以及另一種,需設定東西方傳點地圖的迴避巨集。
小弟是用上面這種。

小弟的疑問是plugins2.1.3 Vxxxxxx版本有支援
與怪物間的距離嗎?
有爬文到要用此類巨集需修改macro裡的內容,但是
是舊版的,要取代的內容跟2.1.3版都不一樣,
還是本來2.1.3版就內建了?

另外,剛剛提到第二種需設東西傳點的迴避巨集,在洞穴
地圖(單一傳點),可以使用嗎?如果可以,要如何設定?

總之,我用的這個巨集是有作用,但是還是常常被王輾死,
感覺op不會把逃命當作首要目標,還在繼續打怪,等到王
很靠近的時候跑也跑不掉,讓我很苦惱,希望有了解此類
巨集的大大能協助我,感激不盡。
收藏收藏 分享分享 讚 幹 分享分享 FB分享
劉東庭
回覆

使用道具 舉報


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


手機版 | Archiver | 外掛聯合國

GMT+8, 2024-4-28 04:09 , Processed in 0.052306 second(s), 19 queries , Memcache On.

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

回頂部
第二步?
第三步?