mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 17:09:08 +00:00
chore(value): attackers value
This commit is contained in:
@@ -1670,6 +1670,9 @@ bool RandomPlayerbotMgr::HandlePlayerbotConsoleCommand(ChatHandler* handler, cha
|
||||
|
||||
uint32 botId = fields[0].Get<uint32>();
|
||||
ObjectGuid guid = ObjectGuid::Create<HighGuid::Player>(botId);
|
||||
if (!sRandomPlayerbotMgr->IsRandomBot(guid.GetCounter())) {
|
||||
continue;
|
||||
}
|
||||
Player* bot = ObjectAccessor::FindPlayer(guid);
|
||||
if (!bot)
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user