mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 18:51:29 +00:00
Convert Bot::CalcBotFocusEffect Debug to new
This commit is contained in:
parent
c9e7e77d4c
commit
00bab96717
@ -538,10 +538,6 @@ void Client::AddItemBonuses(const ItemInst *inst, StatBonuses* newbon, bool isAu
|
|||||||
}
|
}
|
||||||
|
|
||||||
void Client::CalcEdibleBonuses(StatBonuses* newbon) {
|
void Client::CalcEdibleBonuses(StatBonuses* newbon) {
|
||||||
//#if EQDEBUG >= 11
|
|
||||||
// std::cout<<"Client::CalcEdibleBonuses(StatBonuses* newbon)"<<std::endl;
|
|
||||||
//#endif
|
|
||||||
// Search player slots for skill=14(food) and skill=15(drink)
|
|
||||||
uint32 i;
|
uint32 i;
|
||||||
|
|
||||||
bool food = false;
|
bool food = false;
|
||||||
|
|||||||
@ -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.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user