From 4fd99adaa514818696e8d1498291081a8717885e Mon Sep 17 00:00:00 2001 From: krz Date: Thu, 11 Jun 2009 22:35:48 +0200 Subject: [PATCH] Fix Crusader Strike. It will correctly refresh all judgements on target. --HG-- branch : trunk --- src/game/Unit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index a8e15ebf69..e07b2aef98 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -1304,7 +1304,7 @@ void Unit::DealSpellDamage(SpellNonMeleeDamage *damageInfo, bool durabilityLoss) for(AuraMap::iterator itr = vAuras.begin(); itr != vAuras.end(); ++itr) { SpellEntry const *spellInfo = (*itr).second->GetSpellProto(); - if( spellInfo->AttributesEx3 & 0x40000 && spellInfo->SpellFamilyName == SPELLFAMILY_PALADIN && ((*itr).second->GetCasterGUID() == GetGUID())) + if(spellInfo->SpellFamilyName == SPELLFAMILY_PALADIN && spellInfo->AttributesEx3 & 0x40000) { (*itr).second->SetAuraDuration((*itr).second->GetAuraMaxDuration()); (*itr).second->UpdateAuraDuration();