显示页面过去修订反向链接回到顶部 本页面只读。您可以查看源文件,但不能更改它。如果您觉得这是系统错误,请联系管理员。 <!DOCTYPE markdown> # pool\_gameobject [<-Back-to:World](database-world.md) **The \`pool\_gameobject\` table** This table contains gameobjects that are tied to a specific pool. This table can only contain gameobjects that have a type of GAMEOBJECT\_TYPE\_CHEST, GAMEOBJECT\_TYPE\_GOOBER, GAMEOBJECT\_TYPE\_FISHINGHOLE. **Structure** | Field | Type | Attributes | Key | Null | Default | Extra | Comment | |------------------|--------------|------------|-----|------|---------|-------|---------| | [guid][1] | INT | UNSIGNED | PRI | NO | 0 | | | | [pool_entry][2] | MEDIUMINT | UNSIGNED | | NO | 0 | | | | [chance][3] | FLOAT | UNSIGNED | | NO | 0 | | | | [description][4] | VARCHAR(255) | | | YES | NULL | | | [1]: #guid [2]: #pool_entry [3]: #chance [4]: #description **Description of the fields** ### guid [gameobject.guid](gameobject#guid) ### pool\_entry The pool that this gameobject is in. Refers to [pool\_template.entry](pool_template#entry). ### chance The explicit percentage chance that this gameobject will be spawned. If the pool spawns just one gameobject (max\_limit = 1 in the respective [pool\_template](pool_template)), the core selects the gameobject to be spawned in a two-step process: First, only the explicitly-chanced (chance > 0) gameobjects of the pool are rolled. If this roll does not produce any gameobject, all the gameobjects without an explicit chance (chance = 0) are rolled with equal chance. If the pool spawns more than one gameobject, the chance is ignored and all the gameobjects in the pool are rolled in one step with equal chance. In case the pool spawns just one gameobject and all the gameobjects have a nonzero chance, the sum of the chances for all the gameobjects must equal to 100, otherwise the pool won't be spawned. Value must be >=0. If the value does not meet the condition the SQL will fail on `pool_gameobject_chk_1`. ### description This field usually names the game object corresponding to the guid and mentions which spawn point it is. Example: Spawn Point 4 - Tin Vein docs-en/pool_gameobject.md.txt 最后更改: 2024/03/15 19:08由 127.0.0.1