diff options
author | Trazom62 <none@none> | 2010-04-29 19:04:19 +0200 |
---|---|---|
committer | Trazom62 <none@none> | 2010-04-29 19:04:19 +0200 |
commit | 946ded461927ddb352d2f20041b70ecb7f568cf6 (patch) | |
tree | 388d4018aa370c5c5a216cd630babf4653f019de /src/game/Spell.cpp | |
parent | 78244e37334fabeab30a01bab2e9b0fc84dc1020 (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/Spell.cpp')
-rw-r--r-- | src/game/Spell.cpp | 3 |
1 files changed, 3 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 |