mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-10 02:31:03 +00:00
Added bot command 'precombat' to manually set pre-combat mode rather than the 'assumption' process used before; Added rule Bot:AllowOwnerOptionAltCombat to allow admins control over its use
This commit is contained in:
@@ -3203,6 +3203,10 @@ void Mob::SetTarget(Mob *mob)
|
||||
if (this->CastToClient()->admin > 200) {
|
||||
this->DisplayInfo(mob);
|
||||
}
|
||||
|
||||
#ifdef BOTS
|
||||
CastToClient()->SetBotPrecombat(false); // Any change in target will nullify this flag (target == mob checked above)
|
||||
#endif
|
||||
}
|
||||
|
||||
if (IsPet() && GetOwner() && GetOwner()->IsClient()) {
|
||||
|
||||
Reference in New Issue
Block a user