aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
diff options
context:
space:
mode:
authorMachiavelli <none@none>2009-06-15 23:59:27 +0200
committerMachiavelli <none@none>2009-06-15 23:59:27 +0200
commitef28e35c893f78f6c5a5bd069dc815b33d4ba8c6 (patch)
treef4a93967c000a5a84d1668705a7d48011c9a0ef5 /src/game/SpellEffects.cpp
parent6ad7da569c51d6c62b707f6c436efb4275daf1b9 (diff)
parent9edc94f0922eba48148fec85bf02773c80537978 (diff)
*Merge
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r--src/game/SpellEffects.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 24274cf19dd..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)
{
@@ -4938,6 +4940,10 @@ void Spell::EffectScriptEffect(uint32 effIndex)
unitTarget->CastSpell(unitTarget, damage, false);
break;
}
+ case 53110: // Devour Humanoid
+ if(unitTarget)
+ unitTarget->CastSpell(m_caster, damage, true);
+ return;
// Winged Steed of the Ebon Blade
case 54729:
{
@@ -6651,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);