@markind-gg/come-come 1.0.1 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.js +7 -7
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -11517,7 +11517,7 @@ const Ah = {
|
|
|
11517
11517
|
glowColor: "rgba(57,255,20,0.8)",
|
|
11518
11518
|
size: 0.4,
|
|
11519
11519
|
durationSeconds: 15,
|
|
11520
|
-
skills: [{ type: "speed", plus: 0.
|
|
11520
|
+
skills: [{ type: "speed", plus: 0.7 }, { type: "slowOthers", durationSeconds: 8 }]
|
|
11521
11521
|
}, zh = {
|
|
11522
11522
|
id: "white_pellet",
|
|
11523
11523
|
color: "#FFFFFF",
|
|
@@ -13260,12 +13260,12 @@ function Pv(t) {
|
|
|
13260
13260
|
function t1({ player: t, isLocal: e }) {
|
|
13261
13261
|
const l = N.useRef(t.score), [n, a] = N.useState(!1), [u, i] = N.useState(0);
|
|
13262
13262
|
N.useEffect(() => {
|
|
13263
|
-
let
|
|
13264
|
-
return t.score > l.current && (a(!0), i((
|
|
13265
|
-
|
|
13263
|
+
let s;
|
|
13264
|
+
return t.score > l.current && (a(!0), i((y) => y + 1), s = window.setTimeout(() => a(!1), 550)), l.current = t.score, () => {
|
|
13265
|
+
s !== void 0 && clearTimeout(s);
|
|
13266
13266
|
};
|
|
13267
13267
|
}, [t.score]);
|
|
13268
|
-
const c = {
|
|
13268
|
+
const c = t.activeEffects.some((s) => s.skills.some((y) => y.type === "invincibility")), f = {
|
|
13269
13269
|
display: "inline-block",
|
|
13270
13270
|
fontWeight: 600,
|
|
13271
13271
|
...n ? { animation: "hud-score-pop 0.55s ease-out forwards" } : {}
|
|
@@ -13277,9 +13277,9 @@ function t1({ player: t, isLocal: e }) {
|
|
|
13277
13277
|
...e ? { "data-testid": "my-score" } : {},
|
|
13278
13278
|
children: [
|
|
13279
13279
|
/* @__PURE__ */ v.jsx("span", { children: t.emoji }),
|
|
13280
|
-
/* @__PURE__ */ v.jsx("span", { "data-testid": "score-number", style:
|
|
13280
|
+
/* @__PURE__ */ v.jsx("span", { "data-testid": "score-number", style: f, children: t.score }, u),
|
|
13281
13281
|
/* @__PURE__ */ v.jsx("span", { children: "pts" }),
|
|
13282
|
-
|
|
13282
|
+
/* @__PURE__ */ v.jsx("span", { style: { visibility: c ? "visible" : "hidden" }, children: "⚡" })
|
|
13283
13283
|
]
|
|
13284
13284
|
}
|
|
13285
13285
|
);
|