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
539 B
SQL
10 lines
539 B
SQL
ALTER TABLE db_version CHANGE COLUMN required_8521_01_mangos_spell_proc_event required_8548_01_mangos_creature_battleground bit;
|
|
|
|
DROP TABLE IF EXISTS `creature_battleground`;
|
|
CREATE TABLE `creature_battleground` (
|
|
`guid` int(10) unsigned NOT NULL COMMENT 'Creature\'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='Creature battleground indexing system';
|
|
|