aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features
diff options
context:
space:
mode:
authorKimbrian Marshall <cimbraien@gmail.com>2023-10-27 01:13:28 +0700
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-10-27 22:27:54 +0200
commit28918c18394210daa121d929d3bfbb48e22a2536 (patch)
tree4a0b5f03e81aa3bcc9cbccbc502972f34d5c85f6 /src/main/java/at/hannibal2/skyhanni/features
parent2ec3d23e323021eb912d9470562f21d77ddd8914 (diff)
downloadskyhanni-28918c18394210daa121d929d3bfbb48e22a2536.tar.gz
skyhanni-28918c18394210daa121d929d3bfbb48e22a2536.tar.bz2
skyhanni-28918c18394210daa121d929d3bfbb48e22a2536.zip
fix(fire-veil): hide particles from new fire veil animation (#630)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/itemabilities/FireVeilWandParticles.kt5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/itemabilities/FireVeilWandParticles.kt b/src/main/java/at/hannibal2/skyhanni/features/itemabilities/FireVeilWandParticles.kt
index 499004f64..455efcef0 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/itemabilities/FireVeilWandParticles.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/itemabilities/FireVeilWandParticles.kt
@@ -27,8 +27,7 @@ class FireVeilWandParticles {
if (!LorenzUtils.inSkyBlock) return
if (config.display == 0) return
if (System.currentTimeMillis() > lastClick + 5_500) return
-
- if (event.type == EnumParticleTypes.FLAME && event.count == 1 && event.speed == 0f && event.offset.isZero()) {
+ if (event.type == EnumParticleTypes.FLAME && event.speed == 0.55f) {
event.isCanceled = true
}
}
@@ -62,4 +61,4 @@ class FireVeilWandParticles {
event.move(3, "itemAbilities.fireVeilWandDisplayColor", "itemAbilities.fireVeilWands.displayColor")
event.move(3, "itemAbilities.fireVeilWandDisplay", "itemAbilities.fireVeilWands.display")
}
-} \ No newline at end of file
+}