Misc tweaks

This commit is contained in:
Anuken
2022-06-23 14:55:08 -04:00
parent 4ba5be8d31
commit 342a7abf9b
4 changed files with 3 additions and 4 deletions

View File

@@ -43,7 +43,7 @@ public class HugAI extends AIController{
}
return false;
})){
if(unit.within(target, (unit.hitSize + (target instanceof Sized s ? s.hitSize() : 1f)) * 0.6f)){
if(unit.within(target, (unit.hitSize + (target instanceof Sized s ? s.hitSize() : 1f)) * 0.5f)){
//circle target
unit.movePref(vec.set(target).sub(unit).rotate(90f).setLength(unit.speed()));
}else{