[7151] Startup log cleanup and beautification.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
begemot 2009-01-23 04:21:34 +03:00 committed by VladimirMangos
parent 34fc995ef9
commit 9bede601a2
10 changed files with 289 additions and 160 deletions

View file

@ -1667,8 +1667,10 @@ void SpellMgr::LoadSpellLearnSkills()
// search auto-learned skills and add its to map also for use in unlearn spells/talents
uint32 dbc_count = 0;
barGoLink bar( sSpellStore.GetNumRows() );
for(uint32 spell = 0; spell < sSpellStore.GetNumRows(); ++spell)
{
bar.step();
SpellEntry const* entry = sSpellStore.LookupEntry(spell);
if(!entry)
@ -2358,10 +2360,12 @@ void SpellMgr::LoadSkillLineAbilityMap()
{
mSkillLineAbilityMap.clear();
barGoLink bar( sSkillLineAbilityStore.GetNumRows() );
uint32 count = 0;
for (uint32 i = 0; i < sSkillLineAbilityStore.GetNumRows(); i++)
{
bar.step();
SkillLineAbilityEntry const *SkillInfo = sSkillLineAbilityStore.LookupEntry(i);
if(!SkillInfo)
continue;
@ -2371,7 +2375,7 @@ void SpellMgr::LoadSkillLineAbilityMap()
}
sLog.outString();
sLog.outString(">> Loaded %u SkillLineAbility MultiMap", count);
sLog.outString(">> Loaded %u SkillLineAbility MultiMap Data", count);
}
DiminishingGroup GetDiminishingReturnsGroupForSpell(SpellEntry const* spellproto, bool triggered)