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
1 changed file
with
28 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
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 movement_template path', | ||
`MovementType` tinyint(11) NOT NULL COMMENT 'Same as creature table', | ||
`Comment` varchar(255) NULL DEFAULT NULL, | ||
PRIMARY KEY (`SpawnGroupID`) | ||
); | ||
DROP TABLE IF EXISTS `movement_template`; | ||
CREATE TABLE `movement_template` ( | ||
`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`) | ||
); |