*Correct Sapphiron's Blizzard spell DoSummon parameters

*Glyph of Blocking, thanks Sisif

--HG--
branch : trunk
This commit is contained in:
maximius
2009-10-31 16:32:18 -07:00
parent 743578b81f
commit 548ba65cf2
2 changed files with 9 additions and 3 deletions

View File

@@ -255,8 +255,8 @@ struct TRINITY_DLL_DECL boss_sapphironAI : public BossAI
case EVENT_BLIZZARD:
{
//DoCastAOE(SPELL_SUMMON_BLIZZARD);
if(Creature *summon = DoSummon(MOB_BLIZZARD, me, 25000+rand()%5000, TEMPSUMMON_TIMED_DESPAWN))
summon->GetMotionMaster()->MoveRandom(40);
if (Creature *pSummon = DoSummon(MOB_BLIZZARD, me, 0.0f, urand(25000,30000), TEMPSUMMON_TIMED_DESPAWN))
pSummon->GetMotionMaster()->MoveRandom(40);
events.ScheduleEvent(EVENT_BLIZZARD, HEROIC(20000,7000), 0, PHASE_GROUND);
break;
}