aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authormaximius <none@none>2009-10-06 19:16:28 -0700
committermaximius <none@none>2009-10-06 19:16:28 -0700
commitee3b64aed607e586f6210effe7bda066f256247f (patch)
treeb32c75263542730b660e9ce645da47cef8fb0b20 /src/game/Unit.cpp
parentd80d210d826e411a6e480ed9da9c1f0ea3345825 (diff)
*Some cleanup.. irritating aura system -_-
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp4
1 files changed, 2 insertions, 2 deletions
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;