Some random cleanup here and there
This commit is contained in:
@@ -132,7 +132,8 @@ void LoadSkillDiscoveryTable()
|
||||
}
|
||||
|
||||
++count;
|
||||
} while (result->NextRow());
|
||||
}
|
||||
while (result->NextRow());
|
||||
|
||||
if (!ssNonDiscoverableEntries.str().empty())
|
||||
sLog->outErrorDb("Some items can't be successfully discovered: have in chance field value < 0.000001 in `skill_discovery_template` DB table . List:\n%s", ssNonDiscoverableEntries.str().c_str());
|
||||
@@ -246,4 +247,3 @@ uint32 GetSkillDiscoverySpell(uint32 skillId, uint32 spellId, Player* player)
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -28,4 +28,3 @@ uint32 GetSkillDiscoverySpell(uint32 skillId, uint32 spellId, Player* player);
|
||||
bool HasDiscoveredAllSpells(uint32 spellId, Player* player);
|
||||
uint32 GetExplicitDiscoverySpell(uint32 spellId, Player* player);
|
||||
#endif
|
||||
|
||||
|
||||
@@ -138,4 +138,3 @@ bool canCreateExtraItems(Player* player, uint32 spellId, float &additionalChance
|
||||
// enable extra item creation
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -28,4 +28,3 @@ bool canCreateExtraItems(Player* player, uint32 spellId, float &additionalChance
|
||||
// function to load the extra item creation info from DB
|
||||
void LoadSkillExtraItemTable();
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user