Core/Phases: Added a new table, terrain_map_info, where you can bind a specific terrain swap to a map, and it will be sent to the player when he enters the map.
ToDo: Add conditions support for this. ToDo: This data is already in the DBC (parentMapId) but is it complete? This way allows us an extra degree of freedom if / when we need to add extra information to this table.
This commit is contained in:
1 parent
84c3165067
commit
f86b8aa573
7 files changed
+85
-13
No files matched your search
@@ -1,9 +1,19 @@
|
||||
DROP TABLE IF EXISTS `phase_definitions`;
|
||||
DROP TABLE IF EXISTS `phase_info`;
|
||||
DROP TABLE IF EXISTS `terrain_phase_info`;
|
||||
DROP TABLE IF EXISTS `terrain_map_info`;
|
||||
|
||||
CREATE TABLE `terrain_phase_info`(
|
||||
`id` INT(10) NOT NULL,
|
||||
`terrainswapmap` INT(10) NOT NULL,
|
||||
`comment` VARCHAR(255),
|
||||
PRIMARY KEY (`id`, `terrainswapmap`)
|
||||
);
|
||||
|
||||
CREATE TABLE `terrain_map_info`(
|
||||
`mapid` INT(10) NOT NULL,
|
||||
`terrainswapmap` INT(10) NOT NULL,
|
||||
`comment` VARCHAR(255),
|
||||
PRIMARY KEY (`mapid`, `terrainswapmap`)
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user