From c10f5b2cbc5807e303973ea22b5864f1ee871993 Mon Sep 17 00:00:00 2001 From: Akkadius Date: Fri, 16 Jan 2015 02:12:19 -0600 Subject: [PATCH] Removed #ATTACK_DEBUG Mob::CheckHitChance and converted debug --- zone/attack.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/zone/attack.cpp b/zone/attack.cpp index 1101375ea..eacee46fe 100644 --- a/zone/attack.cpp +++ b/zone/attack.cpp @@ -187,9 +187,8 @@ bool Mob::CheckHitChance(Mob* other, SkillUseTypes skillinuse, int Hand, int16 c if(attacker->IsNPC() && !attacker->IsPet()) chancetohit += RuleR(Combat, NPCBonusHitChance); -#if ATTACK_DEBUG>=11 - logger.LogDebug(EQEmuLogSys::General, "CheckHitChance(%s) attacked by %s", defender->GetName(), attacker->GetName()); -#endif + logger.LogDebugType(EQEmuLogSys::Detail, EQEmuLogSys::Attack, "CheckHitChance(%s) attacked by %s", defender->GetName(), attacker->GetName()); + mlog(COMBAT__TOHIT,"CheckHitChance(%s) attacked by %s", defender->GetName(), attacker->GetName()); bool pvpmode = false;