aboutsummaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authorTrazom62 <none@none>2010-04-29 19:04:19 +0200
committerTrazom62 <none@none>2010-04-29 19:04:19 +0200
commit946ded461927ddb352d2f20041b70ecb7f568cf6 (patch)
tree388d4018aa370c5c5a216cd630babf4653f019de /src/game
parent78244e37334fabeab30a01bab2e9b0fc84dc1020 (diff)
Fix FoS/Bronjham script.
Fixes issue #1895. - summon corrupted soul fragment when Corrupt Soul completes. - update corrupted soul fragment script. - remove Heroic spell definition. They are defined in SpellDifficulty.dbc. --HG-- branch : trunk
Diffstat (limited to 'src/game')
-rw-r--r--src/game/Spell.cpp3
-rw-r--r--src/game/SpellAuraEffects.cpp3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index fb871a789e9..f0947a66e5d 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -3164,6 +3164,9 @@ void Spell::_handle_immediate_phase()
// process ground
for (uint32 j = 0; j < 3; ++j)
{
+ if (m_spellInfo->Effect[j] == 0)
+ continue;
+
if (EffectTargetType[m_spellInfo->Effect[j]] == SPELL_REQUIRE_DEST)
{
if (!m_targets.HasDst()) // FIXME: this will ignore dest set in effect
diff --git a/src/game/SpellAuraEffects.cpp b/src/game/SpellAuraEffects.cpp
index 69bda20fd05..63b339444af 100644
--- a/src/game/SpellAuraEffects.cpp
+++ b/src/game/SpellAuraEffects.cpp
@@ -5673,6 +5673,9 @@ void AuraEffect::HandleAuraDummy(AuraApplication const * aurApp, uint8 mode, boo
case 60244: // Blood Parrot Despawn Aura
target->CastSpell((Unit*)NULL, GetAmount(), true, NULL, this);
break;
+ case 68839: // Corrupt Soul
+ target->CastSpell(target, 68846, true, NULL, this, GetCasterGUID());
+ break;
}
break;
case SPELLFAMILY_MAGE: