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:
Machiavelli
2010-03-09 20:33:59 +01:00
parent e5eaa46a7f
commit 24ab54f213
6 changed files with 48 additions and 56 deletions

View File

@@ -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,