*Update to Mangos 7136.
--HG-- branch : trunk
This commit is contained in:
1 parent
68c0bcd069
commit
4230318f96
57 files changed
+400
-219
No files matched your search
@@ -104,6 +104,9 @@ ALTER TABLE skill_discovery_template
|
||||
DROP PRIMARY KEY,
|
||||
ADD PRIMARY KEY (`spellId`,`reqSpell`),
|
||||
ADD COLUMN reqClass tinyint(2) unsigned NOT NULL default '0' COMMENT 'class requirement' AFTER reqSpell;
|
||||
ALTER TABLE skill_discovery_template
|
||||
DROP `reqClass`,
|
||||
ADD COLUMN `reqSkillValue` smallint(5) unsigned NOT NULL default '0' COMMENT 'skill points requirement' AFTER reqSpell;
|
||||
|
||||
-- command
|
||||
DELETE FROM `command` WHERE `name` = 'modify runicpower';
|
||||
@@ -235,12 +238,27 @@ CREATE TABLE `player_xp_for_level` (
|
||||
PRIMARY KEY (`lvl`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
|
||||
DROP TABLE IF EXISTS `spell_loot_template`;
|
||||
CREATE TABLE `spell_loot_template` (
|
||||
`entry` mediumint(8) unsigned NOT NULL default '0',
|
||||
`item` mediumint(8) unsigned NOT NULL default '0',
|
||||
`ChanceOrQuestChance` float NOT NULL default '100',
|
||||
`groupid` tinyint(3) unsigned NOT NULL default '0',
|
||||
`mincountOrRef` mediumint(9) NOT NULL default '1',
|
||||
`maxcount` tinyint(3) unsigned NOT NULL default '1',
|
||||
`lootcondition` tinyint(3) unsigned NOT NULL default '0',
|
||||
`condition_value1` mediumint(8) unsigned NOT NULL default '0',
|
||||
`condition_value2` mediumint(8) unsigned NOT NULL default '0',
|
||||
PRIMARY KEY (`entry`,`item`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System';
|
||||
|
||||
INSERT INTO world.player_classlevelstats SELECT * FROM mangos.player_classlevelstats;
|
||||
INSERT INTO world.player_levelstats SELECT * FROM mangos.player_levelstats;
|
||||
INSERT INTO world.playercreateinfo_spell SELECT * FROM mangos.playercreateinfo_spell;
|
||||
INSERT INTO world.playercreateinfo_action SELECT * FROM mangos.playercreateinfo_action;
|
||||
INSERT INTO world.spell_learn_spell SELECT * FROM mangos.spell_learn_spell;
|
||||
INSERT INTO world.player_xp_for_level SELECT * FROM mangos.player_xp_for_level;
|
||||
INSERT INTO world.spell_loot_template SELECT * FROM mangos.spell_loot_template;
|
||||
|
||||
|
||||
DELETE FROM item_template WHERE entry IN (34648,34649,34650,34651,34652,34653,34655,34656,34657,34658,34659,38145,38147,41751);
|
||||
|
||||
+29
-2
@@ -22,7 +22,7 @@
|
||||
DROP TABLE IF EXISTS `db_version`;
|
||||
CREATE TABLE `db_version` (
|
||||
`version` varchar(120) default NULL,
|
||||
`required_7118_01_mangos_skill_discovery_template` bit(1) default NULL
|
||||
`required_7133_02_mangos_spell_loot_template` bit(1) default NULL
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes';
|
||||
|
||||
--
|
||||
@@ -12999,7 +12999,7 @@ 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',
|
||||
`reqSkillValue` smallint(5) unsigned NOT NULL default '0' COMMENT 'skill points requirement',
|
||||
`chance` float NOT NULL default '0' COMMENT 'chance to discover',
|
||||
PRIMARY KEY (`spellId`,`reqSpell`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Skill Discovery System';
|
||||
@@ -16225,6 +16225,33 @@ INSERT INTO `spell_learn_spell` VALUES
|
||||
/*!40000 ALTER TABLE `spell_learn_spell` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Table structure for table `spell_loot_template`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `spell_loot_template`;
|
||||
CREATE TABLE `spell_loot_template` (
|
||||
`entry` mediumint(8) unsigned NOT NULL default '0',
|
||||
`item` mediumint(8) unsigned NOT NULL default '0',
|
||||
`ChanceOrQuestChance` float NOT NULL default '100',
|
||||
`groupid` tinyint(3) unsigned NOT NULL default '0',
|
||||
`mincountOrRef` mediumint(9) NOT NULL default '1',
|
||||
`maxcount` tinyint(3) unsigned NOT NULL default '1',
|
||||
`lootcondition` tinyint(3) unsigned NOT NULL default '0',
|
||||
`condition_value1` mediumint(8) unsigned NOT NULL default '0',
|
||||
`condition_value2` mediumint(8) unsigned NOT NULL default '0',
|
||||
PRIMARY KEY (`entry`,`item`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System';
|
||||
|
||||
--
|
||||
-- Dumping data for table `spell_loot_template`
|
||||
--
|
||||
|
||||
LOCK TABLES `spell_loot_template` WRITE;
|
||||
/*!40000 ALTER TABLE `spell_loot_template` DISABLE KEYS */;
|
||||
/*!40000 ALTER TABLE `spell_loot_template` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--
|
||||
-- Table structure for table `spell_pet_auras`
|
||||
--
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
ALTER TABLE db_version CHANGE COLUMN required_7118_01_mangos_skill_discovery_template required_7133_01_mangos_skill_discovery_template bit;
|
||||
|
||||
ALTER TABLE skill_discovery_template
|
||||
DROP `reqClass`,
|
||||
ADD COLUMN `reqSkillValue` smallint(5) unsigned NOT NULL default '0' COMMENT 'skill points requirement' AFTER reqSpell;
|
||||
@@ -0,0 +1,15 @@
|
||||
ALTER TABLE db_version CHANGE COLUMN required_7133_01_mangos_skill_discovery_template required_7133_02_mangos_spell_loot_template bit;
|
||||
|
||||
DROP TABLE IF EXISTS `spell_loot_template`;
|
||||
CREATE TABLE `spell_loot_template` (
|
||||
`entry` mediumint(8) unsigned NOT NULL default '0',
|
||||
`item` mediumint(8) unsigned NOT NULL default '0',
|
||||
`ChanceOrQuestChance` float NOT NULL default '100',
|
||||
`groupid` tinyint(3) unsigned NOT NULL default '0',
|
||||
`mincountOrRef` mediumint(9) NOT NULL default '1',
|
||||
`maxcount` tinyint(3) unsigned NOT NULL default '1',
|
||||
`lootcondition` tinyint(3) unsigned NOT NULL default '0',
|
||||
`condition_value1` mediumint(8) unsigned NOT NULL default '0',
|
||||
`condition_value2` mediumint(8) unsigned NOT NULL default '0',
|
||||
PRIMARY KEY (`entry`,`item`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System';
|
||||
Reference in new issue
Block a user