Fix fleeing speed to 66% run speed

Port From (https://github.com/TrinityCore/TrinityCore/commit/d095d4afe95125bba64312025528a2c4aab157e0)
This commit is contained in:
hondacrx
2022-01-05 23:51:18 -05:00
parent acfe9946c6
commit 654c9743e3
7 changed files with 17 additions and 26 deletions
-8
View File
@@ -400,16 +400,8 @@ namespace Game.Entities
// reset only at real combat stop
Creature creature = ToCreature();
if (creature != null)
{
creature.SetNoCallAssistance(false);
if (creature.HasSearchedAssistance())
{
creature.SetNoSearchAssistance(false);
UpdateSpeed(UnitMoveType.Run);
}
}
SendMeleeAttackStop(victim);
return true;
}