WorldMgr/zh: Difference between revisions

Created page with "====State 0 沈默狀態==== 如果以下全真 * #月相 是 5(眉月) * The AnimalMaster_Existence flag 是 false(山林霸主還沒出現) * The current map a..."
(Created page with "=== 山林霸主 === 山林霸主會在 AnimalMaster_Appearance flag 是 true 的時候出現。 山林霸主出不出現是由一個有限狀態自動機控制的。")
(Created page with "====State 0 沈默狀態==== 如果以下全真 * #月相 是 5(眉月) * The AnimalMaster_Existence flag 是 false(山林霸主還沒出現) * The current map a...")
Line 203: Line 203:
Note that whenever a stage is unloaded, the AnimalMaster_Appearance flag is reset to false.
Note that whenever a stage is unloaded, the AnimalMaster_Appearance flag is reset to false.


====State 0 - Wait for conditions====
====State 0 沈默狀態====
If the following three conditions are true:
如果以下全真
* The [[#Moon type]] is 5 (waxing crescent)
* [[#月相]] 是 5(眉月)
* The AnimalMaster_Existence flag is false (the LotM must not already be spawned)
* The AnimalMaster_Existence flag 是 false(山林霸主還沒出現)
* The current [[map area]] number is not 64 ("HyruleHill", presumably the Satori Mountain area)
* The current [[map area]] number is not 64 ("HyruleHill",就是林克處在薩托利山這個區域)


then the game generates a random "appearance hour" in the [0 .. 22] interval and goes into state 1.
then the game generates a random "appearance hour" in the [0 .. 22] interval and goes into state 1.