Add klc and klu fx strength check

This commit is contained in:
jackyu66git
2025-05-28 19:45:08 +08:00
parent 0754b5ae59
commit 843534a039
13 changed files with 885 additions and 25 deletions
View File
+18
View File
@@ -0,0 +1,18 @@
2025/05/27 01:57:54 [notice] 1#1: using the "epoll" event method
2025/05/27 01:57:54 [notice] 1#1: nginx/1.27.5
2025/05/27 01:57:54 [notice] 1#1: built by gcc 12.2.0 (Debian 12.2.0-14)
2025/05/27 01:57:54 [notice] 1#1: OS: Linux 6.10.14-linuxkit
2025/05/27 01:57:54 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2025/05/27 01:57:54 [notice] 1#1: start worker processes
2025/05/27 01:57:54 [notice] 1#1: start worker process 20
2025/05/27 01:57:54 [notice] 1#1: start worker process 21
2025/05/27 01:57:54 [notice] 1#1: start worker process 22
2025/05/27 01:57:54 [notice] 1#1: start worker process 23
2025/05/27 01:57:54 [notice] 1#1: start worker process 24
2025/05/27 01:57:54 [notice] 1#1: start worker process 25
2025/05/27 01:57:54 [notice] 1#1: start worker process 26
2025/05/27 01:57:54 [notice] 1#1: start worker process 27
2025/05/27 01:57:54 [notice] 1#1: start worker process 28
2025/05/27 01:57:54 [notice] 1#1: start worker process 29
2025/05/27 01:57:54 [notice] 1#1: start worker process 30
2025/05/27 01:57:54 [notice] 1#1: start worker process 31
+1 -1
View File
@@ -2941,7 +2941,7 @@
is_strong_fx: fx.is_strong_fx
});
const displayText = `${fx.fx_strength_level} ${fx.fx_strength.toFixed(1)}`;
if (fx.fx_strength < 1) {
if (fx.fx_strength < 1.4) {
displayText = ''
}
console.log('显示文本:', displayText);