Lord of the Mountain/zh: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== 下凡 ==") |
(Created page with "如果 'AnimalMaster_Appearance' 這個 flag 是 true,山林霸主就會出現。這個 flag 是下面這個有限狀態自動機控制的。") |
||
Line 4: | Line 4: | ||
== 下凡 == | == 下凡 == | ||
如果 '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. | # 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. |
Revision as of 23:42, 12 May 2020
這個條目會介紹山林霸主下凡的原理。
下凡
如果 '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.
- 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.
- 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.
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.