mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 09:31:30 +00:00
Comment movement code and make target required in all cases again
This commit is contained in:
parent
4ad38d4c49
commit
fa2caf8f83
@ -1319,9 +1319,10 @@ void Mob::AI_Process() {
|
|||||||
FaceTarget();
|
FaceTarget();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (AI_movement_timer->Check() &&
|
// mob/npc waits until call for help complete, others can move
|
||||||
|
else if (AI_movement_timer->Check() && target &&
|
||||||
(IsPet() || IsMerc() || IsBot() ||
|
(IsPet() || IsMerc() || IsBot() ||
|
||||||
(target && CastToNPC()->GetCombatEvent()))) {
|
CastToNPC()->GetCombatEvent())) {
|
||||||
if (!IsRooted()) {
|
if (!IsRooted()) {
|
||||||
LogAI("Pursuing [{}] while engaged", target->GetName());
|
LogAI("Pursuing [{}] while engaged", target->GetName());
|
||||||
RunTo(target->GetX(), target->GetY(), target->GetZ());
|
RunTo(target->GetX(), target->GetY(), target->GetZ());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user