mirror of
https://github.com/mangosfour/server.git
synced 2025-12-25 13:37:02 +00:00
* Implement talent specs switch functionality. * Only gossip part still not implemented. * At update server to this commit or later character talents will be reset with some spam in logs about wrong places talents in character_spell. It can be ignored as part of conversion to new table support. Thanks to all getmangos.com community members who take part in creating and updating original dual spec patch. Signed-off-by: VladimirMangos <vladimir@getmangos.com>
13 lines
561 B
SQL
13 lines
561 B
SQL
ALTER TABLE character_db_version CHANGE COLUMN required_9646_01_characters_characters required_9661_01_characters_character_talent bit;
|
|
|
|
DROP TABLE IF EXISTS `character_talent`;
|
|
CREATE TABLE `character_talent` (
|
|
`guid` int(11) unsigned NOT NULL,
|
|
`talent_id` int(11) unsigned NOT NULL,
|
|
`current_rank` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`spec` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`guid`,`talent_id`,`spec`),
|
|
KEY guid_key (`guid`),
|
|
KEY talent_key (`talent_id`),
|
|
KEY spec_key (`spec`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|