Misc balance/bugfixing

This commit is contained in:
Anuken
2022-04-29 14:59:57 -04:00
parent 22b4d11b36
commit dcb51ca73f
2 changed files with 17 additions and 15 deletions

View File

@@ -3684,8 +3684,8 @@ public class UnitTypes{
rotate = false; rotate = false;
shootY = 0f; shootY = 0f;
beamWidth = 0.7f; beamWidth = 0.7f;
repairSpeed = 2.2f; repairSpeed = 3.1f;
fractionRepairSpeed = 0.04f; fractionRepairSpeed = 0.06f;
aimDst = 0f; aimDst = 0f;
shootCone = 15f; shootCone = 15f;
mirror = false; mirror = false;
@@ -3750,8 +3750,8 @@ public class UnitTypes{
shootCone = 15f; shootCone = 15f;
mirror = false; mirror = false;
repairSpeed = 2.5f; repairSpeed = 3.3f;
fractionRepairSpeed = 0.04f; fractionRepairSpeed = 0.06f;
targetUnits = false; targetUnits = false;
targetBuildings = true; targetBuildings = true;
@@ -3826,8 +3826,8 @@ public class UnitTypes{
shootCone = 40f; shootCone = 40f;
mirror = true; mirror = true;
repairSpeed = 1.3f; repairSpeed = 3.6f / 2f;
fractionRepairSpeed = 0.02f; fractionRepairSpeed = 0.03f;
targetUnits = false; targetUnits = false;
targetBuildings = true; targetBuildings = true;

View File

@@ -173,16 +173,18 @@ abstract class LegsComp implements Posc, Rotc, Hitboxc, Flyingc, Unitc{
//create effect when transitioning to a group it can't move in //create effect when transitioning to a group it can't move in
if(!move && (moving || !type.legContinuousMove) && i % div == l.group){ if(!move && (moving || !type.legContinuousMove) && i % div == l.group){
if(floor.isLiquid){ if(!headless && !inFogTo(player.team())){
floor.walkEffect.at(l.base.x, l.base.y, type.rippleScale, floor.mapColor); if(floor.isLiquid){
floor.walkSound.at(x, y, 1f, floor.walkSoundVolume); floor.walkEffect.at(l.base.x, l.base.y, type.rippleScale, floor.mapColor);
}else{ floor.walkSound.at(x, y, 1f, floor.walkSoundVolume);
Fx.unitLandSmall.at(l.base.x, l.base.y, type.rippleScale, floor.mapColor); }else{
} Fx.unitLandSmall.at(l.base.x, l.base.y, type.rippleScale, floor.mapColor);
}
//shake when legs contact ground //shake when legs contact ground
if(type.landShake > 0){ if(type.landShake > 0){
Effect.shake(type.landShake, type.landShake, l.base); Effect.shake(type.landShake, type.landShake, l.base);
}
} }
if(type.legSplashDamage > 0){ if(type.legSplashDamage > 0){