aboutsummaryrefslogtreecommitdiff
path: root/sql/mangos.sql
diff options
context:
space:
mode:
authormegamage <none@none>2009-01-20 19:59:43 -0600
committermegamage <none@none>2009-01-20 19:59:43 -0600
commit68c0bcd06980cbc5babc842d990d1b8eb564e388 (patch)
tree0dbed1b4453a0361cecd2608325107902696ab22 /sql/mangos.sql
parent1bbd8968615e4b89fe4549bd1cccd089f6ad38f0 (diff)
*Update to Mangos 7125.
--HG-- branch : trunk
Diffstat (limited to 'sql/mangos.sql')
-rw-r--r--sql/mangos.sql5
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/mangos.sql b/sql/mangos.sql
index 8d4088f95d7..b2198d4f765 100644
--- a/sql/mangos.sql
+++ b/sql/mangos.sql
@@ -22,7 +22,7 @@
DROP TABLE IF EXISTS `db_version`;
CREATE TABLE `db_version` (
`version` varchar(120) default NULL,
- `required_7107_01_mangos_string` bit(1) default NULL
+ `required_7118_01_mangos_skill_discovery_template` bit(1) default NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes';
--
@@ -12999,8 +12999,9 @@ DROP TABLE IF EXISTS `skill_discovery_template`;
CREATE TABLE `skill_discovery_template` (
`spellId` mediumint(8) unsigned NOT NULL default '0' COMMENT 'SpellId of the discoverable spell',
`reqSpell` mediumint(8) unsigned NOT NULL default '0' COMMENT 'spell requirement',
+ `reqClass` tinyint(2) unsigned NOT NULL default '0' COMMENT 'class requirement',
`chance` float NOT NULL default '0' COMMENT 'chance to discover',
- PRIMARY KEY (`spellId`)
+ PRIMARY KEY (`spellId`,`reqSpell`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Skill Discovery System';
--