Object respawning: Difference between revisions
→Random drop revival (RevivalRandomForDrop)
imported>Leoetlino |
imported>Leoetlino |
||
Line 779: | Line 779: | ||
Drops of objects under the RevivalRandom policy will be revived at random times. This is used for wooden boxes and other things that contain materials (fruits, etc.) | Drops of objects under the RevivalRandom policy will be revived at random times. This is used for wooden boxes and other things that contain materials (fruits, etc.) | ||
Revival flags for objects under this policy have their [[ResetType]] set to 0 and the position of the object on the main map is stored in the upper 7 bits of the initial flag value. | Revival flags for objects under this policy have their [[ResetType]] set to 0 and the position of the object on the main map is stored in the upper 7 bits of the initial flag value. They respawn independently of blood moons. | ||
{{actor list|label='''Actors under the RevivalRandomForDrop policy'''|content= | {{actor list|label='''Actors under the RevivalRandomForDrop policy'''|content= | ||
Line 821: | Line 821: | ||
* Wooden Box (Kibako_Contain_01) | * Wooden Box (Kibako_Contain_01) | ||
}} | }} | ||
=== RevivalRandom logic === | |||
Every 60 seconds — keeping in mind that time spent in menus and cutscenes does not count — [[RadarMgr]] determines where the player using the revival grid (which is different from the regular map unit grid). | |||
If the player is on AocField (Trial of the Sword): | |||
* Special flags (with the reset data set to 127) are ''skipped''. | |||
* Any other revival flag has a ''1% chance'' of being reset. | |||
Otherwise: | |||
* If the player is on MainField, special flags have a ''1% chance'' of being reset. | |||
* If the player is not on MainField, non-special flags also have a ''1% chance'' of being reset. | |||
* Any other flag has a ''1% chance'' of being reset, but only if the player is not in the same map area as the object that is to be revived. | |||
== Revival whenever the Lord of the Mountain appears (RevivalUnderGodTime) == | == Revival whenever the Lord of the Mountain appears (RevivalUnderGodTime) == |