From e11714e9488a958ff80a82dce7e41aa0b7b787b7 Mon Sep 17 00:00:00 2001 From: keke222 Date: Tue, 23 Jul 2013 00:19:33 +0200 Subject: Scripts/Onyxia's Lair: Fixed movement during flight phase and set proper InhabitType Closes #10335 --- src/server/scripts/Kalimdor/OnyxiasLair/boss_onyxia.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/scripts') diff --git a/src/server/scripts/Kalimdor/OnyxiasLair/boss_onyxia.cpp b/src/server/scripts/Kalimdor/OnyxiasLair/boss_onyxia.cpp index afcbf1f0046..0adc6190d4b 100644 --- a/src/server/scripts/Kalimdor/OnyxiasLair/boss_onyxia.cpp +++ b/src/server/scripts/Kalimdor/OnyxiasLair/boss_onyxia.cpp @@ -413,7 +413,7 @@ public: } break; case EVENT_MOVEMENT: // Phase PHASE_BREATH - if (!IsMoving) + if (!IsMoving && !(me->HasUnitState(UNIT_STATE_CASTING))) { SetNextRandomPoint(); PointData = GetMoveData(); -- cgit v1.2.3