diff --git a/client/src/components/anims/reflect.jsx b/client/src/components/anims/reflect.jsx
index ca6d966b..afb00f2d 100644
--- a/client/src/components/anims/reflect.jsx
+++ b/client/src/components/anims/reflect.jsx
@@ -4,7 +4,7 @@ const anime = require('animejs').default;
const { TIMES, COLOURS } = require('../../constants');
-class Reflect extends Component {
+class Refl extends Component {
constructor() {
super();
this.animations = [];
@@ -72,4 +72,4 @@ class Reflect extends Component {
}
}
-module.exports = Reflect;
+module.exports = Refl;
diff --git a/client/src/components/anims/strike.jsx b/client/src/components/anims/strike.jsx
index 8e3a22ea..188cc043 100644
--- a/client/src/components/anims/strike.jsx
+++ b/client/src/components/anims/strike.jsx
@@ -4,21 +4,18 @@ const anime = require('animejs').default;
const { TIMES } = require('../../constants');
-const duration = TIMES.TARGET_DURATION_MS;
-
-
function laser(dimensions, colour) {
const { x, y, length } = dimensions;
return (
);
}
@@ -27,14 +24,14 @@ class Strike extends Component {
constructor(props) {
super();
this.team = props.team;
- // this.colour = props.colour;
+ this.animations = [];
this.colour = props.colour;
- const coord = [0, 100, 200];
+ const coord = [0, 50, 100, 150, 200];
const points = coord.map(pos => ({
- x: pos + Math.random() * 80,
+ x: pos + Math.random() * 40,
y: 50 + Math.random() * 100,
- length: 150 + Math.random() * 100,
+ length: 150 + Math.random() * 150,
}));
this.charges = points.map(pos => laser(pos, this.colour));
}
@@ -42,9 +39,9 @@ class Strike extends Component {
render() {
return (