mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 15:40:45 +01:00
Small update to the group/party system.
- Fixes raid assistant privileges, Fixes issue #248 - Proper designation for Main tank and Main assistant roles - Remove 2 redundant columns in DB, namely groups.mainTank and groups.mainAssist. These are now defined by the value of group_member.memberFlags --HG-- branch : trunk
This commit is contained in:
@@ -1247,7 +1247,7 @@ DROP TABLE IF EXISTS `group_member`;
|
||||
CREATE TABLE `group_member` (
|
||||
`leaderGuid` int(11) unsigned NOT NULL,
|
||||
`memberGuid` int(11) unsigned NOT NULL,
|
||||
`assistant` tinyint(1) unsigned NOT NULL,
|
||||
`memberFlags` tinyint(2) unsigned NOT NULL,
|
||||
`subgroup` smallint(6) unsigned NOT NULL,
|
||||
PRIMARY KEY (`leaderGuid`,`memberGuid`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Groups';
|
||||
@@ -1271,8 +1271,6 @@ DROP TABLE IF EXISTS `groups`;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `groups` (
|
||||
`leaderGuid` int(11) unsigned NOT NULL,
|
||||
`mainTank` int(11) unsigned NOT NULL,
|
||||
`mainAssistant` int(11) unsigned NOT NULL,
|
||||
`lootMethod` tinyint(4) unsigned NOT NULL,
|
||||
`looterGuid` int(11) unsigned NOT NULL,
|
||||
`lootThreshold` tinyint(4) unsigned NOT NULL,
|
||||
|
||||
Reference in New Issue
Block a user