FIX: ICC - default return position for BQL (#1737)

This commit is contained in:
SaW 2025-10-18 22:54:52 +02:00 committed by GitHub
parent 10ce94e065
commit e693b208be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -472,7 +472,6 @@ float IccBqlMultiplier::GetValue(Action* action)
else else
return 0.0f; // Cancel all other actions when we need to handle Swarming Shadows return 0.0f; // Cancel all other actions when we need to handle Swarming Shadows
} }
return 1.0f;
if ((boss->GetExactDist2d(ICC_BQL_TANK_POSITION.GetPositionX(), ICC_BQL_TANK_POSITION.GetPositionY()) > 10.0f) && if ((boss->GetExactDist2d(ICC_BQL_TANK_POSITION.GetPositionX(), ICC_BQL_TANK_POSITION.GetPositionY()) > 10.0f) &&
botAI->IsRanged(bot) && !((boss->GetPositionZ() - bot->GetPositionZ()) > 5.0f)) botAI->IsRanged(bot) && !((boss->GetPositionZ() - bot->GetPositionZ()) > 5.0f))
@ -481,6 +480,7 @@ float IccBqlMultiplier::GetValue(Action* action)
return 0.0f; return 0.0f;
} }
return 1.0f;
} }
//VDW //VDW