Starting on skill caps today

This commit is contained in:
KimLS 2013-02-20 11:26:23 -08:00
parent 23dbd00d40
commit 12bde7434a
2 changed files with 3 additions and 2 deletions

View File

@ -1605,7 +1605,7 @@ uint8 SharedDatabase::GetTrainLevel(uint8 Class_, SkillType Skill, uint8 Level)
void SharedDatabase::DBLoadDamageShieldTypes(SPDat_Spell_Struct* sp, int32 iMaxSpellID) {
const char *DSQuery = "SELECT `spellid`, `type` from `damageshieldtypes` WHERE `spellid` >0 "
const char *DSQuery = "SELECT `spellid`, `type` from `damageshieldtypes` WHERE `spellid` > 0 "
"AND `spellid` <= %i";
const char *ERR_MYSQLERROR = "Error in DBLoadDamageShieldTypes: %s %s";

View File

@ -87,7 +87,6 @@ public:
bool LoadItems();
bool LoadLoot();
bool LoadNPCFactionLists();
bool LoadSkillCaps();
bool GetCommandSettings(map<string,uint8> &commands);
const Item_Struct* IterateItems(uint32* NextIndex);
bool DBLoadItems(int32 iItemCount, uint32 iMaxItemID);
@ -99,6 +98,8 @@ public:
int GetMaxSpellID();
void LoadSpells(void *data, int max_spells);
void LoadSkillCaps(void *data);
bool LoadSkillCaps();
protected:
void SDBInitVars();