[7118] resolve problems with partly appied [7117]

This commit is contained in:
VladimirMangos 2009-01-19 23:51:07 +03:00
parent ee6072f232
commit dab1f96f66
5 changed files with 7 additions and 7 deletions

View file

@ -22,7 +22,7 @@
DROP TABLE IF EXISTS `db_version`;
CREATE TABLE `db_version` (
`version` varchar(120) default NULL,
`required_7117_01_mangos_skill_discovery_template` 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';
--
@ -13001,7 +13001,7 @@ CREATE TABLE `skill_discovery_template` (
`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`,`reqSpell`),
PRIMARY KEY (`spellId`,`reqSpell`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Skill Discovery System';
--

View file

@ -1,4 +1,4 @@
ALTER TABLE db_version CHANGE COLUMN required_7107_01_mangos_string required_7117_01_mangos_skill_discovery_template bit;
ALTER TABLE db_version CHANGE COLUMN required_7107_01_mangos_string required_7118_01_mangos_skill_discovery_template bit;
ALTER TABLE skill_discovery_template
DROP PRIMARY KEY,

View file

@ -142,7 +142,7 @@ pkgdata_DATA = \
7100_01_characters_character_spell.sql \
7107_01_mangos_string.sql \
7113_01_characters_character_achievement_progress.sql \
7117_01_mangos_skill_discovery_template.sql \
7118_01_mangos_skill_discovery_template.sql \
README
## Additional files to include when running 'make dist'
@ -265,5 +265,5 @@ EXTRA_DIST = \
7100_01_characters_character_spell.sql \
7107_01_mangos_string.sql \
7113_01_characters_character_achievement_progress.sql \
7117_01_mangos_skill_discovery_template.sql \
7118_01_mangos_skill_discovery_template.sql \
README

View file

@ -93,7 +93,7 @@ void LoadSkillDiscoveryTable()
}
// mechanic discovery
if (spellEntry->Mechanic != MECHANIC_DISCOVERY &&
if (spellEntry->Mechanic != MECHANIC_DISCOVERY &&
// explicit discovery ability
!IsExplicitDiscoverySpell(spellEntry))
{

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "7117"
#define REVISION_NR "7118"
#endif // __REVISION_NR_H__