From 4f1de3b41ce75b76ba1a033ea0b947d71103ff32 Mon Sep 17 00:00:00 2001 From: Atsuihsio <842960157@qq.com> Date: Sun, 8 Dec 2024 02:07:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=8A=A8=E7=94=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../entity/AnnihilatorEntity.java | 2 +- .../animations/annihilator.animation.json | 18 ++++++++++++------ 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/atsuishio/superbwarfare/entity/AnnihilatorEntity.java b/src/main/java/com/atsuishio/superbwarfare/entity/AnnihilatorEntity.java index 5b184ceef..fc08bea52 100644 --- a/src/main/java/com/atsuishio/superbwarfare/entity/AnnihilatorEntity.java +++ b/src/main/java/com/atsuishio/superbwarfare/entity/AnnihilatorEntity.java @@ -509,7 +509,7 @@ public class AnnihilatorEntity extends Entity implements GeoEntity, ICannonEntit } private PlayState movementPredicate(AnimationState event) { - if (this.entityData.get(COOL_DOWN) > 80) { + if (this.entityData.get(COOL_DOWN) > 85) { return event.setAndContinue(RawAnimation.begin().thenPlay("animation.annihilator.fire")); } return event.setAndContinue(RawAnimation.begin().thenLoop("animation.annihilator.idle")); diff --git a/src/main/resources/assets/superbwarfare/animations/annihilator.animation.json b/src/main/resources/assets/superbwarfare/animations/annihilator.animation.json index 9a40b983d..fa70ff233 100644 --- a/src/main/resources/assets/superbwarfare/animations/annihilator.animation.json +++ b/src/main/resources/assets/superbwarfare/animations/annihilator.animation.json @@ -41,7 +41,8 @@ "0.0": [0, 0, 0], "0.0083": [1, 1, 1], "0.1917": [1, 1, 1], - "0.5": [0, 0, 0] + "0.5": [0, 0, 0], + "0.9917": [0, 0, 0] } }, "light1": { @@ -57,7 +58,8 @@ "0.0": [0, 0, 0], "0.0083": [1, 1, 1], "0.1917": [1, 1, 1], - "0.5": [0, 0, 0] + "0.5": [0, 0, 0], + "0.9917": [0, 0, 0] } }, "light2": { @@ -73,7 +75,8 @@ "0.0": [0, 0, 0], "0.0083": [1, 1, 1], "0.1917": [1, 1, 1], - "0.5": [0, 0, 0] + "0.5": [0, 0, 0], + "0.9917": [0, 0, 0] } }, "light3": { @@ -89,7 +92,8 @@ "0.0": [0, 0, 1], "0.0083": [1, 1, 1], "0.1917": [1, 1, 1], - "0.5": [0, 0, 1] + "0.5": [0, 0, 1], + "0.9917": [0, 0, 1] } }, "laser2": { @@ -97,7 +101,8 @@ "0.0": [0, 0, 1], "0.0083": [1, 1, 1], "0.1917": [1, 1, 1], - "0.5": [0, 0, 1] + "0.5": [0, 0, 1], + "0.9917": [0, 0, 1] } }, "laser3": { @@ -105,7 +110,8 @@ "0.0": [0, 0, 1], "0.0083": [1, 1, 1], "0.1917": [1, 1, 1], - "0.5": [0, 0, 1] + "0.5": [0, 0, 1], + "0.9917": [0, 0, 1] } } }