koishi-plugin-ggcevo-game 1.5.2 → 1.5.3
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 +15 -7
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -41,7 +41,7 @@ var weaponConfig = {
|
|
|
41
41
|
// 每点护甲减伤1点伤害
|
|
42
42
|
description: "标准配置武器,中距离作战利器",
|
|
43
43
|
specialeffect: "",
|
|
44
|
-
price:
|
|
44
|
+
price: 1,
|
|
45
45
|
redCrystalCost: 1,
|
|
46
46
|
isantiair: true,
|
|
47
47
|
tagEffects: {
|
|
@@ -3934,7 +3934,7 @@ var BattleEffectProcessor = {
|
|
|
3934
3934
|
return null;
|
|
3935
3935
|
}
|
|
3936
3936
|
const geneStacks = targetBoss.skillStacks || 0;
|
|
3937
|
-
const nerfMultiplier = geneStacks * 0.
|
|
3937
|
+
const nerfMultiplier = geneStacks * 0.01;
|
|
3938
3938
|
if (nerfMultiplier === 0) {
|
|
3939
3939
|
return null;
|
|
3940
3940
|
}
|
|
@@ -3980,7 +3980,7 @@ var BattleEffectProcessor = {
|
|
|
3980
3980
|
return null;
|
|
3981
3981
|
}
|
|
3982
3982
|
const geneStacks = targetBoss.skillStacks || 0;
|
|
3983
|
-
const baseChance = 0.
|
|
3983
|
+
const baseChance = 0.01;
|
|
3984
3984
|
const stackBonus = geneStacks * 0.01;
|
|
3985
3985
|
const totalChance = Math.min(baseChance + stackBonus, 0.99);
|
|
3986
3986
|
if (Math.random() < totalChance) {
|
|
@@ -4334,7 +4334,7 @@ function applyPassiveEffects(targetBoss, activeBosses, weaponName, damage, hasCr
|
|
|
4334
4334
|
}
|
|
4335
4335
|
if (targetBoss.skills && targetBoss.skills.includes("组织增生")) {
|
|
4336
4336
|
const geneMutationStacks = targetBoss?.skillStacks || 0;
|
|
4337
|
-
const armorBonus = geneMutationStacks;
|
|
4337
|
+
const armorBonus = geneMutationStacks * 0.1;
|
|
4338
4338
|
armor += armorBonus;
|
|
4339
4339
|
if (armorBonus > 0) {
|
|
4340
4340
|
messages.push(`【组织增生】生效:临时增加${armorBonus}点护甲`);
|
|
@@ -4801,7 +4801,7 @@ var passiveConfig = {
|
|
|
4801
4801
|
derivedSkills: []
|
|
4802
4802
|
},
|
|
4803
4803
|
"增厚甲壳": {
|
|
4804
|
-
description: "每层「基因变异」使受到的伤害降低
|
|
4804
|
+
description: "每层「基因变异」使受到的伤害降低1%",
|
|
4805
4805
|
belong: [],
|
|
4806
4806
|
derivedSkills: []
|
|
4807
4807
|
},
|
|
@@ -4816,12 +4816,12 @@ var passiveConfig = {
|
|
|
4816
4816
|
derivedSkills: []
|
|
4817
4817
|
},
|
|
4818
4818
|
"组织增生": {
|
|
4819
|
-
description: "每层「基因变异」使护甲值临时提高1点",
|
|
4819
|
+
description: "每层「基因变异」使护甲值临时提高0.1点",
|
|
4820
4820
|
belong: [],
|
|
4821
4821
|
derivedSkills: []
|
|
4822
4822
|
},
|
|
4823
4823
|
"模仿生物签名": {
|
|
4824
|
-
description: "受击时
|
|
4824
|
+
description: "受击时1%概率免疫该次伤害,每层「基因变异」提高1%的概率",
|
|
4825
4825
|
belong: [],
|
|
4826
4826
|
derivedSkills: []
|
|
4827
4827
|
}
|
|
@@ -4889,6 +4889,14 @@ var ggcevoUpdates = [
|
|
|
4889
4889
|
- 削弱人类联盟警卫长攻击奖励为+75%
|
|
4890
4890
|
- 新增“技能”指令用于查询各异形的技能列表
|
|
4891
4891
|
`.trim()
|
|
4892
|
+
},
|
|
4893
|
+
{
|
|
4894
|
+
version: "1.5.3",
|
|
4895
|
+
time: "2025-06-28",
|
|
4896
|
+
content: `
|
|
4897
|
+
- 下调了高斯步枪的价格
|
|
4898
|
+
- 削弱了坏兄弟的部分衍生技能
|
|
4899
|
+
`.trim()
|
|
4892
4900
|
}
|
|
4893
4901
|
];
|
|
4894
4902
|
function compareVersions(a, b) {
|