mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-15 08:21:28 +00:00
Starting on skill caps today
This commit is contained in:
parent
23dbd00d40
commit
12bde7434a
@ -1605,7 +1605,7 @@ uint8 SharedDatabase::GetTrainLevel(uint8 Class_, SkillType Skill, uint8 Level)
|
|||||||
|
|
||||||
void SharedDatabase::DBLoadDamageShieldTypes(SPDat_Spell_Struct* sp, int32 iMaxSpellID) {
|
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";
|
"AND `spellid` <= %i";
|
||||||
|
|
||||||
const char *ERR_MYSQLERROR = "Error in DBLoadDamageShieldTypes: %s %s";
|
const char *ERR_MYSQLERROR = "Error in DBLoadDamageShieldTypes: %s %s";
|
||||||
|
|||||||
@ -87,7 +87,6 @@ public:
|
|||||||
bool LoadItems();
|
bool LoadItems();
|
||||||
bool LoadLoot();
|
bool LoadLoot();
|
||||||
bool LoadNPCFactionLists();
|
bool LoadNPCFactionLists();
|
||||||
bool LoadSkillCaps();
|
|
||||||
bool GetCommandSettings(map<string,uint8> &commands);
|
bool GetCommandSettings(map<string,uint8> &commands);
|
||||||
const Item_Struct* IterateItems(uint32* NextIndex);
|
const Item_Struct* IterateItems(uint32* NextIndex);
|
||||||
bool DBLoadItems(int32 iItemCount, uint32 iMaxItemID);
|
bool DBLoadItems(int32 iItemCount, uint32 iMaxItemID);
|
||||||
@ -99,6 +98,8 @@ public:
|
|||||||
|
|
||||||
int GetMaxSpellID();
|
int GetMaxSpellID();
|
||||||
void LoadSpells(void *data, int max_spells);
|
void LoadSpells(void *data, int max_spells);
|
||||||
|
void LoadSkillCaps(void *data);
|
||||||
|
bool LoadSkillCaps();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void SDBInitVars();
|
void SDBInitVars();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user