From 188701da96bace7c035d9994c6bcca0514131ab0 Mon Sep 17 00:00:00 2001 From: Mashy Date: Wed, 18 Dec 2019 17:14:28 +1000 Subject: [PATCH] slay siphon --- client/src/components/anims/siphon.tick.jsx | 2 +- client/src/components/anims/slay.jsx | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/client/src/components/anims/siphon.tick.jsx b/client/src/components/anims/siphon.tick.jsx index 6d236a5f..b09b617c 100644 --- a/client/src/components/anims/siphon.tick.jsx +++ b/client/src/components/anims/siphon.tick.jsx @@ -73,7 +73,7 @@ class SiphonTick extends Component { anime({ targets: '#siphon', r: 600, - duration: TIMES.TARGET_DURATION_MS * 2 / 3, + duration: TIMES.TARGET_DURATION_MS, easing: 'easeInSine', }); diff --git a/client/src/components/anims/slay.jsx b/client/src/components/anims/slay.jsx index b3631ffd..079c2058 100644 --- a/client/src/components/anims/slay.jsx +++ b/client/src/components/anims/slay.jsx @@ -90,7 +90,6 @@ class Slay extends Component { translateY: 0, translateX: 0, loop: false, - duration: (TIMES.TARGET_DURATION_MS * 0.5), easing: 'easeInQuad', })); @@ -98,7 +97,7 @@ class Slay extends Component { targets: ['#slayFilter feTurbulence', '#slayFilter feDisplacementMap'], baseFrequency: 10, scale: 100, - delay: TIMES.TARGET_DURATION_MS * 0.4, + delay: TIMES.TARGET_DURATION_MS * 0.6, duration: TIMES.TARGET_DURATION_MS * 0.3, easing: 'easeInQuad', })); @@ -106,7 +105,7 @@ class Slay extends Component { this.animations.push(anime({ targets: '#sword', opacity: 0, - delay: TIMES.TARGET_DURATION_MS * 0.7, + delay: TIMES.TARGET_DURATION_MS * 0.9, })); const projectiles = document.querySelectorAll('#slay circle');