diff --git a/src/strategy/values/AttackersValue.cpp b/src/strategy/values/AttackersValue.cpp index fcfd1d9a..41ff417e 100644 --- a/src/strategy/values/AttackersValue.cpp +++ b/src/strategy/values/AttackersValue.cpp @@ -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); diff --git a/src/strategy/values/TargetValue.cpp b/src/strategy/values/TargetValue.cpp index ad709394..7c515a8a 100644 --- a/src/strategy/values/TargetValue.cpp +++ b/src/strategy/values/TargetValue.cpp @@ -104,7 +104,7 @@ bool FindTargetStrategy::IsHighPriority(Unit* attacker) { if (Group* group = botAI->GetBot()->GetGroup()) { - ObjectGuid guid = group->GetTargetIcon(4); + ObjectGuid guid = group->GetTargetIcon(7); if (guid && attacker->GetGUID() == guid) { return true; }