mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 05:21:29 +00:00
Convert 'AA' debugging _log to logger.LogDebugType
This commit is contained in:
parent
509bd2d652
commit
44b6e9aa3f
@ -77,9 +77,9 @@ void Client::CalcBonuses()
|
|||||||
|
|
||||||
CalcSpellBonuses(&spellbonuses);
|
CalcSpellBonuses(&spellbonuses);
|
||||||
|
|
||||||
_log(AA__BONUSES, "Calculating AA Bonuses for %s.", this->GetCleanName());
|
logger.LogDebugType(EQEmuLogSys::Detail, EQEmuLogSys::AA, "Calculating AA Bonuses for %s.", this->GetCleanName());
|
||||||
CalcAABonuses(&aabonuses); //we're not quite ready for this
|
CalcAABonuses(&aabonuses); //we're not quite ready for this
|
||||||
_log(AA__BONUSES, "Finished calculating AA Bonuses for %s.", this->GetCleanName());
|
logger.LogDebugType(EQEmuLogSys::Detail, EQEmuLogSys::AA, "Finished calculating AA Bonuses for %s.", this->GetCleanName());
|
||||||
|
|
||||||
RecalcWeight();
|
RecalcWeight();
|
||||||
|
|
||||||
@ -638,7 +638,7 @@ void Client::ApplyAABonuses(uint32 aaid, uint32 slots, StatBonuses* newbon)
|
|||||||
if (effect == SE_Blank || (effect == SE_CHA && base1 == 0) || effect == SE_StackingCommand_Block || effect == SE_StackingCommand_Overwrite)
|
if (effect == SE_Blank || (effect == SE_CHA && base1 == 0) || effect == SE_StackingCommand_Block || effect == SE_StackingCommand_Overwrite)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
_log(AA__BONUSES, "Applying Effect %d from AA %u in slot %d (base1: %d, base2: %d) on %s", effect, aaid, slot, base1, base2, this->GetCleanName());
|
logger.LogDebugType(EQEmuLogSys::Detail, EQEmuLogSys::AA, "Applying Effect %d from AA %u in slot %d (base1: %d, base2: %d) on %s", effect, aaid, slot, base1, base2, this->GetCleanName());
|
||||||
|
|
||||||
uint8 focus = IsFocusEffect(0, 0, true,effect);
|
uint8 focus = IsFocusEffect(0, 0, true,effect);
|
||||||
if (focus)
|
if (focus)
|
||||||
|
|||||||
@ -1564,7 +1564,7 @@ void Bot::ApplyAABonuses(uint32 aaid, uint32 slots, StatBonuses* newbon)
|
|||||||
if (effect == SE_Blank || (effect == SE_CHA && base1 == 0) || effect == SE_StackingCommand_Block || effect == SE_StackingCommand_Overwrite)
|
if (effect == SE_Blank || (effect == SE_CHA && base1 == 0) || effect == SE_StackingCommand_Block || effect == SE_StackingCommand_Overwrite)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
_log(AA__BONUSES, "Applying Effect %d from AA %u in slot %d (base1: %d, base2: %d) on %s", effect, aaid, slot, base1, base2, this->GetCleanName());
|
logger.LogDebugType(EQEmuLogSys::Detail, EQEmuLogSys::AA, "Applying Effect %d from AA %u in slot %d (base1: %d, base2: %d) on %s", effect, aaid, slot, base1, base2, this->GetCleanName());
|
||||||
|
|
||||||
uint8 focus = IsFocusEffect(0, 0, true,effect);
|
uint8 focus = IsFocusEffect(0, 0, true,effect);
|
||||||
if (focus)
|
if (focus)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user