fix curse animation (wouldn't go off if already cast once)

This commit is contained in:
Mashy 2019-10-29 11:36:56 +10:00
parent b30c4463fa
commit 2617183b33

View File

@ -21,9 +21,9 @@ class Curse extends Component {
render() { render() {
return ( return (
<svg <svg
id='curse'
class="skill-animation" class="skill-animation"
version="1.1" version="1.1"
id="curse"
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 198 200"> viewBox="0 0 198 200">
<defs> <defs>
@ -64,7 +64,7 @@ class Curse extends Component {
targets: ['#curse circle'], targets: ['#curse circle'],
r: 0, r: 0,
easing: 'easeInOutSine', easing: 'easeInOutSine',
delay: TIMES.TARGET_DURATION_MS / 2, delay: TIMES.TIMES.TARGET_DELAY_MS,
duration: TIMES.TARGET_DURATION_MS, duration: TIMES.TARGET_DURATION_MS,
direction: 'reverse', direction: 'reverse',
})); }));