aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-06-03 23:24:57 -0500
committermegamage <none@none>2009-06-03 23:24:57 -0500
commit38fd158c408f803719818e397d46e4c817bb1d14 (patch)
tree85163b8fe34d60796e4c61412e70894c5d6db391 /src/game/SpellEffects.cpp
parent65881812aa3660fb2f7f902060a54f73321ffc92 (diff)
*Fix the bug that some traps without charges and spell radius cannot be triggered.
*Provide spell support for quest 12698 --HG-- branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r--src/game/SpellEffects.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 6847e96f5af..c69069b82a9 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -4892,6 +4892,10 @@ void Spell::EffectScriptEffect(uint32 effIndex)
if(unitTarget)
m_caster->CastSpell(unitTarget, 52125, false);
return;
+ case 52479: // Gift of the Harvester
+ if(unitTarget && m_originalCaster)
+ m_originalCaster->CastSpell(unitTarget, urand(0, 1) ? damage : 52505, true);
+ return;
// Death Gate
case 52751:
{