[8525] Implement glyph 45775

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
Shendor 2009-09-22 01:12:26 +04:00 committed by VladimirMangos
parent cfea99ea62
commit 9a7708491f
2 changed files with 10 additions and 2 deletions

View file

@ -6134,8 +6134,16 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
// Earth Shield
if (dummySpell->SpellFamilyFlags & UI64LIT(0x0000040000000000))
{
basepoints0 = triggerAmount;
target = this;
basepoints0 = triggerAmount;
// Glyph of Earth Shield
if (Aura* aur = GetDummyAura(63279))
{
int32 aur_mod = aur->GetModifier()->m_amount;
basepoints0 = int32(basepoints0 * (aur_mod + 100.0f) / 100.0f);
}
triggered_spell_id = 379;
break;
}