Core/SmartAI: Fixed issue where ranged caster would switch to combat ready state between cast.
This commit is contained in:
1 parent
3cee0b7dc7
commit
9d95351118
1 file changed
+1
-1
@@ -618,7 +618,7 @@ void SmartAI::JustSummoned(Creature* creature)
|
||||
|
||||
void SmartAI::AttackStart(Unit* who)
|
||||
{
|
||||
if (who && me->Attack(who, true))
|
||||
if (who && me->Attack(who, me->IsWithinMeleeRange(who)))
|
||||
{
|
||||
SetRun(mRun);
|
||||
if (me->GetMotionMaster()->GetMotionSlotType(MOTION_SLOT_ACTIVE) == POINT_MOTION_TYPE)
|
||||
|
||||
Reference in new issue
Block a user