又双叒叕调整数值平衡
This commit is contained in:
parent
59db14461b
commit
c75289daee
4 changed files with 6 additions and 6 deletions
|
@ -130,7 +130,7 @@ public class SmallCannonShellEntity extends ThrowableItemProjectile implements G
|
||||||
explosion.finalizeExplosion(false);
|
explosion.finalizeExplosion(false);
|
||||||
ParticleTool.spawnSmallExplosionParticles(this.level(),
|
ParticleTool.spawnSmallExplosionParticles(this.level(),
|
||||||
new Vec3(entity.getX(),
|
new Vec3(entity.getX(),
|
||||||
entity.getY() + 0.5 * entity.getBbHeight(),
|
entity.getEyeY(),
|
||||||
entity.getZ()));
|
entity.getZ()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -161,10 +161,10 @@ public class Ah6Entity extends ContainerMobileEntity implements GeoEntity, IHeli
|
||||||
}
|
}
|
||||||
|
|
||||||
if (source.is(ModDamageTypes.CUSTOM_EXPLOSION)) {
|
if (source.is(ModDamageTypes.CUSTOM_EXPLOSION)) {
|
||||||
amount *= 1.5f;
|
amount *= 1f;
|
||||||
}
|
}
|
||||||
if (source.is(ModDamageTypes.PROJECTILE_BOOM)) {
|
if (source.is(ModDamageTypes.PROJECTILE_BOOM)) {
|
||||||
amount *= 1.5f;
|
amount *= 1f;
|
||||||
}
|
}
|
||||||
if (source.is(ModDamageTypes.MINE)) {
|
if (source.is(ModDamageTypes.MINE)) {
|
||||||
amount *= 0.5f;
|
amount *= 0.5f;
|
||||||
|
@ -173,7 +173,7 @@ public class Ah6Entity extends ContainerMobileEntity implements GeoEntity, IHeli
|
||||||
amount *= 0.5f;
|
amount *= 0.5f;
|
||||||
}
|
}
|
||||||
if (source.is(ModDamageTypes.CANNON_FIRE)) {
|
if (source.is(ModDamageTypes.CANNON_FIRE)) {
|
||||||
amount *= 0.6f;
|
amount *= 0.4f;
|
||||||
}
|
}
|
||||||
if (source.is(ModTags.DamageTypes.PROJECTILE)) {
|
if (source.is(ModTags.DamageTypes.PROJECTILE)) {
|
||||||
amount *= 0.08f;
|
amount *= 0.08f;
|
||||||
|
|
|
@ -359,7 +359,7 @@ public class Bmp2Entity extends ContainerMobileEntity implements GeoEntity, ICha
|
||||||
VehicleConfig.BMP_2_CANNON_EXPLOSION_RADIUS.get().floatValue());
|
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.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);
|
0.25f);
|
||||||
this.level().addFreshEntity(smallCannonShell);
|
this.level().addFreshEntity(smallCannonShell);
|
||||||
|
|
||||||
|
|
|
@ -375,7 +375,7 @@ public class Lav150Entity extends ContainerMobileEntity implements GeoEntity, IC
|
||||||
VehicleConfig.LAV_150_CANNON_EXPLOSION_RADIUS.get().floatValue());
|
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.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);
|
0.25f);
|
||||||
this.level().addFreshEntity(smallCannonShell);
|
this.level().addFreshEntity(smallCannonShell);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue