mirror of
https://github.com/mangosfour/server.git
synced 2025-12-24 01:37:02 +00:00
New table similar `pool_creature`/`pool_gameobject` but store creature/go ids instead guids. At loading to poll added all guids for specific entry id. This let not list explictly guids when need list in pool all guids for some entry id. Mostly for quest pool spawns or unique creature/go random possitions for example. At load tested that guid added to pool using new tables data not listed in guid tables.
13 lines
498 B
SQL
13 lines
498 B
SQL
ALTER TABLE db_version CHANGE COLUMN required_11169_02_mangos_command required_11190_01_mangos_pool_creature_template bit;
|
|
|
|
DROP TABLE IF EXISTS `pool_creature_template`;
|
|
CREATE TABLE `pool_creature_template` (
|
|
`id` int(10) unsigned NOT NULL default '0',
|
|
`pool_entry` mediumint(8) unsigned NOT NULL default '0',
|
|
`chance` float unsigned NOT NULL default '0',
|
|
`description` varchar(255) NOT NULL,
|
|
PRIMARY KEY (`id`),
|
|
INDEX `pool_idx` (pool_entry)
|
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
|
|
|
|