mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +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
|
|
@ -5021,8 +5021,6 @@ void Spell::EffectScriptEffect(uint32 effIndex)
|
||||||
SpellEntry const *judge = sSpellStore.LookupEntry(spellId2);
|
SpellEntry const *judge = sSpellStore.LookupEntry(spellId2);
|
||||||
if (!judge)
|
if (!judge)
|
||||||
continue;
|
continue;
|
||||||
// found, remove seal
|
|
||||||
m_caster->RemoveAurasDueToSpell(spellInfo->Id);
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (spellId1)
|
if (spellId1)
|
||||||
|
|
|
||||||
|
|
@ -1468,18 +1468,6 @@ void Unit::DealMeleeDamage(CalcDamageInfo *damageInfo, bool durabilityLoss)
|
||||||
CastSpell(pVictim, 1604, true);
|
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 not miss
|
||||||
if (!(damageInfo->HitInfo & HITINFO_MISS))
|
if (!(damageInfo->HitInfo & HITINFO_MISS))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue