Revenant stat changes
This commit is contained in:
@@ -200,7 +200,7 @@ public abstract class Unit extends DestructibleEntity implements SaveTrait, Targ
|
||||
return;
|
||||
float dst = distanceTo(t);
|
||||
if(dst > avoidRange) return;
|
||||
velocity.add(moveVector.set(x, y).sub(t.getX(), t.getY()).setLength(1f * (1f - (dst / avoidRange))));
|
||||
velocity.add(moveVector.set(x, y).sub(t.getX(), t.getY()).setLength(1f * (1f - (dst / avoidRange)) / getMass()));
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -306,7 +306,7 @@ public abstract class BaseUnit extends Unit implements ShooterTrait{
|
||||
}
|
||||
|
||||
if(!Net.client()){
|
||||
avoidOthers(8f);
|
||||
avoidOthers(4f + type.hitsize);
|
||||
|
||||
if(spawner != -1 && (world.tile(spawner) == null || world.tile(spawner).entity == null)){
|
||||
damage(health);
|
||||
|
||||
@@ -3,4 +3,5 @@ package io.anuke.mindustry.entities.units.types;
|
||||
import io.anuke.mindustry.entities.units.FlyingUnit;
|
||||
|
||||
public class Revenant extends FlyingUnit{
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user