mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 10:31:29 +00:00
[Bug Fix] Undead Should Never Flee (#3926)
* [Bug Fix] Undead Should Never Flee Added a hard return on Undead Body Types. They should never flee under any circumstance. * space
This commit is contained in:
parent
f59b4feb94
commit
23de0119ff
@ -49,6 +49,11 @@ void Mob::CheckFlee()
|
||||
return;
|
||||
}
|
||||
|
||||
// Undead do not flee
|
||||
if (GetBodyType() == BT_Undead) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Check if Flee Timer is cleared
|
||||
if (!flee_timer.Check()) {
|
||||
return;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user