This commit is contained in:
cha0s 2024-09-29 06:30:55 -05:00
parent 9d9f94a7cc
commit 889498b243

View File

@ -28,7 +28,6 @@ function damageHue(type) {
class Damage {
elapsed = 0;
hue = [0, 30];
offsetX = 0;
offsetY = 0;
step = 0;
@ -111,7 +110,7 @@ class Damage {
easeInOutExpo(
Math.abs((this.elapsed % 0.3) - 0.15) / 0.15,
this.hueStart,
this.hueEnd,
this.hueEnd - this.hueStart,
1,
),
);