feat(DB): skilltiers_dbc (#6756)

This commit is contained in:
Kitzunu
2021-11-24 01:12:24 +01:00
committed by GitHub
parent 647c91605c
commit 0a1e841277
2 changed files with 41 additions and 1 deletions

View File

@@ -0,0 +1,40 @@
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1625503957300357300');
DROP TABLE IF EXISTS `skilltiers_dbc`;
CREATE TABLE `skilltiers_dbc`
(
`ID` INT NOT NULL DEFAULT 0,
`Cost_1` INT NOT NULL DEFAULT 0,
`Cost_2` INT NOT NULL DEFAULT 0,
`Cost_3` INT NOT NULL DEFAULT 0,
`Cost_4` INT NOT NULL DEFAULT 0,
`Cost_5` INT NOT NULL DEFAULT 0,
`Cost_6` INT NOT NULL DEFAULT 0,
`Cost_7` INT NOT NULL DEFAULT 0,
`Cost_8` INT NOT NULL DEFAULT 0,
`Cost_9` INT NOT NULL DEFAULT 0,
`Cost_10` INT NOT NULL DEFAULT 0,
`Cost_11` INT NOT NULL DEFAULT 0,
`Cost_12` INT NOT NULL DEFAULT 0,
`Cost_13` INT NOT NULL DEFAULT 0,
`Cost_14` INT NOT NULL DEFAULT 0,
`Cost_15` INT NOT NULL DEFAULT 0,
`Cost_16` INT NOT NULL DEFAULT 0,
`Value_1` INT NOT NULL DEFAULT 0,
`Value_2` INT NOT NULL DEFAULT 0,
`Value_3` INT NOT NULL DEFAULT 0,
`Value_4` INT NOT NULL DEFAULT 0,
`Value_5` INT NOT NULL DEFAULT 0,
`Value_6` INT NOT NULL DEFAULT 0,
`Value_7` INT NOT NULL DEFAULT 0,
`Value_8` INT NOT NULL DEFAULT 0,
`Value_9` INT NOT NULL DEFAULT 0,
`Value_10` INT NOT NULL DEFAULT 0,
`Value_11` INT NOT NULL DEFAULT 0,
`Value_12` INT NOT NULL DEFAULT 0,
`Value_13` INT NOT NULL DEFAULT 0,
`Value_14` INT NOT NULL DEFAULT 0,
`Value_15` INT NOT NULL DEFAULT 0,
`Value_16` INT NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;

View File

@@ -340,7 +340,7 @@ void LoadDBCStores(const std::string& dataPath)
LOAD_DBC(sSkillLineStore, "SkillLine.dbc", "skillline_dbc");
LOAD_DBC(sSkillLineAbilityStore, "SkillLineAbility.dbc", "skilllineability_dbc");
LOAD_DBC(sSkillRaceClassInfoStore, "SkillRaceClassInfo.dbc", "skillraceclassinfo_dbc");
LOAD_DBC(sSkillTiersStore, "SkillTiers.dbc", nullptr); // TODO: add the SQL table!
LOAD_DBC(sSkillTiersStore, "SkillTiers.dbc", "skilltiers_dbc");
LOAD_DBC(sSoundEntriesStore, "SoundEntries.dbc", "soundentries_dbc");
LOAD_DBC(sSpellStore, "Spell.dbc", "spell_dbc");
LOAD_DBC(sSpellCastTimesStore, "SpellCastTimes.dbc", "spellcasttimes_dbc");