PvP: ignore Spirit of Redemption and pets

This commit is contained in:
郑佩茹
2022-09-26 11:08:20 -06:00
parent 0a62ee0041
commit bd909ca92a
4 changed files with 10 additions and 6 deletions

View File

@@ -17,7 +17,7 @@ class FindTargetForTankStrategy : public FindNonCcTargetStrategy
if (IsCcTarget(creature))
return;
float threat = threatMgr->getThreat(bot);
float threat = threatMgr->GetThreat(bot);
if (!result || (minThreat - threat) > 0.1f)
{
minThreat = threat;