调整部分数据

This commit is contained in:
Atsuihsio 2025-01-28 01:13:29 +08:00
parent a881e1f1f2
commit ba423bf0b4
3 changed files with 17 additions and 18 deletions

View file

@ -152,11 +152,11 @@ public class WgMissileEntity extends ThrowableItemProjectile implements GeoEntit
// 控制速度 // 控制速度
if (this.getDeltaMovement().length() < 2.4) { if (this.getDeltaMovement().length() < 2.1) {
this.setDeltaMovement(this.getDeltaMovement().multiply(1.06, 1.06, 1.06)); this.setDeltaMovement(this.getDeltaMovement().multiply(1.06, 1.06, 1.06));
} }
if (this.getDeltaMovement().length() > 2.8) { if (this.getDeltaMovement().length() > 2.4) {
this.setDeltaMovement(this.getDeltaMovement().multiply(0.9, 0.9, 0.9)); this.setDeltaMovement(this.getDeltaMovement().multiply(0.9, 0.9, 0.9));
} }

View file

@ -144,23 +144,22 @@ public class Bmp2Entity extends ContainerMobileEntity implements GeoEntity, ICha
} }
if (source.is(DamageTypes.ARROW)) { if (source.is(DamageTypes.ARROW)) {
amount *= 0.1f;
}
if (source.is(DamageTypes.TRIDENT)) {
amount *= 0.1f;
}
if (source.is(DamageTypes.MOB_ATTACK)) {
amount *= 0.3f; amount *= 0.3f;
} }
if (source.is(DamageTypes.TRIDENT)) {
amount *= 0.3f;
}
if (source.is(DamageTypes.MOB_ATTACK)) {
amount *= 0.5f;
}
if (source.is(DamageTypes.MOB_ATTACK_NO_AGGRO)) { if (source.is(DamageTypes.MOB_ATTACK_NO_AGGRO)) {
amount *= 0.15f; amount *= 0.4f;
} }
if (source.is(DamageTypes.MOB_PROJECTILE)) { if (source.is(DamageTypes.MOB_PROJECTILE)) {
amount *= 0.15f; amount *= 0.3f;
} }
if (source.is(DamageTypes.PLAYER_ATTACK)) { if (source.is(DamageTypes.PLAYER_ATTACK)) {
amount *= 0.1f; amount *= 0.2f;
} }
if (source.is(DamageTypes.LAVA)) { if (source.is(DamageTypes.LAVA)) {
amount *= 2.5f; amount *= 2.5f;
@ -451,7 +450,7 @@ public class Bmp2Entity extends ContainerMobileEntity implements GeoEntity, ICha
Vector4f worldPosition = transformPosition(transformT, 0, 1, 0); Vector4f worldPosition = transformPosition(transformT, 0, 1, 0);
WgMissileEntity wgMissileEntity = new WgMissileEntity(player, player.level(), WgMissileEntity wgMissileEntity = new WgMissileEntity(player, player.level(),
400, 500,
60, 60,
6); 6);

View file

@ -136,19 +136,19 @@ public class Lav150Entity extends ContainerMobileEntity implements GeoEntity, IC
} }
if (source.is(DamageTypes.ARROW)) { if (source.is(DamageTypes.ARROW)) {
amount *= 0.1f; amount *= 0.3f;
} }
if (source.is(DamageTypes.TRIDENT)) { if (source.is(DamageTypes.TRIDENT)) {
amount *= 0.2f; amount *= 0.3f;
} }
if (source.is(DamageTypes.MOB_ATTACK)) { if (source.is(DamageTypes.MOB_ATTACK)) {
amount *= 0.2f; amount *= 0.5f;
} }
if (source.is(DamageTypes.MOB_ATTACK_NO_AGGRO)) { if (source.is(DamageTypes.MOB_ATTACK_NO_AGGRO)) {
amount *= 0.2f; amount *= 0.4f;
} }
if (source.is(DamageTypes.MOB_PROJECTILE)) { if (source.is(DamageTypes.MOB_PROJECTILE)) {
amount *= 0.2f; amount *= 0.3f;
} }
if (source.is(DamageTypes.PLAYER_ATTACK)) { if (source.is(DamageTypes.PLAYER_ATTACK)) {
amount *= 0.2f; amount *= 0.2f;