*Add more Player::CanUseAttackType checks in places where item bonuses are applied.

--HG--
branch : trunk
This commit is contained in:
QAston
2010-07-26 16:08:55 +02:00
parent f3e97bfaae
commit 7b87ab4de7
4 changed files with 26 additions and 19 deletions
+1 -1
View File
@@ -4116,7 +4116,7 @@ void Spell::EffectAddHonor(uint32 /*i*/)
if (m_CastItem)
{
unitTarget->ToPlayer()->RewardHonor(NULL, 1, damage/10);
sLog.outError("SpellEffect::AddHonor (spell_id %u) rewards %d honor points (item %u) for player: %u", m_spellInfo->Id, damage/10, m_CastItem->GetEntry(),unitTarget->ToPlayer()->GetGUIDLow());
sLog.outDebug("SpellEffect::AddHonor (spell_id %u) rewards %d honor points (item %u) for player: %u", m_spellInfo->Id, damage/10, m_CastItem->GetEntry(),unitTarget->ToPlayer()->GetGUIDLow());
return;
}