mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[7434] Fix one paladin spell bonus
Signed-off-by: DiSlord <DiSlord@nomail.ru>
This commit is contained in:
parent
6dcb0099d9
commit
bdd7b4f74b
2 changed files with 6 additions and 1 deletions
|
|
@ -589,6 +589,11 @@ void Spell::EffectSchoolDMG(uint32 effect_idx)
|
||||||
int32 count = m_caster->CalculateSpellDamage(m_spellInfo, 2, m_spellInfo->EffectBasePoints[2], unitTarget);
|
int32 count = m_caster->CalculateSpellDamage(m_spellInfo, 2, m_spellInfo->EffectBasePoints[2], unitTarget);
|
||||||
damage += count * int32(averange * IN_MILISECONDS) / m_caster->GetAttackTime(BASE_ATTACK);
|
damage += count * int32(averange * IN_MILISECONDS) / m_caster->GetAttackTime(BASE_ATTACK);
|
||||||
}
|
}
|
||||||
|
// Shield of Righteousness
|
||||||
|
else if(m_spellInfo->SpellFamilyFlags&0x0010000000000000LL)
|
||||||
|
{
|
||||||
|
damage+=int32(m_caster->GetShieldBlockValue());
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "7433"
|
#define REVISION_NR "7434"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue