Include distance in foreshadow targetting (#5221)
* Include distance in foreshadow targetting * Divide by larger number
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package mindustry.content;
|
||||
|
||||
import arc.graphics.*;
|
||||
import arc.math.*;
|
||||
import arc.struct.*;
|
||||
import mindustry.*;
|
||||
import mindustry.ctype.*;
|
||||
@@ -1754,7 +1755,7 @@ public class Blocks implements ContentList{
|
||||
size = 4;
|
||||
shootCone = 2f;
|
||||
shootSound = Sounds.railgun;
|
||||
unitSort = (u, x, y) -> -u.maxHealth;
|
||||
unitSort = (u, x, y) -> -u.maxHealth + Mathf.dst2(u.x, u.y, x, y) / 6400f;
|
||||
|
||||
coolantMultiplier = 0.4f;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user