Fix dps target

This commit is contained in:
Yunfan Li
2024-01-07 00:46:45 +08:00
parent bc43e922a7
commit bc193f3cc3

View File

@@ -157,7 +157,7 @@ class NonCasterFindTargetSmartStrategy : public FindTargetStrategy
} }
// attack enemy in range and with lowest health // attack enemy in range and with lowest health
int level = GetIntervalLevel(new_unit); int level = GetIntervalLevel(new_unit);
if (level == 0) { if (level == 10) {
return new_time < old_time; return new_time < old_time;
} }
// all targets are far away, choose the closest one // all targets are far away, choose the closest one