Flux speed buff / Server drowning / Delta buff
This commit is contained in:
@@ -302,7 +302,7 @@ public class Player extends Unit implements BuilderTrait, CarryTrait, ShooterTra
|
||||
}
|
||||
|
||||
if(floor.isLiquid){
|
||||
Draw.tint(Color.WHITE, floor.liquidColor, drownTime);
|
||||
Draw.tint(Color.WHITE, floor.liquidColor, Mathf.clamp(drownTime));
|
||||
}else{
|
||||
Draw.tint(Color.WHITE);
|
||||
}
|
||||
@@ -461,6 +461,7 @@ public class Player extends Unit implements BuilderTrait, CarryTrait, ShooterTra
|
||||
interpolate();
|
||||
updateBuilding(this); //building happens even with non-locals
|
||||
status.update(this); //status effect updating also happens with non locals for effect purposes
|
||||
updateVelocityStatus(mech.drag, mech.maxSpeed); //velocity too, for visual purposes
|
||||
|
||||
if(getCarrier() != null){
|
||||
x = getCarrier().getX();
|
||||
|
||||
@@ -259,7 +259,7 @@ public abstract class Unit extends DestructibleEntity implements SaveTrait, Targ
|
||||
|
||||
drownTime = Mathf.clamp(drownTime);
|
||||
|
||||
if(drownTime >= 1f){
|
||||
if(drownTime >= 0.999f){
|
||||
damage(health + 1);
|
||||
}
|
||||
|
||||
|
||||
@@ -87,7 +87,7 @@ public class Lightning extends TimedEntity implements Poolable, DrawTrait, SyncT
|
||||
if(checkShield(team, x2, y2)) break;
|
||||
float fangle = angle;
|
||||
|
||||
angle += Mathf.range(30f);
|
||||
angle += Mathf.range(15f);
|
||||
rect.setSize(attractRange).setCenter(x, y);
|
||||
|
||||
Units.getNearbyEnemies(team, rect, entity -> {
|
||||
|
||||
Reference in New Issue
Block a user