mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-14 01:19:08 +00:00
[Attack target] Skull mark icon index fix
This commit is contained in:
@@ -35,7 +35,7 @@ GuidVector AttackersValue::Calculate()
|
||||
}
|
||||
}
|
||||
if (Group* group = bot->GetGroup()) {
|
||||
ObjectGuid skullGuid = group->GetTargetIcon(4);
|
||||
ObjectGuid skullGuid = group->GetTargetIcon(7);
|
||||
Unit* skullTarget = botAI->GetUnit(skullGuid);
|
||||
if (skullTarget && IsValidTarget(skullTarget, bot)) {
|
||||
targets.insert(skullTarget);
|
||||
|
||||
Reference in New Issue
Block a user