mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
Fix dps target
This commit is contained in:
parent
bc43e922a7
commit
bc193f3cc3
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user