山林霸主

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.