mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[9570] Implement glyph 55692
Signed-off-by: Lightguard <Lightguard@tauri.hu>
This commit is contained in:
parent
acb0c70c74
commit
873b2cab99
2 changed files with 13 additions and 1 deletions
|
|
@ -9036,6 +9036,18 @@ uint32 Unit::SpellDamageBonus(Unit *pVictim, SpellEntry const *spellProto, uint3
|
|||
}
|
||||
break;
|
||||
}
|
||||
case SPELLFAMILY_PRIEST:
|
||||
{
|
||||
// Glyph of Smite
|
||||
if (spellProto->SpellFamilyFlags & UI64LIT(0x00000080))
|
||||
{
|
||||
// Holy Fire
|
||||
if (pVictim->GetAura(SPELL_AURA_PERIODIC_DAMAGE, SPELLFAMILY_PRIEST, UI64LIT(0x00100000), NULL))
|
||||
if (Aura *aur = GetAura(55692, EFFECT_INDEX_0))
|
||||
DoneTotalMod *= (aur->GetModifier()->m_amount+100.0f) / 100.0f;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case SPELLFAMILY_DEATHKNIGHT:
|
||||
{
|
||||
// Icy Touch, Howling Blast and Frost Strike
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "9569"
|
||||
#define REVISION_NR "9570"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue