Updated spawnentry (markdown)

Paul Coene 2019-09-04 10:29:33 -04:00
parent 4e0effaf6c
commit 5acd4f9318

@ -5,7 +5,7 @@ npcID|int(11)|NO|PRI|0|
chance|smallint(4)|NO| |0| chance|smallint(4)|NO| |0|
condition_value_filter|mediumint(9)|NO| |1|1:Always possible, 2-n:Will only spawn if condition_value in spawn2 matches condition_value_filter|mediumint(9)|NO| |1|1:Always possible, 2-n:Will only spawn if condition_value in spawn2 matches
The spawnentry table has an entry for every NPC that is possible for a spawngroup. Every [spawn2](https://github.com/EQEmu/Server/wiki/spawn2) entry is associated with exactly one [spawngroup](https://github.com/EQEmu/Server/wiki/spawngroup). If an entry in the [spawn2](https://github.com/EQEmu/Server/wiki/spawn2)table is enabled, and the condition value for that entry's condition is at least 1, an NPC is picked based on chance from this (spawnentry) table. The spawnentry table has an entry for every NPC that is possible for a spawngroup. Every [spawn2](https://github.com/EQEmu/Server/wiki/spawn2) entry is associated with exactly one [spawngroup](https://github.com/EQEmu/Server/wiki/spawngroup). If an entry in the [spawn2](https://github.com/EQEmu/Server/wiki/spawn2) table is enabled, and the condition value for that entry's condition is at least 1, an NPC is picked based on chance from this (spawnentry) table.
The condition_value_filter allows further filtering of which NPC gets picked. The condition_value_filter allows further filtering of which NPC gets picked.