mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-11 03:31:08 +00:00
Working on botgroup removal
This commit is contained in:
+4
-1
@@ -74,7 +74,10 @@ void Bot::AI_Process_Raid()
|
||||
|
||||
// We also need a leash owner and follow mob (subset of primary AI criteria)
|
||||
Client* leash_owner = nullptr;
|
||||
if (r_group < 12 && !leash_owner) {
|
||||
if (r_group < 12 && raid->IsGroupLeader(this->GetName())) {
|
||||
leash_owner = raid->GetLeader();
|
||||
}
|
||||
else if (r_group < 12) {
|
||||
leash_owner = raid->GetGroupLeader(r_group);
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user