aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormaximius <none@none>2009-11-18 18:43:45 -0800
committermaximius <none@none>2009-11-18 18:43:45 -0800
commitcb8c4d84e6ff76aa5c62142a319882fa735fb92d (patch)
tree846e6f8456a013102b8cdac5d8f102b829500151 /src
parentc4bafdbf69b6ae8dc9224ad8ae29eb265a8144da (diff)
*Apply #325
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/SpellAuras.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index 5c0d84a7960..821209e8235 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -6693,7 +6693,7 @@ void AuraEffect::PeriodicDummyTick()
switch (spell->Id)
{
case 49016: //Hysteria
- uint32 damage = uint32(caster->GetMaxHealth()*0.01f);
+ uint32 damage = uint32(m_target->GetMaxHealth()*0.01f);
m_target->DealDamage(m_target, damage, NULL, DIRECT_DAMAGE, SPELL_SCHOOL_MASK_NORMAL, NULL, false);
break;
}