From 26ccba0a8a0f68d9c84bb30d857204e1a723dc28 Mon Sep 17 00:00:00 2001 From: Schmoozerd Date: Tue, 28 Jun 2011 16:22:29 +0400 Subject: [PATCH] [11694] Implement spell 28560 Signed-off-by: VladimirMangos --- src/game/Spell.cpp | 1 + src/game/SpellEffects.cpp | 8 ++++++++ src/shared/revision_nr.h | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index c93d6b66b..df0049c49 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -1555,6 +1555,7 @@ void Spell::SetTargetMap(SpellEffectIndex effIndex, uint32 targetMode, UnitList& case 802: // Mutate Bug case 804: // Explode Bug case 23138: // Gate of Shazzrah + case 28560: // Summon Blizzard case 31347: // Doom TODO: exclude top threat target from target selection case 33711: // Murmur's Touch case 38794: // Murmur's Touch (h) diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 26e68f51e..20bc56fdb 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -6457,6 +6457,14 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx) return; } + case 28560: // Summon Blizzard + { + if (!unitTarget) + return; + + m_caster->SummonCreature(16474, unitTarget->GetPositionX(), unitTarget->GetPositionY(), unitTarget->GetPositionZ(), 0.0f, TEMPSUMMON_TIMED_DESPAWN, 30000); + return; + } case 29830: // Mirren's Drinking Hat { uint32 item = 0; diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index ca1889cfe..03e79bdf0 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "11693" + #define REVISION_NR "11694" #endif // __REVISION_NR_H__