From 548ba65cf2df2b7c69d1ea24b425235d31e46bdf Mon Sep 17 00:00:00 2001 From: maximius Date: Sat, 31 Oct 2009 16:32:18 -0700 Subject: *Correct Sapphiron's Blizzard spell DoSummon parameters *Glyph of Blocking, thanks Sisif --HG-- branch : trunk --- src/bindings/scripts/scripts/northrend/naxxramas/boss_sapphiron.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/bindings/scripts') diff --git a/src/bindings/scripts/scripts/northrend/naxxramas/boss_sapphiron.cpp b/src/bindings/scripts/scripts/northrend/naxxramas/boss_sapphiron.cpp index 0d240d2a49a..00733c68032 100644 --- a/src/bindings/scripts/scripts/northrend/naxxramas/boss_sapphiron.cpp +++ b/src/bindings/scripts/scripts/northrend/naxxramas/boss_sapphiron.cpp @@ -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; } -- cgit v1.2.3