File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -848,6 +848,9 @@ void BattleBotAI::UpdateAI(uint32 const diff)
848848 if (me->GetStandState () != UNIT_STAND_STATE_STAND)
849849 me->SetStandState (UNIT_STAND_STATE_STAND);
850850
851+ if (me->GetSheath () == SHEATH_STATE_UNARMED && !me->IsMounted ())
852+ me->SetSheath (SHEATH_STATE_MELEE);
853+
851854 UpdateBattleGroundAI ();
852855
853856 if (!me->IsInCombat ())
Original file line number Diff line number Diff line change @@ -794,6 +794,9 @@ void PartyBotAI::UpdateAI(uint32 const diff)
794794 if (me->GetStandState () != UNIT_STAND_STATE_STAND)
795795 me->SetStandState (UNIT_STAND_STATE_STAND);
796796
797+ if (me->GetSheath () == SHEATH_STATE_UNARMED && !me->IsMounted ())
798+ me->SetSheath (SHEATH_STATE_MELEE);
799+
797800 if (!me->IsInCombat () && !me->IsMounted ())
798801 {
799802 UpdateOutOfCombatAI ();
You can’t perform that action at this time.
0 commit comments