山林霸主

From ZeldaMods (Breath of the Wild)
Revision as of 23:49, 12 May 2020 by Simple (talk | contribs) (Created page with "注意到在上述過程中,只有 appearance hour (幾點出現)是隨機的,正常情況下山林霸主一定會在眉月之後出現(如果你一直不靠近聖...")
Jump to navigation Jump to search
Other languages:

這個條目會介紹山林霸主下凡的原理。

下凡

如果 'AnimalMaster_Appearance' 這個 flag 是 true,山林霸主就會出現。這個 flag 是下面這個有限狀態自動機控制的。

  1. 如果月相是 5 (眉月)而且林克不在 map area 64 (薩托利山區域),遊戲會生成一個整數 "appearance hour",這個數字會隨機落在 [0 .. 22] 區間.
  2. 如果時鐘上的時等於 appearance hour,那遊戲會把 AnimalMaster_Appearance 設成 true,然後山林霸主就會出現。如果你在山林霸主出現前就踏入薩托利山周邊區域的話,appearance hour 會被作廢,然後自動機回到狀態 1。
  3. 一個小時後,遊戲會紀錄今天星期幾。
  4. 過了(遊戲內的)二十四小時或是日期差了兩天之後,遊戲會把 AnimalMaster_Appearance 設成 false,山林霸主就會消失。

注意到在上述過程中,只有 appearance hour (幾點出現)是隨機的,正常情況下山林霸主一定會在眉月之後出現(如果你一直不靠近聖山的話)。

Note that whenever you enter/leave a shrine (or warp from or to anything that is not physically in the overworld) or reload a save, the AnimalMaster_Appearance flag is reset to false. That flag does not persist across reloads.

For more technical details, please read WorldMgr.

Calm down number

The Lord of the Mountain requires 40 "calm down" presses to be (temporarily) tamed[1]. 40 is the highest number of presses among all horses and horse-like animals.