Updated spawnentry (markdown)

Paul Coene 2019-09-04 10:32:32 -04:00
parent 5acd4f9318
commit 6b4eff4741

@ -21,4 +21,4 @@ condition_value_filter|spawnentry|The cond_value of the _condition in the releva
Most eqemu servers utilize (2) spawn2 entries to enable day/night. One entry for Night (condition 1) and another for Day (condition 2). Using this technique does not allow for day/night spawns to co-exist. On live, some zones such as lake rathe, allow day mobs to spawn in spots where night mobs were killed, while leaving the rest of the night mobs up. Most eqemu servers utilize (2) spawn2 entries to enable day/night. One entry for Night (condition 1) and another for Day (condition 2). Using this technique does not allow for day/night spawns to co-exist. On live, some zones such as lake rathe, allow day mobs to spawn in spots where night mobs were killed, while leaving the rest of the night mobs up.
The addition of the condition_value_filter in spawnentry allows day/night to be implemented using a single condition and single spawn2 locations for each mob. These spawn2 entries are always enabled (cond_value 1). The single condition simply toggles between day/night. This is done by using a spawn_condition with an onchange value of 0 (do nothing). The spawnentry rows are then filtered based on the current value of the _condition. See [spawn_events](https://github.com/EQEmu/Server/wiki/spawn_events)table for details on how day/night are enabled/disabled. The addition of the condition_value_filter in spawnentry allows day/night to be implemented using a single condition and single spawn2 locations for each mob. These spawn2 entries are always enabled (cond_value 1). The single condition simply toggles between day/night. This is done by using a [spawncondition](https://github.com/EQEmu/Server/wiki/spawn_conditions) with an onchange value of 0 (do nothing). The spawnentry rows are then filtered based on the current value of the _condition. See [spawn_events](https://github.com/EQEmu/Server/wiki/spawn_events) table for details on how day/night are enabled/disabled.