diff options
author | maximius <none@none> | 2009-08-11 22:42:07 -0700 |
---|---|---|
committer | maximius <none@none> | 2009-08-11 22:42:07 -0700 |
commit | 941fd64a240f65751b28a3ae7765f17a01b7ad2a (patch) | |
tree | 06373000a5fb437826222a7828a254f8f6587b74 | |
parent | 1ff5e51ddcd9110596791802ace878aab14b46be (diff) |
*Minor tweaks to Razorscale script, disabled some malfunctioning movement code.
--HG--
branch : trunk
-rw-r--r-- | src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_razorscale.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
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) |