aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormegamage <none@none>2009-08-14 21:45:54 -0500
committermegamage <none@none>2009-08-14 21:45:54 -0500
commitb8222df247c312cae1a3adcf7a3249c420cd3e99 (patch)
treeeb269a4151d2c04680fed3faf156b06836f8cfe6
parent026659565df31dc41834d417feb84b20320215e3 (diff)
*Make sure spell 52479 (gift of the harvester) always works.
--HG-- branch : trunk
-rw-r--r--src/game/SpellMgr.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp
index 9db16df7281..19b9a42b014 100644
--- a/src/game/SpellMgr.cpp
+++ b/src/game/SpellMgr.cpp
@@ -3646,8 +3646,13 @@ void SpellMgr::LoadSpellCustomAttr()
case 39365: // Thundering Storm
case 41071: // Raise Dead (HACK)
case 52124: // Sky Darkener Assault
+ spellInfo->MaxAffectedTargets = 1;
+ break;
case 52479: // Gift of the Harvester
spellInfo->MaxAffectedTargets = 1;
+ // a trap always has dst = src?
+ spellInfo->EffectImplicitTargetA[0] = TARGET_DST_CASTER;
+ spellInfo->EffectImplicitTargetA[1] = TARGET_DST_CASTER;
break;
case 41376: // Spite
case 39992: // Needle Spine