From 941fd64a240f65751b28a3ae7765f17a01b7ad2a Mon Sep 17 00:00:00 2001 From: maximius Date: Tue, 11 Aug 2009 22:42:07 -0700 Subject: *Minor tweaks to Razorscale script, disabled some malfunctioning movement code. --HG-- branch : trunk --- src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_razorscale.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_razorscale.cpp b/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_razorscale.cpp index c159cfb74f4..c2641680891 100644 --- a/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_razorscale.cpp +++ b/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_razorscale.cpp @@ -227,7 +227,7 @@ struct TRINITY_DLL_DECL boss_razorscaleAI : public ScriptedAI if(MovementTimer < diff) { - if(rand()%100 < 30) + if(rand()%100 <= 30) { DoScriptText(EMOTE_BREATH, m_creature); DoCast(m_creature->getVictim(), SPELL_FLAMEBUFFET); @@ -248,9 +248,10 @@ struct TRINITY_DLL_DECL boss_razorscaleAI : public ScriptedAI void ChangePosition() { + /* Malfunctioning, Razorscale is flying around randomly, attacking players from hundreds of yards away. uint32 random = rand() % 4; if(random<4){ - m_creature->GetMotionMaster()->MovePoint(0, MovementLocations[random][0], MovementLocations[random][1], MovementLocations[random][2]);} + m_creature->GetMotionMaster()->MovePoint(0, MovementLocations[random][0], MovementLocations[random][1], MovementLocations[random][2]);} */ } void SummonAdds(uint32 Phase) -- cgit v1.2.3