From 0782d3920138b219dabca59f45412328d13b9107 Mon Sep 17 00:00:00 2001 From: balakethelock <111737968+balakethelock@users.noreply.github.com> Date: Thu, 28 Dec 2023 16:27:46 +0100 Subject: [PATCH] Remove hack to Onyxia's combatreach & boundingrad The database values based on classic sniffs are completely fine --- .../dustwallow_marsh/onyxias_lair/boss_onyxia.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/scripts/kalimdor/dustwallow_marsh/onyxias_lair/boss_onyxia.cpp b/src/scripts/kalimdor/dustwallow_marsh/onyxias_lair/boss_onyxia.cpp index 842acd69a01..d77ce38d00e 100644 --- a/src/scripts/kalimdor/dustwallow_marsh/onyxias_lair/boss_onyxia.cpp +++ b/src/scripts/kalimdor/dustwallow_marsh/onyxias_lair/boss_onyxia.cpp @@ -193,8 +193,6 @@ struct boss_onyxiaAI : public ScriptedAI SetCombatMovement(true); m_creature->SetSpeedRate(MOVE_RUN, ONYXIA_NORMAL_SPEED); - m_creature->SetFloatValue(UNIT_FIELD_BOUNDINGRADIUS, 15.0f); - m_creature->SetFloatValue(UNIT_FIELD_COMBATREACH, 16.0f); // Daemon: remise en mode "dort" m_creature->SetStandState(UNIT_STAND_STATE_SLEEP); @@ -605,10 +603,6 @@ struct boss_onyxiaAI : public ScriptedAI m_creature->CastSpell(m_creature, 17131, true); /** Start flying */ m_bTransition = false; m_uiTransTimer = 0; - - // increase Onyxia's hitbox while in the air to make it slightly easier for melee to use specials on her - m_creature->SetFloatValue(UNIT_FIELD_BOUNDINGRADIUS, 21.0f); - m_creature->SetFloatValue(UNIT_FIELD_COMBATREACH, 22.0f); m_pPointData = GetMoveData(); m_creature->GetMotionMaster()->MovePoint(m_pPointData->uiLocId, m_pPointData->fX, m_pPointData->fY, m_pPointData->fZ, MOVE_PATHFINDING | MOVE_FLY_MODE); @@ -631,8 +625,6 @@ struct boss_onyxiaAI : public ScriptedAI m_creature->GetMotionMaster()->MovePoint(LANDING_FLIGHT, -8.86f, -212.752f, -88.542f, MOVE_FLY_MODE); // North m_creature->RemoveAurasDueToSpell(17131); /** Stop flying */ - m_creature->SetFloatValue(UNIT_FIELD_BOUNDINGRADIUS, 15.0f); - m_creature->SetFloatValue(UNIT_FIELD_COMBATREACH, 16.0f); m_uiTransTimer = 60000; // handled by MovementInform } /** Landing in progress */