mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
Fix pladin some abiblty - patch by Kirix
Signed-off-by: DiSlord <dislord@nomail.com>
This commit is contained in:
parent
f876d66d74
commit
b64ce9ea34
2 changed files with 0 additions and 14 deletions
|
|
@ -1468,18 +1468,6 @@ void Unit::DealMeleeDamage(CalcDamageInfo *damageInfo, bool durabilityLoss)
|
|||
CastSpell(pVictim, 1604, true);
|
||||
}
|
||||
|
||||
// update at damage Judgement aura duration that applied by attacker at victim
|
||||
if(damageInfo->damage)
|
||||
{
|
||||
AuraMap& vAuras = pVictim->GetAuras();
|
||||
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()))
|
||||
(*itr).second->RefreshAura();
|
||||
}
|
||||
}
|
||||
|
||||
// If not miss
|
||||
if (!(damageInfo->HitInfo & HITINFO_MISS))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue