diff --git a/client/assets/styles/game.css b/client/assets/styles/game.css index a03f7f9f..cd09e5c1 100644 --- a/client/assets/styles/game.css +++ b/client/assets/styles/game.css @@ -344,11 +344,6 @@ .skill-animation { opacity: 0; - - transition-property: opacity; - transition-duration: 0.5s; - transition-delay: 0; - transition-timing-function: ease; } /* diff --git a/client/src/components/anims/buff.jsx b/client/src/components/anims/buff.jsx index a366252f..9c76d0aa 100644 --- a/client/src/components/anims/buff.jsx +++ b/client/src/components/anims/buff.jsx @@ -31,8 +31,7 @@ class Buff extends Component { targets: ['#buff .buff-one'], points: '0,190 100,10 190,190', easing: 'easeOutExpo', - duration: TIMES.START_SKILL, - complete: anim => anim.reset(), + duration: TIMES.START_SKILL })); this.animations.push(anime({ @@ -40,7 +39,6 @@ class Buff extends Component { points: '40,170 100,50 160,170', easing: 'easeOutExpo', duration: TIMES.START_SKILL, - complete: anim => anim.reset(), })); this.animations.push(anime({ @@ -48,7 +46,6 @@ class Buff extends Component { points: '70,150 100,90 130,150', easing: 'easeOutExpo', duration: TIMES.START_SKILL, - complete: anim => anim.reset(), })); } diff --git a/client/src/components/anims/debuff.jsx b/client/src/components/anims/debuff.jsx index 3538c9f7..f8b46c26 100644 --- a/client/src/components/anims/debuff.jsx +++ b/client/src/components/anims/debuff.jsx @@ -33,7 +33,6 @@ class Debuff extends Component { points: '0,190 100,10 190,190', easing: 'easeOutExpo', duration: TIMES.START_SKILL, - complete: anim => anim.reset(), })); this.animations.push(anime({ @@ -41,7 +40,6 @@ class Debuff extends Component { points: '40,170 100,50 160,170', easing: 'easeOutExpo', duration: TIMES.START_SKILL, - complete: anim => anim.reset(), })); this.animations.push(anime({