mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 23:50:44 +01:00
*Add Dual Spec support, original by EnderGT, thanks to Thyros and XTElite1 for helping me test :)
--HG-- branch : trunk
This commit is contained in:
@@ -330,6 +330,8 @@ CREATE TABLE `characters` (
|
||||
`death_expire_time` bigint(20) unsigned NOT NULL default '0',
|
||||
`taxi_path` text,
|
||||
`arena_pending_points` int(10) UNSIGNED NOT NULL default '0',
|
||||
`speccount` tinyint(3) unsigned NOT NULL default 1,
|
||||
`activespec` tinyint(3) unsigned NOT NULL default 0,
|
||||
`latency` int(11) unsigned NOT NULL default '0',
|
||||
PRIMARY KEY (`guid`),
|
||||
KEY `idx_account` (`account`),
|
||||
@@ -395,12 +397,13 @@ UNLOCK TABLES;
|
||||
|
||||
DROP TABLE IF EXISTS `character_action`;
|
||||
CREATE TABLE `character_action` (
|
||||
`guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
|
||||
`guid` int(11) unsigned NOT NULL default '0',
|
||||
`spec` tinyint(3) unsigned NOT NULL default '0',
|
||||
`button` tinyint(3) unsigned NOT NULL default '0',
|
||||
`action` int(11) unsigned NOT NULL default '0',
|
||||
`type` tinyint(3) unsigned NOT NULL default '0',
|
||||
PRIMARY KEY (`guid`,`button`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
|
||||
PRIMARY KEY (`guid`,`spec`,`button`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
|
||||
|
||||
--
|
||||
-- Dumping data for table `character_action`
|
||||
@@ -559,6 +562,32 @@ LOCK TABLES `character_gifts` WRITE;
|
||||
/*!40000 ALTER TABLE `character_gifts` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Table structure for table `character_glyphs`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `character_glyphs`;
|
||||
CREATE TABLE `character_glyphs` (
|
||||
`guid` int(11) unsigned NOT NULL,
|
||||
`spec` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
`glyph1` int(11) unsigned NOT NULL DEFAULT '0',
|
||||
`glyph2` int(11) unsigned DEFAULT '0',
|
||||
`glyph3` int(11) unsigned DEFAULT '0',
|
||||
`glyph4` int(11) unsigned DEFAULT '0',
|
||||
`glyph5` int(11) unsigned DEFAULT '0',
|
||||
`glyph6` int(11) unsigned DEFAULT '0',
|
||||
PRIMARY KEY (`guid`,`spec`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
--
|
||||
-- Dumping data for table `character_glyphs`
|
||||
--
|
||||
|
||||
LOCK TABLES `character_glyphs` WRITE;
|
||||
/*!40000 ALTER TABLE `character_glyphs` DISABLE KEYS */;
|
||||
/*!40000 ALTER TABLE `character_glyphs` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Table structure for table `character_homebind`
|
||||
--
|
||||
@@ -839,6 +868,27 @@ LOCK TABLES `character_spell_cooldown` WRITE;
|
||||
/*!40000 ALTER TABLE `character_spell_cooldown` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Table structure for table `character_talent`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `character_talent`;
|
||||
CREATE TABLE `character_talent` (
|
||||
`guid` int(11) unsigned NOT NULL,
|
||||
`spell` int(11) unsigned NOT NULL,
|
||||
`spec` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`guid`,`spell`,`spec`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
--
|
||||
-- Dumping data for table `character_tutorial`
|
||||
--
|
||||
|
||||
LOCK TABLES `character_talent` WRITE;
|
||||
/*!40000 ALTER TABLE `character_talent` DISABLE KEYS */;
|
||||
/*!40000 ALTER TABLE `character_talent` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Table structure for table `character_tutorial`
|
||||
--
|
||||
|
||||
Reference in New Issue
Block a user