Core/DBLayer: Correct few more wrong read types (No. 4)
DB/World: Some consistency in the ints "length" field (not really a length) All world dbs checked
This commit is contained in:
@@ -71,7 +71,7 @@ void LoadSkillDiscoveryTable()
|
||||
|
||||
uint32 spellId = fields[0].GetUInt32();
|
||||
int32 reqSkillOrSpell = fields[1].GetInt32();
|
||||
uint32 reqSkillValue = fields[2].GetUInt32();
|
||||
uint32 reqSkillValue = fields[2].GetUInt16();
|
||||
float chance = fields[3].GetFloat();
|
||||
|
||||
if (chance <= 0) // chance
|
||||
|
||||
@@ -55,7 +55,7 @@ void LoadSkillExtraItemTable()
|
||||
|
||||
SkillExtraItemStore.clear(); // need for reload
|
||||
|
||||
// 0 1 2 3
|
||||
// 0 1 2 3
|
||||
QueryResult result = WorldDatabase.Query("SELECT spellId, requiredSpecialization, additionalCreateChance, additionalMaxNum FROM skill_extra_item_template");
|
||||
|
||||
if (!result)
|
||||
|
||||
Reference in New Issue
Block a user