diff options
| author | QAston <none@none> | 2009-06-15 17:15:19 +0200 |
|---|---|---|
| committer | QAston <none@none> | 2009-06-15 17:15:19 +0200 |
| commit | 425863abd9e59b55bfaf75fa61ebf9bec69acbc1 (patch) | |
| tree | 469e677d3ecafec52adf985b8b5a5be3e57ea627 /src/game/SpellEffects.cpp | |
| parent | f53b049759b052bf3903ea1daa1893a3b68331a8 (diff) | |
*Fix dead loop in proc system.
*Fix curse of doom.
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
| -rw-r--r-- | src/game/SpellEffects.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 5506ec0dab1..f29c883a5f4 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -3364,6 +3364,8 @@ void Spell::EffectSummonType(uint32 i) float radius = GetSpellRadiusForHostile(sSpellRadiusStore.LookupEntry(m_spellInfo->EffectRadiusIndex[i])); int32 amount = damage > 0 ? damage : 1; + if (m_spellInfo->Id == 18662) // Curse of Doom + amount = 1; for(int32 count = 0; count < amount; ++count) { @@ -6655,8 +6657,6 @@ void Spell::SummonGuardian(uint32 entry, SummonPropertiesEntry const *properties switch(m_spellInfo->Id) { case 1122: // Inferno - case 18662: // Curse of Doom - amount = 1; break; } int32 duration = GetSpellDuration(m_spellInfo); |
