又双叒叕调整数值平衡

This commit is contained in:
Atsuihsio 2025-01-27 18:28:05 +08:00
parent 59db14461b
commit c75289daee
4 changed files with 6 additions and 6 deletions

View file

@ -130,7 +130,7 @@ public class SmallCannonShellEntity extends ThrowableItemProjectile implements G
explosion.finalizeExplosion(false);
ParticleTool.spawnSmallExplosionParticles(this.level(),
new Vec3(entity.getX(),
entity.getY() + 0.5 * entity.getBbHeight(),
entity.getEyeY(),
entity.getZ()));
}

View file

@ -161,10 +161,10 @@ public class Ah6Entity extends ContainerMobileEntity implements GeoEntity, IHeli
}
if (source.is(ModDamageTypes.CUSTOM_EXPLOSION)) {
amount *= 1.5f;
amount *= 1f;
}
if (source.is(ModDamageTypes.PROJECTILE_BOOM)) {
amount *= 1.5f;
amount *= 1f;
}
if (source.is(ModDamageTypes.MINE)) {
amount *= 0.5f;
@ -173,7 +173,7 @@ public class Ah6Entity extends ContainerMobileEntity implements GeoEntity, IHeli
amount *= 0.5f;
}
if (source.is(ModDamageTypes.CANNON_FIRE)) {
amount *= 0.6f;
amount *= 0.4f;
}
if (source.is(ModTags.DamageTypes.PROJECTILE)) {
amount *= 0.08f;

View file

@ -359,7 +359,7 @@ public class Bmp2Entity extends ContainerMobileEntity implements GeoEntity, ICha
VehicleConfig.BMP_2_CANNON_EXPLOSION_RADIUS.get().floatValue());
smallCannonShell.setPos(worldPosition.x - 1.1 * this.getDeltaMovement().x, worldPosition.y, worldPosition.z - 1.1 * this.getDeltaMovement().z);
smallCannonShell.shoot(getBarrelVector(1).x, getBarrelVector(1).y + 0.005f, getBarrelVector(1).z, 15,
smallCannonShell.shoot(getBarrelVector(1).x, getBarrelVector(1).y + 0.005f, getBarrelVector(1).z, 20,
0.25f);
this.level().addFreshEntity(smallCannonShell);

View file

@ -375,7 +375,7 @@ public class Lav150Entity extends ContainerMobileEntity implements GeoEntity, IC
VehicleConfig.LAV_150_CANNON_EXPLOSION_RADIUS.get().floatValue());
smallCannonShell.setPos(worldPosition.x - 1.1 * this.getDeltaMovement().x, worldPosition.y, worldPosition.z - 1.1 * this.getDeltaMovement().z);
smallCannonShell.shoot(getBarrelVector(1).x, getBarrelVector(1).y + 0.005f, getBarrelVector(1).z, 15,
smallCannonShell.shoot(getBarrelVector(1).x, getBarrelVector(1).y + 0.005f, getBarrelVector(1).z, 20,
0.25f);
this.level().addFreshEntity(smallCannonShell);