mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-26 03:07:33 +00:00
Update bot.cpp
This commit is contained in:
@@ -2086,13 +2086,6 @@ void Bot::AI_Process()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SetFollowID(follow_mob->GetID());
|
|
||||||
|
|
||||||
if (!follow_mob || !IsInGroupOrRaid(follow_mob)) {
|
|
||||||
follow_mob = leash_owner;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
SetFollowID(follow_mob->GetID());
|
SetFollowID(follow_mob->GetID());
|
||||||
|
|
||||||
SetBerserkState();
|
SetBerserkState();
|
||||||
@@ -2340,11 +2333,6 @@ void Bot::AI_Process()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!TargetValidation(tar)) { return; }
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// ENGAGED NOT AT COMBAT RANGE
|
// ENGAGED NOT AT COMBAT RANGE
|
||||||
|
|
||||||
else if (!TryPursueTarget(leash_distance, Goal)) {
|
else if (!TryPursueTarget(leash_distance, Goal)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user