Convert Bot::CalcBotFocusEffect Debug to new

This commit is contained in:
Akkadius 2015-01-16 02:25:04 -06:00
parent c9e7e77d4c
commit 00bab96717
2 changed files with 2 additions and 8 deletions

View File

@ -538,11 +538,7 @@ void Client::AddItemBonuses(const ItemInst *inst, StatBonuses* newbon, bool isAu
} }
void Client::CalcEdibleBonuses(StatBonuses* newbon) { void Client::CalcEdibleBonuses(StatBonuses* newbon) {
//#if EQDEBUG >= 11 uint32 i;
// std::cout<<"Client::CalcEdibleBonuses(StatBonuses* newbon)"<<std::endl;
//#endif
// Search player slots for skill=14(food) and skill=15(drink)
uint32 i;
bool food = false; bool food = false;
bool drink = false; bool drink = false;

View File

@ -7332,12 +7332,10 @@ int32 Bot::CalcBotFocusEffect(BotfocusType bottype, uint16 focus_id, uint16 spel
break; break;
} }
#if EQDEBUG >= 6
//this spits up a lot of garbage when calculating spell focuses //this spits up a lot of garbage when calculating spell focuses
//since they have all kinds of extra effects on them. //since they have all kinds of extra effects on them.
default: default:
logger.Log(EQEmuLogSys::Normal, "CalcFocusEffect: unknown effectid %d", focus_spell.effectid[i]); logger.LogDebugType(EQEmuLogSys::General, EQEmuLogSys::Spells, "CalcFocusEffect: unknown effectid %d", focus_spell.effectid[i]);
#endif
} }
} }
//Check for spell skill limits. //Check for spell skill limits.