[11694] Implement spell 28560

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
Schmoozerd 2011-06-28 16:22:29 +04:00 committed by VladimirMangos
parent 7e625de523
commit 26ccba0a8a
3 changed files with 10 additions and 1 deletions

View file

@ -1555,6 +1555,7 @@ void Spell::SetTargetMap(SpellEffectIndex effIndex, uint32 targetMode, UnitList&
case 802: // Mutate Bug case 802: // Mutate Bug
case 804: // Explode Bug case 804: // Explode Bug
case 23138: // Gate of Shazzrah case 23138: // Gate of Shazzrah
case 28560: // Summon Blizzard
case 31347: // Doom TODO: exclude top threat target from target selection case 31347: // Doom TODO: exclude top threat target from target selection
case 33711: // Murmur's Touch case 33711: // Murmur's Touch
case 38794: // Murmur's Touch (h) case 38794: // Murmur's Touch (h)

View file

@ -6457,6 +6457,14 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)
return; 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 case 29830: // Mirren's Drinking Hat
{ {
uint32 item = 0; uint32 item = 0;

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "11693" #define REVISION_NR "11694"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__