Revenant stat changes

This commit is contained in:
Anuken
2018-10-01 12:45:24 -04:00
parent d2ce051c4a
commit 3f93b5c63b
4 changed files with 5 additions and 3 deletions
@@ -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{
}