Lord of the Mountain/zh: Difference between revisions

From ZeldaMods (Breath of the Wild)
Jump to navigation Jump to search
(Created page with "如果 'AnimalMaster_Appearance' 這個 flag 是 true,山林霸主就會出現。這個 flag 是下面這個有限狀態自動機控制的。")
(Created page with "#如果月相是 5 (眉月)而且林克不在 map area 64 (薩托利山區域),遊戲會生成一個整數 "appearance hour",這個數字會隨機落在 [0 .. 22]...")
Line 6: Line 6:
如果 'AnimalMaster_Appearance' 這個 flag 是 true,山林霸主就會出現。這個 flag 是下面這個有限狀態自動機控制的。
如果 'AnimalMaster_Appearance' 這個 flag 是 true,山林霸主就會出現。這個 flag 是下面這個有限狀態自動機控制的。


# If the moon type is 5 (waxing crescent) and if Link is not in map area 64 (Satori Mountain), the game generates a random "appearance hour" in the [0 .. 22] interval.
#如果月相是 5 (眉月)而且林克不在 map area 64 (薩托利山區域),遊戲會生成一個整數 "appearance hour",這個數字會隨機落在 [0 .. 22] 區間.
# When the current hour matches the appearance hour, the Appearance flag is set and the LotM is allowed to appear. Link must still NOT be in map area 64 until this happens, otherwise the game goes back to step 1.
# 如果時鐘上的時等於 appearance hour,那遊戲會把 AnimalMaster_Appearance 設成 true,然後山林霸主就會出現。如果你在山林霸主出現前就踏入薩托利山周邊區域的話,appearance hour 會被作廢,然後自動機回到狀態 1。
# One hour after the appearance hour, the current day of the week is stored.
# 一個小時後,遊戲會紀錄今天星期幾。
# The LotM disappears after two in-game week-day changes, or 24 in-game hours after the Appearance flag was set, whichever happens first.
# 過了(遊戲內的)二十四小時或是日期差了兩天之後,遊戲會把 AnimalMaster_Appearance 設成 false,山林霸主就會消失。


Interestingly, only the appearance hour is determined by RNG. The LotM consistently appears on the 5th day of a moon cycle as long as conditions are satisfied.
Interestingly, only the appearance hour is determined by RNG. The LotM consistently appears on the 5th day of a moon cycle as long as conditions are satisfied.

Revision as of 23:48, 12 May 2020

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,山林霸主就会消失。

Interestingly, only the appearance hour is determined by RNG. The LotM consistently appears on the 5th day of a moon cycle as long as conditions are satisfied.

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.