mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-17 18:41: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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Undead do not flee
|
||||||
|
if (GetBodyType() == BT_Undead) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Check if Flee Timer is cleared
|
// Check if Flee Timer is cleared
|
||||||
if (!flee_timer.Check()) {
|
if (!flee_timer.Check()) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user