forked from cmangos/mangos-tbc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
32 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
ALTER TABLE db_version CHANGE COLUMN required_s2438_01_mangos_spawn_groups required_s2439_01_mangos_groups_formation bit; | ||
|
||
ALTER TABLE `spawn_group_spawn` ADD COLUMN `SlotId` tinyint(4) NOT NULL DEFAULT -1 COMMENT '0 is the leader, -1 not part of the formation' AFTER `Guid`; | ||
|
||
DROP TABLE IF EXISTS `spawn_group_formation`; | ||
CREATE TABLE `spawn_group_formation` ( | ||
`SpawnGroupID` int(11) NOT NULL COMMENT 'Spawn group id', | ||
`FormationType` tinyint(11) NOT NULL DEFAULT 0 COMMENT 'Formation shape 0..6', | ||
`FormationSpread` float(11, 0) NOT NULL DEFAULT 0 COMMENT 'Distance between formation members', | ||
`FormationOptions` int(11) NOT NULL DEFAULT 0 COMMENT 'Keep formation compact (bit 1)', | ||
`MovementID` int(11) NOT NULL DEFAULT 0 COMMENT 'Id from waypoint_path path', | ||
`MovementType` tinyint(11) NOT NULL COMMENT 'Same as creature table', | ||
`Comment` varchar(255) NULL DEFAULT NULL, | ||
PRIMARY KEY (`SpawnGroupID`) | ||
); | ||
|
||
DROP TABLE IF EXISTS `waypoint_path`; | ||
CREATE TABLE `waypoint_path` ( | ||
`entry` mediumint(8) UNSIGNED NOT NULL COMMENT 'Creature entry', | ||
`pathId` int(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT 'Path ID for entry', | ||
`point` mediumint(8) UNSIGNED NOT NULL DEFAULT 0, | ||
`position_x` float NOT NULL DEFAULT 0, | ||
`position_y` float NOT NULL DEFAULT 0, | ||
`position_z` float NOT NULL DEFAULT 0, | ||
`orientation` float NOT NULL DEFAULT 0, | ||
`waittime` int(10) UNSIGNED NOT NULL DEFAULT 0, | ||
`script_id` mediumint(8) UNSIGNED NOT NULL DEFAULT 0, | ||
`comment` text NULL DEFAULT NULL, | ||
PRIMARY KEY (`entry`, `pathId`, `point`) | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters