mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
Now 35395 not refresh seals
Signed-off-by: DiSlord <dislord@nomail.com>
This commit is contained in:
parent
246d45dc80
commit
c97f8a675c
1 changed files with 0 additions and 11 deletions
|
|
@ -1123,17 +1123,6 @@ void Unit::DealSpellDamage(SpellNonMeleeDamage *damageInfo, bool durabilityLoss)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// update at damage Judgement aura duration that applied by attacker at victim
|
|
||||||
if(damageInfo->damage && spellProto->Id == 35395)
|
|
||||||
{
|
|
||||||
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();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// Call default DealDamage
|
// Call default DealDamage
|
||||||
CleanDamage cleanDamage(damageInfo->cleanDamage, BASE_ATTACK, MELEE_HIT_NORMAL);
|
CleanDamage cleanDamage(damageInfo->cleanDamage, BASE_ATTACK, MELEE_HIT_NORMAL);
|
||||||
DealDamage(pVictim, damageInfo->damage, &cleanDamage, SPELL_DIRECT_DAMAGE, SpellSchoolMask(damageInfo->schoolMask), spellProto, durabilityLoss);
|
DealDamage(pVictim, damageInfo->damage, &cleanDamage, SPELL_DIRECT_DAMAGE, SpellSchoolMask(damageInfo->schoolMask), spellProto, durabilityLoss);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue