Skip to content

pool_members

This table holds the contents of pools created in pool_template.

Structure ​

FieldTypeAttributesKeyNullDefaultExtraComment
typesmallintunsignedPRINO
spawnIdintunsignedPRINO
poolSpawnIdintunsignedNO
chancefloatNO
descriptionvarchar(255)YESNULL
 

Description of fields ​

type ​

  • 0: Creature
  • 1: GameObject
  • 2: Pool  

spawnId ​

poolSpawnId ​

references pool_template.entry  

chance ​

The explicit percentage chance that this entity will be spawned.

If the pool spawns just one entity (max limit = 1 in the respective pool_template), the core selects the entity to be spawned in a two-step process: First, only the explicitly-chanced (chance > 0) entity of the pool are rolled. If this roll does not produce any entity, all the entity without explicit chance (chance = 0) are rolled with equal chance. If the pool spawns more than one entity, the chance is ignored and all the creatures in the pool are rolled in one step with equal chance.

In case the pool spawns just one entity and all the entity have a nonzero chance, the sum of the chances for all the entity must equal to 100, otherwise the pool won't be spawned.  

description ​

This field usually names the creature/gameobject corresponding to the guid and mentions which spawn point it is. Example:

  • Snarlflare (14272) - Spawn 1
  • Spawn Point 4 - Tin Vein