fix: hue
This commit is contained in:
parent
9d9f94a7cc
commit
889498b243
|
@ -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,
|
||||
),
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue
Block a user