mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Fix dps target
This commit is contained in:
@@ -157,7 +157,7 @@ class NonCasterFindTargetSmartStrategy : public FindTargetStrategy
|
||||
}
|
||||
// attack enemy in range and with lowest health
|
||||
int level = GetIntervalLevel(new_unit);
|
||||
if (level == 0) {
|
||||
if (level == 10) {
|
||||
return new_time < old_time;
|
||||
}
|
||||
// all targets are far away, choose the closest one
|
||||
|
||||
Reference in New Issue
Block a user