mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
those eventindexes will then be used by the battleground-code to decide which creature belongs to which objective for example all creatures in alteracvalley which are standing around a tower will belong to one eventindex then.. the eventindex will be defined through the code and must be proper documented for db-devs
10 lines
554 B
SQL
10 lines
554 B
SQL
ALTER TABLE db_version CHANGE COLUMN required_8548_01_mangos_creature_battleground required_8548_02_mangos_gameobject_battleground bit;
|
|
|
|
DROP TABLE IF EXISTS `gameobject_battleground`;
|
|
CREATE TABLE `gameobject_battleground` (
|
|
`guid` int(10) unsigned NOT NULL COMMENT 'GameObject\'s GUID',
|
|
`event1` tinyint(3) unsigned NOT NULL COMMENT 'main event',
|
|
`event2` tinyint(3) unsigned NOT NULL COMMENT 'sub event',
|
|
PRIMARY KEY (`guid`)
|
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='GameObject battleground indexing system';
|
|
|