koishi-plugin-ggcevo-game 1.6.78 → 1.6.80
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 +9 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -2893,12 +2893,14 @@ var BattleEffectProcessor = {
|
|
|
2893
2893
|
return null;
|
|
2894
2894
|
}
|
|
2895
2895
|
const isFireDamage = weaponName === "焚烧枪";
|
|
2896
|
+
const isDragonBreathShotgun = weaponName === "龙息霰弹枪";
|
|
2896
2897
|
const isColdDamage = weaponName === "零度之下";
|
|
2897
2898
|
if (isFireDamage || isColdDamage) {
|
|
2898
2899
|
isImmune = true;
|
|
2899
2900
|
if (isFireDamage) {
|
|
2900
2901
|
immuneFire = true;
|
|
2901
|
-
}
|
|
2902
|
+
}
|
|
2903
|
+
if (isColdDamage) {
|
|
2902
2904
|
immuneCold = true;
|
|
2903
2905
|
}
|
|
2904
2906
|
messages.push(`🦖 【猎手异形】生效:免疫${isFireDamage ? "火焰" : "寒冷"}伤害`);
|
|
@@ -2913,6 +2915,11 @@ var BattleEffectProcessor = {
|
|
|
2913
2915
|
buffMultiplier = 0.2;
|
|
2914
2916
|
messages.push(`🦖 【猎手异形】生效:无其他存活异形,受到的伤害+20%`);
|
|
2915
2917
|
}
|
|
2918
|
+
if (isDragonBreathShotgun) {
|
|
2919
|
+
immuneFire = true;
|
|
2920
|
+
nerfMultiplier += 0.2;
|
|
2921
|
+
messages.push(`🦖 【猎手异形】生效:免疫龙息霰弹枪造成的20%火焰伤害`);
|
|
2922
|
+
}
|
|
2916
2923
|
return {
|
|
2917
2924
|
buffMultiplier,
|
|
2918
2925
|
nerfMultiplier,
|
|
@@ -12403,6 +12410,7 @@ ${Spacestationtechnology.map((t) => t.techname).join("、")}`;
|
|
|
12403
12410
|
const explorers = await ctx.database.get("ggcevo_explore", {
|
|
12404
12411
|
galaxy: galaxyName,
|
|
12405
12412
|
status: "探索中",
|
|
12413
|
+
plunderbonus: { $gte: 0 },
|
|
12406
12414
|
handle: { $ne: handle }
|
|
12407
12415
|
});
|
|
12408
12416
|
if (explorers.length > 0) {
|