WorldMgr: Difference between revisions
→TimeMgr::calc
imported>Leoetlino |
imported>Leoetlino |
||
Line 58: | Line 58: | ||
* If FindDungeon_Activated is false (if the player hasn't received the ''The Isolated Plateau'' quest) and if the current time is >= 165.0 (11:00), the time is forcefully set to 11:00. | * If FindDungeon_Activated is false (if the player hasn't received the ''The Isolated Plateau'' quest) and if the current time is >= 165.0 (11:00), the time is forcefully set to 11:00. | ||
* Update Blood Moon timer. | * Update Blood Moon timer. | ||
* Update Daytime, Night time, is morning, is noon, is evening flags. | * Update Daytime, Night time, is morning, is noon, is evening flags (see below). | ||
* Update time division. | * Update time division (see below). | ||
* Update "Bloody moon end | * Update "Bloody moon end reserve timer". | ||
**Decrement the reserve timer. If the new timer value is zero or negative, the WM_BloodyDay flag is cleared. | |||
* Update GameDataMgr state (time, number of days, Blood Moon timers). | * Update GameDataMgr state (time, number of days, Blood Moon timers). | ||
* Update Lord of the Mountain flags (in particular, determine if it should appear). | * Update Lord of the Mountain flags (in particular, determine if it should appear). |