koishi-plugin-ggcevo-game 1.6.50 → 1.6.52
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/lib/index.js +5 -6
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -4894,7 +4894,7 @@ var passiveConfig = {
|
|
|
4894
4894
|
derivedSkills: []
|
|
4895
4895
|
},
|
|
4896
4896
|
"电能立场": {
|
|
4897
|
-
description: "能量值≥30%时,55%概率免疫非热能伤害(每层寒冷降低5
|
|
4897
|
+
description: "能量值≥30%时,55%概率免疫非热能伤害(每层寒冷降低5%触发概率,最多降低50%)",
|
|
4898
4898
|
belong: ["亚电主宰者"],
|
|
4899
4899
|
derivedSkills: []
|
|
4900
4900
|
},
|
|
@@ -4904,7 +4904,7 @@ var passiveConfig = {
|
|
|
4904
4904
|
derivedSkills: []
|
|
4905
4905
|
},
|
|
4906
4906
|
"脉冲": {
|
|
4907
|
-
description: "能量值≥30%时,60%概率为所有存活异形回复100点生命(每层寒冷降低5
|
|
4907
|
+
description: "能量值≥30%时,60%概率为所有存活异形回复100点生命(每层寒冷降低5%触发概率,最多降低50%)",
|
|
4908
4908
|
belong: ["亚电主宰者"],
|
|
4909
4909
|
derivedSkills: []
|
|
4910
4910
|
},
|
|
@@ -5563,11 +5563,10 @@ async function updatePityCounter(ctx, handle, isWin) {
|
|
|
5563
5563
|
__name(updatePityCounter, "updatePityCounter");
|
|
5564
5564
|
async function checkSensitiveWord(ctx, content) {
|
|
5565
5565
|
try {
|
|
5566
|
-
const response = await ctx.http(
|
|
5567
|
-
return response.
|
|
5566
|
+
const response = await ctx.http.get(`https://v.api.aa1.cn/api/api-mgc/index.php?msg=${encodeURIComponent(content)}`);
|
|
5567
|
+
return response.num === "1";
|
|
5568
5568
|
} catch (error) {
|
|
5569
|
-
|
|
5570
|
-
return false;
|
|
5569
|
+
return true;
|
|
5571
5570
|
}
|
|
5572
5571
|
}
|
|
5573
5572
|
__name(checkSensitiveWord, "checkSensitiveWord");
|