From ee3b64aed607e586f6210effe7bda066f256247f Mon Sep 17 00:00:00 2001 From: maximius Date: Tue, 6 Oct 2009 19:16:28 -0700 Subject: *Some cleanup.. irritating aura system -_- --HG-- branch : trunk --- src/game/Unit.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 4a87a425c96..23072fae0e9 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -6632,9 +6632,9 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger basepoints0 = triggerAmount; // Glyph of Earth Shield - if (Aura* aur = GetDummyAura(63279)) + if (AuraEffect* aur = GetAuraEffect(63279,0)) { - int32 aur_mod = aur->GetModifier()->m_amount; + int32 aur_mod = aur->GetAmount(); basepoints0 = int32(basepoints0 * (aur_mod + 100.0f) / 100.0f); } triggered_spell_id = 379; -- cgit v1.2.3